Merge version_2 into main #4

Merged
bender merged 2 commits from version_2 into main 2026-03-04 12:35:12 +00:00
2 changed files with 29 additions and 45 deletions

View File

@@ -1,57 +1,20 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import { Montserrat } from "next/font/google";
import "./globals.css";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
const halant = Halant({
variable: "--font-halant", subsets: ["latin"],
weight: ["300", "400", "500", "600", "700"],
});
const inter = Inter({
variable: "--font-inter", subsets: ["latin"],
});
const montserrat = Montserrat({
variable: "--font-montserrat", subsets: ["latin"],
});
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "Happy Waffles - Best Waffles in Vile Parle, Mumbai | 5.0 Rated", description: "Discover Mumbai's most loved waffles in Vile Parle. Fresh, crispy, and delicious. Open 9 PM. Call now or order on WhatsApp for bulk orders and late-night cravings.", keywords: "best waffles Vile Parle, waffles Mumbai, Kit Kat waffle, late night dessert, waffle delivery, bulk waffle orders, 5 star waffles", metadataBase: new URL("https://happywaffles.com"),
alternates: {
canonical: "https://happywaffles.com"},
openGraph: {
title: "Happy Waffles - Best Waffles in Vile Parle, Mumbai", description: "Crispy outside, soft inside. Premium quality waffles at affordable prices. 5.0 rated by 150+ customers. Open 9 PM onwards.", url: "https://happywaffles.com", siteName: "Happy Waffles", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/vertical-shot-delicious-waffles-with-chocolate-dip-white-table_181624-35642.jpg", alt: "Happy Waffles - Premium waffle experience"},
],
},
twitter: {
card: "summary_large_image", title: "Happy Waffles - Best Waffles in Vile Parle", description: "Fresh, crispy waffles made with love. 5.0 rating. Order now via WhatsApp or call!", images: ["http://img.b2bpic.net/free-photo/vertical-shot-delicious-waffles-with-chocolate-dip-white-table_181624-35642.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "Happy Waffles - Mumbai's Most Loved Waffles", description: "Perfectly crispy waffles with rich chocolate flavor. 5.0 rated in Vile Parle. Open late at night. Order now!"};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
>
<Tag />
{children}
<html lang="en">
<body className={inter.className}>{children}
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1419,7 +1382,6 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}

View File

@@ -11,9 +11,13 @@ import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTwentyOne from '@/components/sections/feature/FeatureCardTwentyOne';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Gift, Heart, Star, Utensils } from "lucide-react";
import { Gift, Heart, Star, Utensils, ShoppingCart } from "lucide-react";
export default function LandingPage() {
const handleOrderClick = () => {
window.open('https://wa.me/919876543210', '_blank');
};
return (
<ThemeProvider
defaultButtonVariant="text-shift"
@@ -75,6 +79,15 @@ export default function LandingPage() {
</div>
<div id="signature-waffles" data-section="signature-waffles">
<div className="flex flex-col items-center justify-center gap-6 mb-8">
<button
onClick={handleOrderClick}
className="px-8 py-3 bg-gradient-to-r from-orange-500 to-red-500 text-white font-semibold rounded-full hover:shadow-lg transition-all duration-300 hover:scale-105 flex items-center gap-2"
>
<ShoppingCart size={20} />
Order Your Favorite
</button>
</div>
<ProductCardFour
title="Our Signature Waffles"
description="Handcrafted waffles made fresh to order. Bulk orders and custom platters available."
@@ -103,6 +116,15 @@ export default function LandingPage() {
]}
buttonAnimation="slide-up"
/>
<div className="flex flex-col items-center justify-center gap-6 mt-8">
<button
onClick={handleOrderClick}
className="px-8 py-3 bg-gradient-to-r from-orange-500 to-red-500 text-white font-semibold rounded-full hover:shadow-lg transition-all duration-300 hover:scale-105 flex items-center gap-2"
>
<ShoppingCart size={20} />
Order Now
</button>
</div>
</div>
<div id="social-proof" data-section="social-proof">