Merge version_2 into main #1
@@ -7,6 +7,7 @@ import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||
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",
|
||||
subsets: ["latin"],
|
||||
|
||||
const libreBaskerville = Libre_Baskerville({
|
||||
variable: "--font-libre-baskerville", subsets: ["latin"],
|
||||
weight: ["400", "700"],
|
||||
});
|
||||
const openSans = Open_Sans({
|
||||
variable: "--font-open-sans",
|
||||
subsets: ["latin"],
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -37,7 +38,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${inter.variable} ${openSans.variable} antialiased`}>
|
||||
<body className={`${libreBaskerville.variable} ${inter.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
|
||||
173
src/app/page.tsx
173
src/app/page.tsx
@@ -15,35 +15,23 @@ export default function LandingPage() {
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="text-stagger"
|
||||
defaultTextAnimation="reveal-blur"
|
||||
borderRadius="rounded"
|
||||
contentWidth="small"
|
||||
borderRadius="pill"
|
||||
contentWidth="mediumSmall"
|
||||
sizing="medium"
|
||||
background="floatingGradient"
|
||||
cardStyle="layered-gradient"
|
||||
primaryButtonStyle="shadow"
|
||||
background="noiseDiagonalGradient"
|
||||
cardStyle="glass-elevated"
|
||||
primaryButtonStyle="diagonal-gradient"
|
||||
secondaryButtonStyle="glass"
|
||||
headingFontWeight="bold"
|
||||
headingFontWeight="semibold"
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleCentered
|
||||
navItems={[
|
||||
{
|
||||
name: "Beranda",
|
||||
id: "hero",
|
||||
},
|
||||
{
|
||||
name: "Tentang",
|
||||
id: "about",
|
||||
},
|
||||
{
|
||||
name: "Menu",
|
||||
id: "menu",
|
||||
},
|
||||
{
|
||||
name: "Lokasi",
|
||||
id: "contact",
|
||||
},
|
||||
{ name: "Beranda", id: "hero" },
|
||||
{ name: "Tentang", id: "about" },
|
||||
{ name: "Menu", id: "menu" },
|
||||
{ name: "Lokasi", id: "contact" },
|
||||
]}
|
||||
brandName="Mr. Ngulek"
|
||||
/>
|
||||
@@ -51,38 +39,21 @@ export default function LandingPage() {
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroSplitKpi
|
||||
background={{
|
||||
variant: "gradient-bars",
|
||||
}}
|
||||
background={{ variant: "radial-gradient" }}
|
||||
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."
|
||||
kpis={[
|
||||
{
|
||||
value: "100+",
|
||||
label: "Pilihan Menu",
|
||||
},
|
||||
{
|
||||
value: "4.8",
|
||||
label: "Rating Google",
|
||||
},
|
||||
{
|
||||
value: "100%",
|
||||
label: "Ramah Anak",
|
||||
},
|
||||
{ value: "100+", label: "Pilihan Menu" },
|
||||
{ value: "4.8", label: "Rating Google" },
|
||||
{ value: "100%", label: "Ramah Anak" },
|
||||
]}
|
||||
enableKpiAnimation={true}
|
||||
buttons={[
|
||||
{
|
||||
text: "Pesan Sekarang",
|
||||
href: "https://wa.me/628xxxx",
|
||||
},
|
||||
{
|
||||
text: "Lihat Lokasi",
|
||||
href: "https://maps.app.goo.gl/xxx",
|
||||
},
|
||||
{ text: "Pesan Sekarang", 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"
|
||||
mediaAnimation="slide-up"
|
||||
mediaAnimation="blur-reveal"
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -91,39 +62,21 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
title="Lebih dari Sekadar Makan"
|
||||
buttons={[
|
||||
{
|
||||
text: "Kunjungi Kami",
|
||||
href: "https://maps.app.goo.gl/xxx",
|
||||
},
|
||||
{ text: "Kunjungi Kami", href: "https://maps.app.goo.gl/xxx" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="menu" data-section="menu">
|
||||
<ProductCardThree
|
||||
animationType="slide-up"
|
||||
animationType="blur-reveal"
|
||||
textboxLayout="default"
|
||||
gridVariant="three-columns-all-equal-width"
|
||||
useInvertedBackground={false}
|
||||
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: "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",
|
||||
},
|
||||
{ id: "p1", name: "Iga Bakar Spesial", 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"
|
||||
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">
|
||||
<TestimonialCardOne
|
||||
animationType="slide-up"
|
||||
animationType="blur-reveal"
|
||||
textboxLayout="default"
|
||||
gridVariant="two-columns-alternating-heights"
|
||||
useInvertedBackground={true}
|
||||
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: "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",
|
||||
},
|
||||
{ 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: "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"
|
||||
description="Kebahagiaan pelanggan adalah prioritas utama kami."
|
||||
@@ -178,21 +103,13 @@ export default function LandingPage() {
|
||||
<div id="contact" data-section="contact">
|
||||
<ContactCTA
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "radial-gradient",
|
||||
}}
|
||||
background={{ variant: "radial-gradient" }}
|
||||
tag="Hubungi Kami"
|
||||
title="Mr. Ngulek Bukittinggi"
|
||||
description="Jl. Jambu Air No. 5, Banuhampu, Agam. Buka setiap hari hingga 22:00 WIB."
|
||||
buttons={[
|
||||
{
|
||||
text: "WhatsApp Sekarang",
|
||||
href: "https://wa.me/628xxxx",
|
||||
},
|
||||
{
|
||||
text: "Google Maps",
|
||||
href: "https://maps.app.goo.gl/xxx",
|
||||
},
|
||||
{ text: "WhatsApp Sekarang", href: "https://wa.me/628xxxx" },
|
||||
{ text: "Google Maps", href: "https://maps.app.goo.gl/xxx" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -200,32 +117,8 @@ export default function LandingPage() {
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBase
|
||||
columns={[
|
||||
{
|
||||
title: "Menu",
|
||||
items: [
|
||||
{
|
||||
label: "Iga Bakar",
|
||||
href: "#menu",
|
||||
},
|
||||
{
|
||||
label: "Ayam Bakar",
|
||||
href: "#menu",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Info",
|
||||
items: [
|
||||
{
|
||||
label: "Lokasi",
|
||||
href: "#contact",
|
||||
},
|
||||
{
|
||||
label: "Jam Buka",
|
||||
href: "#contact",
|
||||
},
|
||||
],
|
||||
},
|
||||
{ title: "Menu", 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"
|
||||
copyrightText="© 2025 Mr. Ngulek Bukittinggi"
|
||||
@@ -234,4 +127,4 @@ export default function LandingPage() {
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,7 @@ html {
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: var(--font-open-sans), sans-serif;
|
||||
font-family: var(--font-inter), sans-serif;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overscroll-behavior: none;
|
||||
@@ -24,5 +24,5 @@ h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-inter), sans-serif;
|
||||
font-family: var(--font-libre-baskerville), serif;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user