6 Commits

Author SHA1 Message Date
c48b43ff10 Merge version_2 into main
Merge version_2 into main
2026-03-27 07:34:53 +00:00
5a1a5ae09c Update theme colors 2026-03-27 07:34:48 +00:00
28dda54aa6 Merge version_2 into main
Merge version_2 into main
2026-03-27 07:21:34 +00:00
3af1a60041 Update src/app/styles/base.css 2026-03-27 07:21:31 +00:00
fb94285e71 Update src/app/page.tsx 2026-03-27 07:21:31 +00:00
0da8215eeb Update src/app/layout.tsx 2026-03-27 07:21:31 +00:00
4 changed files with 47 additions and 153 deletions

View File

@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag"; import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script"; import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Open_Sans } from "next/font/google"; import { Open_Sans } from "next/font/google";
import { Libre_Baskerville } from "next/font/google";
@@ -20,13 +21,13 @@ export const metadata: Metadata = {
}, },
}; };
const inter = Inter({
variable: "--font-inter", const libreBaskerville = Libre_Baskerville({
subsets: ["latin"], variable: "--font-libre-baskerville", subsets: ["latin"],
weight: ["400", "700"],
}); });
const openSans = Open_Sans({ const inter = Inter({
variable: "--font-open-sans", variable: "--font-inter", subsets: ["latin"],
subsets: ["latin"],
}); });
export default function RootLayout({ export default function RootLayout({
@@ -37,7 +38,7 @@ export default function RootLayout({
return ( return (
<html lang="en" suppressHydrationWarning> <html lang="en" suppressHydrationWarning>
<ServiceWrapper> <ServiceWrapper>
<body className={`${inter.variable} ${openSans.variable} antialiased`}> <body className={`${libreBaskerville.variable} ${inter.variable} antialiased`}>
<Tag /> <Tag />
{children} {children}
<script <script

View File

@@ -15,35 +15,23 @@ export default function LandingPage() {
<ThemeProvider <ThemeProvider
defaultButtonVariant="text-stagger" defaultButtonVariant="text-stagger"
defaultTextAnimation="reveal-blur" defaultTextAnimation="reveal-blur"
borderRadius="rounded" borderRadius="pill"
contentWidth="small" contentWidth="mediumSmall"
sizing="medium" sizing="medium"
background="floatingGradient" background="noiseDiagonalGradient"
cardStyle="layered-gradient" cardStyle="glass-elevated"
primaryButtonStyle="shadow" primaryButtonStyle="diagonal-gradient"
secondaryButtonStyle="glass" secondaryButtonStyle="glass"
headingFontWeight="bold" headingFontWeight="semibold"
> >
<ReactLenis root> <ReactLenis root>
<div id="nav" data-section="nav"> <div id="nav" data-section="nav">
<NavbarStyleCentered <NavbarStyleCentered
navItems={[ navItems={[
{ { name: "Beranda", id: "hero" },
name: "Beranda", { name: "Tentang", id: "about" },
id: "hero", { name: "Menu", id: "menu" },
}, { name: "Lokasi", id: "contact" },
{
name: "Tentang",
id: "about",
},
{
name: "Menu",
id: "menu",
},
{
name: "Lokasi",
id: "contact",
},
]} ]}
brandName="Mr. Ngulek" brandName="Mr. Ngulek"
/> />
@@ -51,38 +39,21 @@ export default function LandingPage() {
<div id="hero" data-section="hero"> <div id="hero" data-section="hero">
<HeroSplitKpi <HeroSplitKpi
background={{ background={{ variant: "radial-gradient" }}
variant: "gradient-bars",
}}
title="Mr. Ngulek Bukittinggi - Kenikmatan Kuliner Keluarga Anda" title="Mr. Ngulek Bukittinggi - Kenikmatan Kuliner Keluarga Anda"
description="Tempat makan favorit keluarga dengan cita rasa rumahan terbaik di Bukittinggi. Suasana nyaman untuk Anda, si kecil, dan teman-teman." description="Tempat makan favorit keluarga dengan cita rasa rumahan terbaik di Bukittinggi. Suasana nyaman untuk Anda, si kecil, dan teman-teman."
kpis={[ kpis={[
{ { value: "100+", label: "Pilihan Menu" },
value: "100+", { value: "4.8", label: "Rating Google" },
label: "Pilihan Menu", { value: "100%", label: "Ramah Anak" },
},
{
value: "4.8",
label: "Rating Google",
},
{
value: "100%",
label: "Ramah Anak",
},
]} ]}
enableKpiAnimation={true} enableKpiAnimation={true}
buttons={[ buttons={[
{ { text: "Pesan Sekarang", href: "https://wa.me/628xxxx" },
text: "Pesan Sekarang", { text: "Lihat Lokasi", href: "https://maps.app.goo.gl/xxx" },
href: "https://wa.me/628xxxx",
},
{
text: "Lihat Lokasi",
href: "https://maps.app.goo.gl/xxx",
},
]} ]}
imageSrc="http://img.b2bpic.net/free-photo/close-up-hands-holding-food-plate_23-2149212158.jpg" imageSrc="http://img.b2bpic.net/free-photo/close-up-hands-holding-food-plate_23-2149212158.jpg"
mediaAnimation="slide-up" mediaAnimation="blur-reveal"
/> />
</div> </div>
@@ -91,39 +62,21 @@ export default function LandingPage() {
useInvertedBackground={true} useInvertedBackground={true}
title="Lebih dari Sekadar Makan" title="Lebih dari Sekadar Makan"
buttons={[ buttons={[
{ { text: "Kunjungi Kami", href: "https://maps.app.goo.gl/xxx" },
text: "Kunjungi Kami",
href: "https://maps.app.goo.gl/xxx",
},
]} ]}
/> />
</div> </div>
<div id="menu" data-section="menu"> <div id="menu" data-section="menu">
<ProductCardThree <ProductCardThree
animationType="slide-up" animationType="blur-reveal"
textboxLayout="default" textboxLayout="default"
gridVariant="three-columns-all-equal-width" gridVariant="three-columns-all-equal-width"
useInvertedBackground={false} useInvertedBackground={false}
products={[ products={[
{ { id: "p1", name: "Iga Bakar Spesial", price: "Rp 50.000", imageSrc: "http://img.b2bpic.net/free-photo/lamb-barbecue-steak_1203-2643.jpg" },
id: "p1", { id: "p2", name: "Ayam Bakar Madu", price: "Rp 35.000", imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-fried-chicken-with-different-seasonings-dark-desk_140725-79281.jpg" },
name: "Iga Bakar Spesial", { id: "p3", name: "Kids Nugget & Potato", price: "Rp 25.000", imageSrc: "http://img.b2bpic.net/free-photo/side-view-toasts-with-cornflakes-fruits-white-surface-horizontal_176474-798.jpg" },
price: "Rp 50.000",
imageSrc: "http://img.b2bpic.net/free-photo/lamb-barbecue-steak_1203-2643.jpg",
},
{
id: "p2",
name: "Ayam Bakar Madu",
price: "Rp 35.000",
imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-fried-chicken-with-different-seasonings-dark-desk_140725-79281.jpg",
},
{
id: "p3",
name: "Kids Nugget & Potato",
price: "Rp 25.000",
imageSrc: "http://img.b2bpic.net/free-photo/side-view-toasts-with-cornflakes-fruits-white-surface-horizontal_176474-798.jpg",
},
]} ]}
title="Menu Andalan Kami" title="Menu Andalan Kami"
description="Harga terjangkau, rasa bintang lima. Mulai dari Rp 25.000." description="Harga terjangkau, rasa bintang lima. Mulai dari Rp 25.000."
@@ -132,43 +85,15 @@ export default function LandingPage() {
<div id="testimonials" data-section="testimonials"> <div id="testimonials" data-section="testimonials">
<TestimonialCardOne <TestimonialCardOne
animationType="slide-up" animationType="blur-reveal"
textboxLayout="default" textboxLayout="default"
gridVariant="two-columns-alternating-heights" gridVariant="two-columns-alternating-heights"
useInvertedBackground={true} useInvertedBackground={true}
testimonials={[ testimonials={[
{ { id: "1", name: "Budi Santoso", role: "Ayah", company: "Customer", rating: 5, imageSrc: "http://img.b2bpic.net/free-vector/happy-family-travelling-city-by-red-car_1308-54253.jpg" },
id: "1", { id: "2", name: "Siti Aminah", role: "Ibu", company: "Customer", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-women-enjoying-delicious-food_23-2150312342.jpg" },
name: "Budi Santoso", { id: "3", name: "Andi Wijaya", role: "Traveler", company: "Customer", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/pleasant-looking-stylish-bearded-man-speaks-smart-phone_273609-8930.jpg" },
role: "Ayah", { id: "4", name: "Rina Putri", role: "Mahasiswa", company: "Customer", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-cheerful-young-hipster-guy-with-dreads-smiling-optimistic-delighted-standing_1258-109146.jpg" },
company: "Customer",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-vector/happy-family-travelling-city-by-red-car_1308-54253.jpg",
},
{
id: "2",
name: "Siti Aminah",
role: "Ibu",
company: "Customer",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-women-enjoying-delicious-food_23-2150312342.jpg",
},
{
id: "3",
name: "Andi Wijaya",
role: "Traveler",
company: "Customer",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/pleasant-looking-stylish-bearded-man-speaks-smart-phone_273609-8930.jpg",
},
{
id: "4",
name: "Rina Putri",
role: "Mahasiswa",
company: "Customer",
rating: 5,
imageSrc: "http://img.b2bpic.net/free-photo/closeup-portrait-cheerful-young-hipster-guy-with-dreads-smiling-optimistic-delighted-standing_1258-109146.jpg",
},
]} ]}
title="Kata Mereka tentang Mr. Ngulek" title="Kata Mereka tentang Mr. Ngulek"
description="Kebahagiaan pelanggan adalah prioritas utama kami." description="Kebahagiaan pelanggan adalah prioritas utama kami."
@@ -178,21 +103,13 @@ export default function LandingPage() {
<div id="contact" data-section="contact"> <div id="contact" data-section="contact">
<ContactCTA <ContactCTA
useInvertedBackground={false} useInvertedBackground={false}
background={{ background={{ variant: "radial-gradient" }}
variant: "radial-gradient",
}}
tag="Hubungi Kami" tag="Hubungi Kami"
title="Mr. Ngulek Bukittinggi" title="Mr. Ngulek Bukittinggi"
description="Jl. Jambu Air No. 5, Banuhampu, Agam. Buka setiap hari hingga 22:00 WIB." description="Jl. Jambu Air No. 5, Banuhampu, Agam. Buka setiap hari hingga 22:00 WIB."
buttons={[ buttons={[
{ { text: "WhatsApp Sekarang", href: "https://wa.me/628xxxx" },
text: "WhatsApp Sekarang", { text: "Google Maps", href: "https://maps.app.goo.gl/xxx" },
href: "https://wa.me/628xxxx",
},
{
text: "Google Maps",
href: "https://maps.app.goo.gl/xxx",
},
]} ]}
/> />
</div> </div>
@@ -200,32 +117,8 @@ export default function LandingPage() {
<div id="footer" data-section="footer"> <div id="footer" data-section="footer">
<FooterBase <FooterBase
columns={[ columns={[
{ { title: "Menu", items: [{ label: "Iga Bakar", href: "#menu" }, { label: "Ayam Bakar", href: "#menu" }] },
title: "Menu", { title: "Info", items: [{ label: "Lokasi", href: "#contact" }, { label: "Jam Buka", href: "#contact" }] },
items: [
{
label: "Iga Bakar",
href: "#menu",
},
{
label: "Ayam Bakar",
href: "#menu",
},
],
},
{
title: "Info",
items: [
{
label: "Lokasi",
href: "#contact",
},
{
label: "Jam Buka",
href: "#contact",
},
],
},
]} ]}
logoText="Mr. Ngulek" logoText="Mr. Ngulek"
copyrightText="© 2025 Mr. Ngulek Bukittinggi" copyrightText="© 2025 Mr. Ngulek Bukittinggi"
@@ -234,4 +127,4 @@ export default function LandingPage() {
</ReactLenis> </ReactLenis>
</ThemeProvider> </ThemeProvider>
); );
} }

View File

@@ -11,7 +11,7 @@ html {
body { body {
background-color: var(--background); background-color: var(--background);
color: var(--foreground); color: var(--foreground);
font-family: var(--font-open-sans), sans-serif; font-family: var(--font-inter), sans-serif;
position: relative; position: relative;
min-height: 100vh; min-height: 100vh;
overscroll-behavior: none; overscroll-behavior: none;
@@ -24,5 +24,5 @@ h3,
h4, h4,
h5, h5,
h6 { h6 {
font-family: var(--font-inter), sans-serif; font-family: var(--font-libre-baskerville), serif;
} }

View File

@@ -12,13 +12,13 @@
--background: #ffffff; --background: #ffffff;
--card: #f9f9f9; --card: #f9f9f9;
--foreground: #120a00e6; --foreground: #000612e6;
--primary-cta: #E34400; --primary-cta: #15479c;
--primary-cta-text: #ffffff; --primary-cta-text: #ffffff;
--secondary-cta: #f9f9f9; --secondary-cta: #f9f9f9;
--secondary-cta-text: #120a00e6; --secondary-cta-text: #000612e6;
--accent: #e2e2e2; --accent: #e2e2e2;
--background-accent: #E34400; --background-accent: #c4c4c4;
/* text sizing - set by ThemeProvider */ /* text sizing - set by ThemeProvider */
/* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem); /* --text-2xs: clamp(0.465rem, 0.62vw, 0.62rem);