38 lines
2.1 KiB
TypeScript
38 lines
2.1 KiB
TypeScript
"use client";
|
||
|
||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||
import ReactLenis from "lenis/react";
|
||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||
import BlogCardThree from '@/components/sections/blog/BlogCardThree';
|
||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
||
|
||
export default function BlogPage() {
|
||
const navLinks = [
|
||
{ name: "الرئيسية", id: "/" },
|
||
{ name: "المدونة", id: "/blog" },
|
||
{ name: "سياسة الخصوصية", id: "/privacy-policy" },
|
||
{ name: "تواصل معنا", id: "/contact" },
|
||
];
|
||
|
||
return (
|
||
<ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="pill" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||
<ReactLenis root>
|
||
<NavbarLayoutFloatingInline navItems={navLinks} brandName="Aljoman Dental" button={{ text: "احجز موعداً", href: "#contact" }} />
|
||
<BlogCardThree
|
||
title="مقالات صحة الأسنان"
|
||
description="نصائح يومية للحفاظ على ابتسامة صحية وجميلة."
|
||
animationType="blur-reveal"
|
||
textboxLayout="default"
|
||
useInvertedBackground={false}
|
||
blogs={[
|
||
{ id: "1", category: "عناية يومية", title: "طرق العناية الصحيحة بالأسنان", excerpt: "تعرف على الخطوات الصحيحة لتفريش أسنانك يومياً.", imageSrc: "https://images.unsplash.com/photo-1606811841689-23dfddce3e95", authorName: "د. محمد", authorAvatar: "", date: "٢٠٢٤-٠١-٠١" }
|
||
]}
|
||
/>
|
||
<FooterLogoEmphasis
|
||
columns={[{ items: [{ label: "الرئيسية", href: "/" }, { label: "المدونة", href: "/blog" }] }]}
|
||
logoText="عيادات الجومان"
|
||
/>
|
||
</ReactLenis>
|
||
</ThemeProvider>
|
||
);
|
||
} |