Switch to version 2: modified src/app/blog/page.tsx
This commit is contained in:
@@ -1,38 +1,18 @@
|
||||
"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: "٢٠٢٤-٠١-٠١" }
|
||||
]}
|
||||
<ThemeProvider defaultButtonVariant="hover-magnetic" defaultTextAnimation="entrance-slide" borderRadius="pill" contentWidth="medium" sizing="mediumLargeSizeLargeTitles" background="aurora" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="semibold">
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarLayoutFloatingInline
|
||||
navItems={[{ name: "Home", id: "/" }, { name: "About", id: "/about" }, { name: "Contact", id: "/contact" }]}
|
||||
brandName="Aljoman Dental"
|
||||
button={{ text: "Contact", href: "/contact" }}
|
||||
/>
|
||||
<FooterLogoEmphasis
|
||||
columns={[{ items: [{ label: "الرئيسية", href: "/" }, { label: "المدونة", href: "/blog" }] }]}
|
||||
logoText="عيادات الجومان"
|
||||
/>
|
||||
</ReactLenis>
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user