13 Commits

Author SHA1 Message Date
291de0c02c Update src/app/shop/page.tsx 2026-02-14 10:57:04 +00:00
15b2fb4b3d Update src/app/shop/[id]/page.tsx 2026-02-14 10:57:03 +00:00
3e5a022610 Add src/app/services/page.tsx 2026-02-14 10:57:02 +00:00
c7f97f2d6e Update src/app/products/page.tsx 2026-02-14 10:57:01 +00:00
113a9ea768 Update src/app/page.tsx 2026-02-14 10:57:01 +00:00
66039546d3 Update src/app/blog/page.tsx 2026-02-14 10:57:00 +00:00
2337bef4ac Merge version_2 into main
Merge version_2 into main
2026-02-14 10:47:45 +00:00
afe9829960 Update src/app/shop/page.tsx 2026-02-14 10:47:41 +00:00
146719aa5b Update src/app/shop/[id]/page.tsx 2026-02-14 10:47:40 +00:00
8d75242263 Add src/app/products/page.tsx 2026-02-14 10:47:39 +00:00
014b603dfb Update src/app/page.tsx 2026-02-14 10:47:38 +00:00
94102e9d8c Update src/app/blog/page.tsx 2026-02-14 10:47:37 +00:00
c324e58af6 Merge version_1 into main
Merge version_1 into main
2026-02-14 10:35:36 +00:00
6 changed files with 312 additions and 7 deletions

View File

@@ -33,7 +33,9 @@ export default function BlogPage() {
{ name: "Attractions", id: "attractions" },
{ name: "History", id: "history" },
{ name: "Events", id: "events" },
{ name: "Plan Your Visit", id: "faq" }
{ name: "Plan Your Visit", id: "faq" },
{ name: "Services", id: "/services" },
{ name: "Products", id: "/products" }
]}
button={{ text: "Get Started", href: "contact" }}
/>

View File

@@ -31,11 +31,14 @@ export default function TallinnOldTownPage() {
<NavbarStyleCentered
brandName="Tallinn Old Town"
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "about" },
{ name: "Attractions", id: "attractions" },
{ name: "History", id: "history" },
{ name: "Events", id: "events" },
{ name: "Plan Your Visit", id: "faq" }
{ name: "Plan Your Visit", id: "faq" },
{ name: "Services", id: "/services" },
{ name: "Products", id: "/products" }
]}
button={{ text: "Get Started", href: "contact" }}
/>

170
src/app/products/page.tsx Normal file
View File

