Merge version_3 into main #5

Merged
bender merged 2 commits from version_3 into main 2026-03-10 09:47:17 +00:00
2 changed files with 14 additions and 14 deletions

View File

@@ -1,11 +1,17 @@
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "@/styles/globals.css";
import { Geist, Geist_Mono } from "next/font/google";
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 = {
title: "Al-Baraka Restaurant", description: "Authentic Pakistani cuisine and BBQ in Shahdara"};
title: "Al-Baraka", description: "Authentic Pakistani cuisine"};
export default function RootLayout({
children,
@@ -14,7 +20,9 @@ export default function RootLayout({
}) {
return (
<html lang="en">
<body className={inter.className}>{children}
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
{children}
<script
dangerouslySetInnerHTML={{
__html: `

View File

@@ -12,14 +12,6 @@ import FooterLogoEmphasis from "@/components/sections/footer/FooterLogoEmphasis"
import { Star, Flame, Heart, Phone } from "lucide-react";
export default function LandingPage() {
const handlePhoneCall = () => {
window.location.href = "tel:+923246024243";
};
const handleWhatsApp = () => {
window.open("https://wa.me/923246024243", "_blank");
};
return (
<ThemeProvider
defaultButtonVariant="expand-hover"
@@ -105,6 +97,7 @@ export default function LandingPage() {
useInvertedBackground={false}
gridVariant="uniform-all-items-equal"
animationType="slide-up"
cardPriceClassName="text-lg md:text-xl font-semibold"
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"},
@@ -147,7 +140,6 @@ export default function LandingPage() {
inputPlaceholder="Enter your phone number"
buttonText="Call Us"
termsText="We respect your privacy. Our team will get back to you shortly with your order."
onSubmit={handlePhoneCall}
/>
</div>