Files
f6b574cd-c07e-4a1d-b87a-11b…/src/app/blog/page.tsx
Nikolay Pecheniev 39b6468dbf Initial commit
2026-02-10 19:04:07 +02:00

96 lines
4.4 KiB
TypeScript

"use client";
import ReactLenis from "lenis/react";
import BlogCardThree from '@/components/sections/blog/BlogCardThree';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import { useBlogPosts } from "@/hooks/useBlogPosts";
export default function BlogPage() {
const { posts, isLoading } = useBlogPosts();
return (
<ThemeProvider
defaultButtonVariant="hover-magnetic"
defaultTextAnimation="reveal-blur"
borderRadius="soft"
contentWidth="small"
sizing="medium"
background="aurora"
cardStyle="gradient-bordered"
primaryButtonStyle="double-inset"
secondaryButtonStyle="solid"
headingFontWeight="semibold"
>
<ReactLenis root>
<div id="nav" data-section="nav">
<NavbarStyleFullscreen
brandName="Baklajan"
navItems={[
{ name: "Home", id: "/" },
{ name: "About", id: "about" },
{ name: "Collections", id: "arrangements" },
{ name: "Services", id: "services" },
{ name: "Contact", id: "contact" }
]}
bottomLeftText="Premium Floral Studio"
bottomRightText="hello@baklajan.com"
/>
</div>
{isLoading ? (
<div className="w-content-width mx-auto py-20 text-center">
<p className="text-foreground">Loading posts...</p>
</div>
) : (
<div id="blog" data-section="blog">
<BlogCardThree
blogs={posts}
title="Floral Inspiration"
description="Discover our latest arrangements, seasonal blooms, and floral design insights"
textboxLayout="default"
useInvertedBackground="noInvert"
animationType="slide-up"
carouselMode="buttons"
tag="Blog"
/>
</div>
)}
<div id="footer" data-section="footer">
<FooterSimple
columns={[
{
title: "Navigate", items: [
{ label: "Home", href: "hero" },
{ label: "About", href: "about" },
{ label: "Collections", href: "arrangements" },
{ label: "Services", href: "services" }
]
},
{
title: "Services", items: [
{ label: "Custom Arrangements", href: "#" },
{ label: "Wedding Florals", href: "#" },
{ label: "Event Decoration", href: "#" },
{ label: "Gift Delivery", href: "#" }
]
},
{
title: "Connect", items: [
{ label: "Email", href: "mailto:hello@baklajan.com" },
{ label: "Phone", href: "tel:+1234567890" },
{ label: "Instagram", href: "https://instagram.com/baklajan" },
{ label: "Contact", href: "contact" }
]
}
]}
bottomLeftText="© 2025 Baklajan Flowers Studio. All rights reserved."
bottomRightText="Crafted with Passion & Blooms"
/>
</div>
</ReactLenis>
</ThemeProvider>
);
}