@@ -0,0 +1,170 @@
"use client";
import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { useProductCatalog } from "@/hooks/useProductCatalog";
export default function ProductsPage() {
const {
products,
isLoading,
search,
setSearch,
filters,
} = useProductCatalog({ basePath: "/products" });
if (isLoading) {
return (
<ThemeProvider
defaultButtonVariant="hover-bubble"
defaultTextAnimation="entrance-slide"
borderRadius="soft"
contentWidth="mediumLarge"
sizing="medium"
background="circleGradient"
cardStyle="elevated"
primaryButtonStyle="gradient"
secondaryButtonStyle="layered"
headingFontWeight="bold"
>
<ReactLenis root>
<div id="navbar" data-section="navbar">
<NavbarStyleCentered
brandName="Tallinn Old Town"
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "about" },
{ name: "Attractions", id: "attractions" },
{ name: "History", id: "history" },
{ name: "Events", id: "events" },
{ name: "Plan Your Visit", id: "faq" },
{ name: "Services", id: "/services" },
{ name: "Products", id: "/products" }
]}
button={{ text: "Cart", onClick: () => console.log("cart") }}
/>
</div>
<main className="min-h-screen flex items-center justify-center pt-20">
<p className="text-foreground">Loading products...</p>
</main>
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="https://img.b2bpic.net/free-photo/aerial-view-historical-center-lviv-ukraine_231208-68.jpg"
imageAlt="Tallinn Old Town sunset"
logoText="Tallinn Old Town"
copyrightText="© 2025 Tallinn Old Town | Preserving Medieval Heritage"
columns={[
{
title: "Explore", items: [
{ label: "Attractions", href: "attractions" },
{ label: "History", href: "history" },
{ label: "Events", href: "events" },
{ label: "Plan Visit", href: "faq" }
]
},
{
title: "Information", items: [
{ label: "About", href: "about" },
{ label: "Cultural Guide", href: "events" },
{ label: "Travel Tips", href: "events" },
{ label: "Testimonials", href: "testimonials" }
]
},
{
title: "Connect", items: [
{ label: "Contact Us", href: "contact" },
{ label: "Newsletter", href: "contact" },
{ label: "Visit Website", href: "https://www.visittallinn.ee" },
{ label: "Social Media", href: "https://www.instagram.com/visittallinn" }
]
}
]}
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}
return (
<ThemeProvider
defaultButtonVariant="hover-bubble"
defaultTextAnimation="entrance-slide"
borderRadius="soft"
contentWidth="mediumLarge"
sizing="medium"
background="circleGradient"
cardStyle="elevated"
primaryButtonStyle="gradient"
secondaryButtonStyle="layered"
headingFontWeight="bold"
>
<ReactLenis root>
<div id="navbar" data-section="navbar">
<NavbarStyleCentered
brandName="Tallinn Old Town"
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "about" },
{ name: "Attractions", id: "attractions" },
{ name: "History", id: "history" },
{ name: "Events", id: "events" },
{ name: "Plan Your Visit", id: "faq" },
{ name: "Services", id: "/services" },
{ name: "Products", id: "/products" }
]}
button={{ text: "Cart", onClick: () => console.log("cart") }}
/>
</div>
<div id="productCatalog" data-section="productCatalog">
<ProductCatalog
layout="page"
products={products}
searchValue={search}
onSearchChange={setSearch}
searchPlaceholder="Search products..."
filters={filters}
emptyMessage="No products found"
/>
</div>
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="https://img.b2bpic.net/free-photo/aerial-view-historical-center-lviv-ukraine_231208-68.jpg"
imageAlt="Tallinn Old Town sunset"
logoText="Tallinn Old Town"
copyrightText="© 2025 Tallinn Old Town | Preserving Medieval Heritage"
columns={[
{
title: "Explore", items: [
{ label: "Attractions", href: "attractions" },
{ label: "History", href: "history" },
{ label: "Events", href: "events" },
{ label: "Plan Visit", href: "faq" }
]
},
{
title: "Information", items: [
{ label: "About", href: "about" },
{ label: "Cultural Guide", href: "events" },
{ label: "Travel Tips", href: "events" },
{ label: "Testimonials", href: "testimonials" }
]
},
{
title: "Connect", items: [
{ label: "Contact Us", href: "contact" },
{ label: "Newsletter", href: "contact" },
{ label: "Visit Website", href: "https://www.visittallinn.ee" },
{ label: "Social Media", href: "https://www.instagram.com/visittallinn" }
]
}
]}
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}

125
src/app/services/page.tsx Normal file
View File

