Merge version_2 into main #2

Merged
bender merged 3 commits from version_2 into main 2026-03-08 11:30:37 +00:00
3 changed files with 184 additions and 42 deletions

View File

@@ -1,58 +1,39 @@
import type { Metadata } from "next";
import { Halant } from "next/font/google";
import "./styles/variables.css";
import "./styles/base.css";
import { Inter } from "next/font/google";
import { Poppins } 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 poppins = Poppins({
variable: "--font-poppins", subsets: ["latin"],
weight: ["100", "200", "300", "400", "500", "600", "700", "800", "900"],
});
export const metadata: Metadata = {
title: "The Brownie Spot | Best Brownies in Chitlapakkam, Chennai", description: "Indulge in fresh, handcrafted brownies at The Brownie Spot in Chitlapakkam, Chennai. Order rich chocolate brownies through Swiggy & Zomato. 5+ varieties available!", keywords: "brownies Chitlapakkam, best brownies Chennai, fresh baked brownies, chocolate brownies near Chitlapakkam Lake, dessert delivery Swiggy Zomato, homemade brownies", metadataBase: new URL("https://thebrouniespot.local"),
alternates: {
canonical: "https://thebrouniespot.local"},
openGraph: {
title: "The Brownie Spot | Freshly Baked Brownies", description: "Discover the best brownies in Chitlapakkam. Fresh daily, delivered through Swiggy and Zomato.", url: "https://thebrouniespot.local", siteName: "The Brownie Spot", type: "website", images: [
{
url: "http://img.b2bpic.net/free-photo/beautiful-still-life-with-chocolate-concept_23-2147985544.jpg", alt: "Fresh baked brownie"},
],
},
twitter: {
card: "summary_large_image", title: "The Brownie Spot | Best Brownies in Chitlapakkam", description: "Fresh, handcrafted brownies delivered to your door. Order now through Swiggy or Zomato!", images: ["http://img.b2bpic.net/free-photo/beautiful-still-life-with-chocolate-concept_23-2147985544.jpg"],
},
robots: {
index: true,
follow: true,
},
};
title: "The Brownie Spot", description: "Freshly baked brownies in Chitlapakkam. Indulge in rich, homemade chocolate brownies delivered right to your door."};
export default function RootLayout({
children,
}: Readonly<{
}: {
children: React.ReactNode;
}>) {
}) {
return (
<html lang="en" suppressHydrationWarning>
<ServiceWrapper>
<body
className={`${halant.variable} ${inter.variable} ${poppins.variable} antialiased`}
>
<body className={`${inter.variable}`}>
<ServiceWrapper>
<Tag />
{children}
</ServiceWrapper>
<script
dangerouslySetInnerHTML={{
__html: `
if (localStorage.getItem('theme') === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark')
} else {
document.documentElement.classList.remove('dark')
}
`,
}}
/>
<script
dangerouslySetInnerHTML={{
__html: `
@@ -1420,7 +1401,14 @@ export default function RootLayout({
}}
/>
</body>
</ServiceWrapper>
</html>
);
}
function ServiceWrapper({ children }: { children: React.ReactNode }) {
return <>{children}</>;
}
function Tag() {
return null;
}

View File

@@ -35,6 +35,7 @@ export default function LandingPage() {
{ name: "Reviews", id: "testimonials" },
{ name: "FAQ", id: "faq" },
{ name: "Contact", id: "contact" },
{ name: "Terms of Service", id: "/terms-of-service" },
]}
button={{ text: "Order Now", href: "contact" }}
/>
@@ -173,7 +174,7 @@ export default function LandingPage() {
{
id: "5", title: "Where is your shop located?", content: "The Brownie Spot is located in Chitlapakkam, Chennai, near Chitlapakkam Lake. While we primarily serve through Swiggy and Zomato, you're welcome to inquire about direct pickups."},
{
id: "6", title: "Can I customize my brownie order?", content: "We currently offer our signature brownie varieties. For special requests or bulk orders, please check the special instructions option on Swiggy or Zomato, or contact us directly for custom arrangements."}
id: "6", title: "Can I customize my brownie order?", content: "We currently offer our signature brownie varieties. For special requests or bulk orders, please check the special instructions option on Swiggy or Zomato, or contact us directly for custom arrangements."},
]}
imageSrc="http://img.b2bpic.net/free-photo/chocolate-pie-light-napkin_23-2147957892.jpg"
imageAlt="Brownie preparation"
@@ -222,7 +223,7 @@ export default function LandingPage() {
title: "Contact", items: [
{ label: "Location: Chitlapakkam, Chennai", href: "#" },
{ label: "Near Chitlapakkam Lake", href: "#" },
{ label: "Follow Us", href: "#" },
{ label: "Terms of Service", href: "/terms-of-service" },
],
},
]}

View File

@@ -0,0 +1,153 @@
"use client";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import LegalSection from "@/components/legal/LegalSection";
import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
export default function TermsOfServicePage() {
return (
<ThemeProvider
defaultButtonVariant="shift-hover"
defaultTextAnimation="entrance-slide"
borderRadius="soft"
contentWidth="compact"
sizing="largeSizeMediumTitles"
background="circleGradient"
cardStyle="gradient-mesh"
primaryButtonStyle="primary-glow"
secondaryButtonStyle="glass"
headingFontWeight="normal"
>
<div id="nav" data-section="nav">
<NavbarLayoutFloatingOverlay
brandName="The Brownie Spot"
navItems={[
{ name: "Menu", id: "/" },
{ name: "About", id: "/" },
{ name: "Reviews", id: "/" },
{ name: "FAQ", id: "/" },
{ name: "Contact", id: "/" },
{ name: "Terms of Service", id: "/terms-of-service" },
]}
button={{ text: "Order Now", href: "/" }}
/>
</div>
<div id="legal" data-section="legal">
<LegalSection
layout="page"
title="Terms of Service"
subtitle="Last updated: January 2025"
sections={[
{
heading: "1. Agreement to Terms", content: [
{
type: "paragraph", text: "By accessing and using The Brownie Spot website and services, you accept and agree to be bound by the terms and provision of this agreement. If you do not agree to abide by the above, please do not use this service."},
],
},
{
heading: "2. Use License", content: [
{
type: "paragraph", text: "Permission is granted to temporarily download one copy of the materials (information or software) on The Brownie Spot website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:"},
{
type: "list", items: [
"Modifying or copying the materials", "Using the materials for any commercial purpose or for any public display", "Attempting to decompile or reverse engineer any software contained on The Brownie Spot website", "Removing any copyright or other proprietary notations from the materials", "Transferring the materials to another person or 'mirroring' the materials on any other server"],
},
],
},
{
heading: "3. Disclaimer", content: [
{
type: "paragraph", text: "The materials on The Brownie Spot website are provided 'as is'. The Brownie Spot makes no warranties, expressed or implied, and hereby disclaims and negates all other warranties including, without limitation, implied warranties or conditions of merchantability, fitness for a particular purpose, or non-infringement of intellectual property or other violation of rights."},
],
},
{
heading: "4. Limitations", content: [
{
type: "paragraph", text: "In no event shall The Brownie Spot or its suppliers be liable for any damages (including, without limitation, damages for loss of data or profit, or due to business interruption) arising out of the use or inability to use the materials on The Brownie Spot website, even if The Brownie Spot or an authorized representative has been notified orally or in writing of the possibility of such damage."},
],
},
{
heading: "5. Accuracy of Materials", content: [
{
type: "paragraph", text: "The materials appearing on The Brownie Spot website could include technical, typographical, or photographic errors. The Brownie Spot does not warrant that any of the materials on The Brownie Spot website are accurate, complete, or current. The Brownie Spot may make changes to the materials contained on its website at any time without notice."},
],
},
{
heading: "6. Links", content: [
{
type: "paragraph", text: "The Brownie Spot has not reviewed all of the sites linked to its website and is not responsible for the contents of any such linked site. The inclusion of any link does not imply endorsement by The Brownie Spot of the site. Use of any such linked website is at the user's own risk."},
],
},
{
heading: "7. Modifications", content: [
{
type: "paragraph", text: "The Brownie Spot may revise these terms of service for its website at any time without notice. By using this website, you are agreeing to be bound by the then current version of these terms of service."},
],
},
{
heading: "8. Governing Law", content: [
{
type: "paragraph", text: "These terms and conditions are governed by and construed in accordance with the laws of India, and you irrevocably submit to the exclusive jurisdiction of the courts in that location."},
],
},
{
heading: "9. Ordering and Payment", content: [
{
type: "paragraph", text: "All orders placed through Swiggy and Zomato are subject to acceptance and availability. Prices are subject to change without notice. The Brownie Spot reserves the right to refuse or cancel any order."},
],
},
{
heading: "10. Product Quality", content: [
{
type: "paragraph", text: "The Brownie Spot is committed to providing high-quality brownies. All products are freshly baked and made with premium ingredients. We strive to ensure that all deliveries are handled with care to maintain product freshness and quality."},
],
},
{
heading: "11. Allergen Information", content: [
{
type: "paragraph", text: "Our brownies contain common allergens including nuts, dairy, and gluten (depending on the variety). Please carefully review product descriptions and allergen information before ordering. The Brownie Spot is not responsible for allergic reactions or dietary restrictions not communicated at the time of ordering."},
],
},
{
heading: "12. Contact Information", content: [
{
type: "paragraph", text: "If you have any questions about these Terms of Service, please contact The Brownie Spot through the platforms on which you place your order (Swiggy or Zomato) or visit us in Chitlapakkam, Chennai."},
],
},
]}
/>
</div>
<div id="footer" data-section="footer">
<FooterBaseReveal
columns={[
{
title: "The Brownie Spot", items: [
{ label: "About Us", href: "/#about" },
{ label: "Menu", href: "/#menu" },
{ label: "Reviews", href: "/#testimonials" },
],
},
{
title: "Order", items: [
{ label: "Order on Swiggy", href: "https://www.swiggy.com" },
{ label: "Order on Zomato", href: "https://www.zomato.com" },
{ label: "FAQ", href: "/#faq" },
],
},
{
title: "Contact", items: [
{ label: "Location: Chitlapakkam, Chennai", href: "#" },
{ label: "Near Chitlapakkam Lake", href: "#" },
{ label: "Terms of Service", href: "/terms-of-service" },
],
},
]}
copyrightText="© 2025 The Brownie Spot | Best Brownies in Chitlapakkam"
/>
</div>
</ThemeProvider>
);
}