Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| db66fd5dc5 | |||
| 568d76fc31 | |||
| 2bba31b85f |
@@ -1,11 +1,17 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Inter } from "next/font/google";
|
import { Geist, Geist_Mono } from "next/font/google";
|
||||||
import "@/styles/globals.css";
|
import "./globals.css";
|
||||||
|
|
||||||
const inter = Inter({ subsets: ["latin"] });
|
const geist = Geist({
|
||||||
|
variable: "--font-geist-sans", subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
|
const geistMono = Geist_Mono({
|
||||||
|
variable: "--font-geist-mono", subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Al-Baraka Restaurant", description: "Authentic Pakistani cuisine and BBQ in Shahdara"};
|
title: "Al-Baraka", description: "Authentic Pakistani cuisine"};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
@@ -14,7 +20,9 @@ export default function RootLayout({
|
|||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body className={inter.className}>{children}
|
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||||
|
{children}
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
|
|||||||
@@ -12,14 +12,6 @@ import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis"
|
|||||||
import { Star, Flame, Heart, Phone } from "lucide-react";
|
import { Star, Flame, Heart, Phone } from "lucide-react";
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
const handlePhoneCall = () => {
|
|
||||||
window.location.href = "tel:+923246024243";
|
|
||||||
};
|
|
||||||
|
|
||||||
const handleWhatsApp = () => {
|
|
||||||
window.open("https://wa.me/923246024243", "_blank");
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="expand-hover"
|
defaultButtonVariant="expand-hover"
|
||||||
@@ -105,6 +97,7 @@ export default function LandingPage() {
|
|||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
gridVariant="uniform-all-items-equal"
|
gridVariant="uniform-all-items-equal"
|
||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
|
cardPriceClassName="text-lg md:text-xl font-semibold"
|
||||||
products={[
|
products={[
|
||||||
{
|
{
|
||||||
id: "1", name: "Signature Saji", price: "Rs 800-1000", variant: "Tender & Juicy Meat", imageSrc: "http://img.b2bpic.net/free-photo/fried-fish-with-cream-vegetables_140725-2091.jpg?_wi=1", imageAlt: "Signature saji platter"},
|
id: "1", name: "Signature Saji", price: "Rs 800-1000", variant: "Tender & Juicy Meat", imageSrc: "http://img.b2bpic.net/free-photo/fried-fish-with-cream-vegetables_140725-2091.jpg?_wi=1", imageAlt: "Signature saji platter"},
|
||||||
@@ -147,7 +140,6 @@ export default function LandingPage() {
|
|||||||
inputPlaceholder="Enter your phone number"
|
inputPlaceholder="Enter your phone number"
|
||||||
buttonText="Call Us"
|
buttonText="Call Us"
|
||||||
termsText="We respect your privacy. Our team will get back to you shortly with your order."
|
termsText="We respect your privacy. Our team will get back to you shortly with your order."
|
||||||
onSubmit={handlePhoneCall}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user