242 lines
15 KiB
PHP
242 lines
15 KiB
PHP
@php
|
|
$article = (object) [
|
|
'title' => 'Meluncurkan "Oud Royal": Mahakarya Aroma Eksotis dari Timur Tengah',
|
|
'slug' => 'meluncurkan-oud-royal',
|
|
'category' => 'Event & Peluncuran',
|
|
'author' => 'Tim Editorial',
|
|
'date' => '12 Desember 2025',
|
|
'read_time' => '5 menit baca',
|
|
'image' => 'https://cdn.mos.cms.futurecdn.net/VzUqgr8pfbNcfXrpzeVBPE-1920-80.jpg',
|
|
'content_intro' =>
|
|
'Setelah penantian panjang dan riset mendalam selama dua tahun di jantung Kalimantan dan Dubai, kami dengan bangga mempersembahkan koleksi terbaru kami: Oud Royal. Ini bukan sekadar parfum, melainkan sebuah perjalanan aroma yang melintasi batas budaya.',
|
|
'tags' => ['Luxury', 'Oud', 'New Arrival', 'Event'],
|
|
];
|
|
|
|
$relatedArticles = [
|
|
[
|
|
'title' => 'Cara Membedakan Parfum Original dan Palsu',
|
|
'date' => '10 Des 2025',
|
|
'image' => 'https://placehold.co/400x300/png?text=Tips+Parfum',
|
|
],
|
|
[
|
|
'title' => 'Tren Wewangian Musk di Tahun 2026',
|
|
'date' => '08 Des 2025',
|
|
'image' => 'https://placehold.co/400x300/png?text=Tren+Musk',
|
|
],
|
|
[
|
|
'title' => 'Kenapa Parfum Tidak Tahan Lama di Kulit Kering?',
|
|
'date' => '05 Des 2025',
|
|
'image' => 'https://placehold.co/400x300/png?text=Kulit+Kering',
|
|
],
|
|
];
|
|
@endphp
|
|
|
|
<div class="flex flex-col min-h-screen bg-home-background font-sans">
|
|
|
|
<div class="fixed top-0 left-0 h-1 bg-home-primary z-50 transition-all duration-100" id="progressBar"
|
|
style="width: 0%"></div>
|
|
|
|
<main class="flex-grow pb-24 pt-36">
|
|
|
|
<header class="px-6 lg:px-32 xl:px-48 mb-12 text-center max-w-6xl mx-auto">
|
|
<div class="flex items-center justify-center gap-3 mb-6 text-sm font-bold tracking-widest uppercase">
|
|
<span class="text-home-primary bg-home-primary/10 px-3 py-1 rounded-full">{{ $article->category }}</span>
|
|
<span class="text-home-foreground/40">•</span>
|
|
<span class="text-home-foreground/60">{{ $article->date }}</span>
|
|
</div>
|
|
<h1 class="text-3xl md:text-5xl font-bold text-home-foreground mb-6 leading-tight">
|
|
{{ $article->title }}
|
|
</h1>
|
|
<div class="flex items-center justify-center gap-4 text-sm text-home-foreground/60">
|
|
<div class="flex items-center gap-2">
|
|
<div class="w-8 h-8 rounded-full bg-home-foreground/10 overflow-hidden">
|
|
<img src="https://placehold.co/100x100/png?text=A" alt="Author"
|
|
class="w-full h-full object-cover">
|
|
</div>
|
|
<span>Oleh <strong class="text-home-foreground">{{ $article->author }}</strong></span>
|
|
</div>
|
|
<span>•</span>
|
|
<span>{{ $article->read_time }}</span>
|
|
</div>
|
|
</header>
|
|
|
|
<div class="px-6 lg:px-32 xl:px-48 mb-16">
|
|
<div class="aspect-video w-full rounded-xl overflow-hidden shadow-2xl">
|
|
<img src="{{ $article->image }}" alt="{{ $article->title }}" class="w-full h-full object-cover">
|
|
</div>
|
|
</div>
|
|
|
|
<div class="px-6 lg:px-32 xl:px-48 grid grid-cols-1 lg:grid-cols-12 gap-12">
|
|
|
|
<article class="lg:col-span-8">
|
|
<div class="flex items-center gap-4 mb-8 pb-8 border-b border-home-foreground/10 lg:hidden">
|
|
<span class="text-sm font-bold text-home-foreground">Bagikan:</span>
|
|
<button
|
|
class="w-10 h-10 rounded-full border border-home-foreground/10 flex items-center justify-center text-home-foreground hover:bg-home-primary hover:text-white transition-colors"><svg
|
|
class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
|
|
<path
|
|
d="M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.179 0-5.515 2.966-4.797 6.045-4.091-.205-7.719-2.165-10.148-5.144-1.29 2.213-.669 5.108 1.523 6.574-.806-.026-1.566-.247-2.229-.616-.054 2.281 1.581 4.415 3.949 4.89-.693.188-1.452.232-2.224.084.626 1.956 2.444 3.379 4.6 3.419-2.07 1.623-4.678 2.348-7.29 2.04 2.179 1.397 4.768 2.212 7.548 2.212 9.142 0 14.307-7.721 13.995-14.646.962-.695 1.797-1.562 2.457-2.549z" />
|
|
</svg></button>
|
|
<button
|
|
class="w-10 h-10 rounded-full border border-home-foreground/10 flex items-center justify-center text-home-foreground hover:bg-home-primary hover:text-white transition-colors"><svg
|
|
class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
|
|
<path
|
|
d="M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z" />
|
|
</svg></button>
|
|
<button
|
|
class="w-10 h-10 rounded-full border border-home-foreground/10 flex items-center justify-center text-home-foreground hover:bg-home-primary hover:text-white transition-colors"><svg
|
|
class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
d="M8.684 13.342C8.886 12.938 9 12.482 9 12c0-.482-.114-.938-.316-1.342m0 2.684a3 3 0 110-2.684m0 2.684l6.632 3.316m-6.632-6l6.632-3.316m0 0a3 3 0 105.367-2.684 3 3 0 00-5.367 2.684zm0 9.316a3 3 0 105.368 2.684 3 3 0 00-5.368-2.684z">
|
|
</path>
|
|
</svg></button>
|
|
</div>
|
|
|
|
<div class="prose prose-lg max-w-none text-home-foreground/80 leading-relaxed">
|
|
<p
|
|
class="first-letter:text-6xl first-letter:font-bold first-letter:text-home-primary first-letter:float-left first-letter:mr-3 first-letter:mt-[-10px] mb-8 text-xl text-home-foreground font-medium">
|
|
{{ $article->content_intro }}
|
|
</p>
|
|
|
|
<p class="mb-6">
|
|
Dalam dunia wewangian, Oud (Gaharu) sering disebut sebagai "emas cair". Harganya yang fantastis
|
|
dan aromanya yang kompleks menjadikannya bahan primadona di kalangan kolektor parfum luxury.
|
|
Yadi Parfum mengambil langkah berani dengan menghadirkan interpretasi Oud yang lebih modern,
|
|
namun tetap menghormati tradisi Timur Tengah.
|
|
</p>
|
|
|
|
<h3 class="text-2xl font-bold text-home-foreground mt-10 mb-4">Filosofi di Balik Botol</h3>
|
|
<p class="mb-6">
|
|
"Kami ingin menciptakan sesuatu yang abadi," ujar Yadi, Founder dari Yadi Parfum. "Botol Oud
|
|
Royal didesain dengan kaca kristal berat dan tutup magnetik berlapis emas, merefleksikan
|
|
kualitas cairan di dalamnya."
|
|
</p>
|
|
|
|
<blockquote
|
|
class="border-l-4 border-home-primary pl-6 py-2 my-10 italic text-xl text-home-foreground font-serif bg-home-primary/5 rounded-r-lg">
|
|
"Parfum adalah seni yang tidak terlihat, puisi yang dihirup, dan kenangan yang tak terhapuskan."
|
|
</blockquote>
|
|
|
|
<p class="mb-6">
|
|
Peluncuran yang diadakan di Grand Ballroom Ritz Carlton Jakarta dihadiri oleh lebih dari 200
|
|
tamu undangan, termasuk selebriti, influencer kecantikan, dan kolektor parfum ternama. Acara ini
|
|
dimeriahkan dengan instalasi seni aroma interaktif.
|
|
</p>
|
|
|
|
<div class="my-10 rounded-2xl overflow-hidden shadow-lg">
|
|
<img src="https://placehold.co/800x400/png?text=Suasana+Event+Peluncuran" alt="Event"
|
|
class="w-full">
|
|
<p class="text-sm text-center text-home-foreground/50 py-3 italic bg-gray-50">Suasana peluncuran
|
|
Oud Royal di Jakarta.</p>
|
|
</div>
|
|
|
|
<h3 class="text-2xl font-bold text-home-foreground mt-10 mb-4">Ketersediaan</h3>
|
|
<p class="mb-6">
|
|
Oud Royal kini tersedia secara eksklusif di website resmi Yadi Parfum dan butik flagship kami di
|
|
Central Park Mall. Mengingat kelangkaan bahan bakunya, produksi batch pertama sangat terbatas.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="mt-12 pt-8 border-t border-home-foreground/10">
|
|
<div class="flex flex-wrap gap-2">
|
|
@foreach ($article->tags as $tag)
|
|
<a href="#"
|
|
class="px-4 py-2 bg-home-foreground/5 text-home-foreground/70 rounded-lg text-sm font-bold hover:bg-home-primary hover:text-white transition-all">#{{ $tag }}</a>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
|
|
<div class="grid grid-cols-2 gap-6 mt-12">
|
|
<a href="#"
|
|
class="group block p-6 border border-home-foreground/10 rounded-2xl hover:border-home-primary/30 transition-all">
|
|
<span
|
|
class="text-xs text-home-foreground/40 font-bold uppercase mb-1 block group-hover:text-home-primary">Sebelumnya</span>
|
|
<h4
|
|
class="font-bold text-home-foreground line-clamp-2 group-hover:text-home-primary transition-colors">
|
|
Review Jujur: Koleksi Floral Series 2024</h4>
|
|
</a>
|
|
<a href="#"
|
|
class="group block p-6 border border-home-foreground/10 rounded-2xl text-right hover:border-home-primary/30 transition-all">
|
|
<span
|
|
class="text-xs text-home-foreground/40 font-bold uppercase mb-1 block group-hover:text-home-primary">Selanjutnya</span>
|
|
<h4
|
|
class="font-bold text-home-foreground line-clamp-2 group-hover:text-home-primary transition-colors">
|
|
Tips Menyimpan Parfum Agar Awet Bertahun-tahun</h4>
|
|
</a>
|
|
</div>
|
|
</article>
|
|
|
|
<aside class="lg:col-span-4 pl-0 lg:pl-8 border-l-0 lg:border-l border-home-foreground/5">
|
|
<div class="sticky top-32 space-y-10">
|
|
|
|
<div>
|
|
<h3 class="text-lg font-bold text-home-primary mb-6 flex items-center gap-2">
|
|
<span class="w-1 h-6 bg-home-primary rounded-full"></span>
|
|
Populer Minggu Ini
|
|
</h3>
|
|
<div class="space-y-6">
|
|
@foreach ($relatedArticles as $index => $item)
|
|
<a href="#" class="flex gap-4 group">
|
|
<div class="w-20 h-20 flex-shrink-0 rounded-xl overflow-hidden">
|
|
<img src="{{ $item['image'] }}"
|
|
class="w-full h-full object-cover group-hover:scale-110 transition-transform duration-500">
|
|
</div>
|
|
<div>
|
|
<span
|
|
class="text-xs text-home-foreground/40 font-bold">{{ sprintf('%02d', $index + 1) }}</span>
|
|
<h4
|
|
class="font-bold text-home-foreground text-sm leading-snug group-hover:text-home-primary transition-colors mt-1">
|
|
{{ $item['title'] }}</h4>
|
|
<span
|
|
class="text-xs text-home-foreground/50 mt-2 block">{{ $item['date'] }}</span>
|
|
</div>
|
|
</a>
|
|
@endforeach
|
|
</div>
|
|
</div>
|
|
|
|
<section
|
|
class="bg-home-primary rounded-2xl p-8 text-center relative overflow-hidden group shadow-lg shadow-home-primary/20">
|
|
<div
|
|
class="absolute top-0 right-0 w-32 h-32 bg-home-secondary/20 rounded-full blur-2xl -mr-10 -mt-10">
|
|
</div>
|
|
|
|
<div class="relative z-10">
|
|
<div
|
|
class="w-12 h-12 bg-white/10 rounded-full flex items-center justify-center mx-auto mb-4 text-white">
|
|
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
|
d="M3 8l7.89 5.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z">
|
|
</path>
|
|
</svg>
|
|
</div>
|
|
<h3 class="text-xl font-bold text-white mb-2">Newsletter</h3>
|
|
<p class="text-sm text-white/80 mb-6 leading-relaxed">Dapatkan tips eksklusif dan artikel
|
|
terbaru langsung ke email Anda.</p>
|
|
|
|
<form onsubmit="event.preventDefault();" class="space-y-3">
|
|
<input type="email" placeholder="Email Anda..." required aria-label="Alamat Email"
|
|
class="w-full py-3 px-4 rounded-xl border border-white/20 bg-white/10 text-white placeholder-white/50 text-sm focus:outline-none focus:bg-white/20 focus:border-home-secondary transition-all">
|
|
<button type="submit"
|
|
class="w-full bg-home-secondary text-home-primary font-bold py-3 rounded-xl hover:bg-white transition-all duration-300 text-sm shadow-lg">Subscribe</button>
|
|
</form>
|
|
</div>
|
|
</section>
|
|
|
|
</div>
|
|
</aside>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
</div>
|
|
|
|
<script>
|
|
window.onscroll = function() {
|
|
let winScroll = document.body.scrollTop || document.documentElement.scrollTop;
|
|
let height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
|
|
let scrolled = (winScroll / height) * 100;
|
|
document.getElementById("progressBar").style.width = scrolled + "%";
|
|
};
|
|
</script>
|