@@ -0,0 +1,125 @@
"use client";
import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Sparkles } from "lucide-react";
export default function ServicesPage() {
return (
<ThemeProvider
defaultButtonVariant="hover-bubble"
defaultTextAnimation="entrance-slide"
borderRadius="soft"
contentWidth="mediumLarge"
sizing="medium"
background="circleGradient"
cardStyle="elevated"
primaryButtonStyle="gradient"
secondaryButtonStyle="layered"
headingFontWeight="bold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleCentered
brandName="Tallinn Old Town"
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "about" },
{ name: "Attractions", id: "attractions" },
{ name: "History", id: "history" },
{ name: "Events", id: "events" },
{ name: "Plan Your Visit", id: "faq" },
{ name: "Services", id: "/services" },
{ name: "Products", id: "/products" }
]}
button={{ text: "Get Started", href: "contact" }}
/>
</div>
<div id="services" data-section="services">
<FeatureCardTwelve
features={[
{
id: "guided-tours", label: "Guided Tours", title: "Expert-Led Historical Tours", items: [
"Small group tours with professional historians", "Customizable itineraries for all interests", "Multi-language tour options available", "Skip-the-line access to major attractions"
],
buttons: [
{ text: "Book a Tour", href: "/contact" }
]
},
{
id: "accommodations", label: "Accommodations", title: "Curated Medieval Lodging", items: [
"Charming boutique hotels in historic buildings", "Authentic guesthouses with period details", "Luxury options with modern amenities", "Breakfast and welcome packages included"
],
buttons: [
{ text: "View Hotels", href: "/contact" }
]
},
{
id: "cultural-experiences", label: "Cultural Experiences", title: "Immersive Estonian Heritage Programs", items: [
"Traditional craft workshops and demonstrations", "Local cuisine tasting experiences", "Medieval festival access and events", "Private cultural storytelling sessions"
],
buttons: [
{ text: "Explore Experiences", href: "/contact" }
]
},
{
id: "photography-services", label: "Photography Services", title: "Professional Travel Photography", items: [
"Professional photoshoot locations scouting", "Day and sunset photography sessions", "Edited digital gallery delivery", "Group and family portrait packages"
],
buttons: [
{ text: "Book a Session", href: "/contact" }
]
}
]}
animationType="opacity"
title="Our Services"
description="Discover comprehensive services designed to enhance your Tallinn Old Town experience"
tag="Services"
tagIcon={Sparkles}
textboxLayout="default"
useInvertedBackground={false}
/>
</div>
<div id="footer" data-section="footer">
<FooterMedia
imageSrc="https://img.b2bpic.net/free-photo/aerial-view-historical-center-lviv-ukraine_231208-68.jpg"
imageAlt="Tallinn Old Town sunset"
logoText="Tallinn Old Town"
copyrightText="© 2025 Tallinn Old Town | Preserving Medieval Heritage"
columns={[
{
title: "Explore", items: [
{ label: "Attractions", href: "attractions" },
{ label: "History", href: "history" },
{ label: "Events", href: "events" },
{ label: "Plan Visit", href: "faq" }
]
},
{
title: "Information", items: [
{ label: "About", href: "about" },
{ label: "Cultural Guide", href: "events" },
{ label: "Travel Tips", href: "events" },
{ label: "Testimonials", href: "testimonials" }
]
},
{
title: "Connect", items: [
{ label: "Contact Us", href: "contact" },
{ label: "Newsletter", href: "contact" },
{ label: "Visit Website", href: "https://www.visittallinn.ee" },
{ label: "Social Media", href: "https://www.instagram.com/visittallinn" }
]
}
]}
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}

View File

@@ -91,7 +91,8 @@ export default function ProductPage({ params }: ProductPageProps) {
{ name: "History", id: "history" },
{ name: "Events", id: "events" },
{ name: "Plan Your Visit", id: "faq" },
{ name: "Shop", id: "/shop" }
{ name: "Services", id: "/services" },
{ name: "Products", id: "/products" }
]}
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
/>
@@ -163,7 +164,8 @@ export default function ProductPage({ params }: ProductPageProps) {
{ name: "History", id: "history" },
{ name: "Events", id: "events" },
{ name: "Plan Your Visit", id: "faq" },
{ name: "Shop", id: "/shop" }
{ name: "Services", id: "/services" },
{ name: "Products", id: "/products" }
]}
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
/>
@@ -242,7 +244,8 @@ export default function ProductPage({ params }: ProductPageProps) {
{ name: "History", id: "history" },
{ name: "Events", id: "events" },
{ name: "Plan Your Visit", id: "faq" },
{ name: "Shop", id: "/shop" }
{ name: "Services", id: "/services" },
{ name: "Products", id: "/products" }
]}
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
/>

View File

@@ -41,7 +41,8 @@ export default function ShopPage() {
{ name: "History", id: "history" },
{ name: "Events", id: "events" },
{ name: "Plan Your Visit", id: "faq" },
{ name: "Shop", id: "/shop" }
{ name: "Services", id: "/services" },
{ name: "Products", id: "/products" }
]}
button={{ text: "Cart", onClick: () => console.log("cart") }}
/>
@@ -112,7 +113,8 @@ export default function ShopPage() {
{ name: "History", id: "history" },
{ name: "Events", id: "events" },
{ name: "Plan Your Visit", id: "faq" },
{ name: "Shop", id: "/shop" }
{ name: "Services", id: "/services" },
{ name: "Products", id: "/products" }
]}
button={{ text: "Cart", onClick: () => console.log("cart") }}
/>