Switch to version 2: modified src/app/testimonials/page.tsx
This commit is contained in:
@@ -1,30 +1,18 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import ReactLenis from "lenis/react";
|
|
||||||
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
|
||||||
import TestimonialCardTwelve from '@/components/sections/testimonial/TestimonialCardTwelve';
|
|
||||||
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
|
|
||||||
|
|
||||||
export default function TestimonialsPage() {
|
export default function TestimonialsPage() {
|
||||||
const navLinks = [{ name: "الرئيسية", id: "/" }, { name: "آراء العملاء", id: "/testimonials" }, { name: "الأسئلة الشائعة", id: "/faq" }, { name: "احجز موعداً", id: "/service-request" }];
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
<ThemeProvider defaultButtonVariant="hover-magnetic" defaultTextAnimation="entrance-slide" borderRadius="pill" contentWidth="medium" sizing="mediumLargeSizeLargeTitles" background="aurora" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="semibold">
|
||||||
<ReactLenis root>
|
<div id="nav" data-section="nav">
|
||||||
<NavbarLayoutFloatingInline navItems={navLinks} brandName="Aljoman Dental" button={{ text: "احجز موعداً", href: "#contact" }} />
|
<NavbarLayoutFloatingInline
|
||||||
<TestimonialCardTwelve
|
navItems={[{ name: "Home", id: "/" }, { name: "About", id: "/about" }, { name: "Contact", id: "/contact" }]}
|
||||||
cardTitle="آراء عملائنا المميزين"
|
brandName="Aljoman Dental"
|
||||||
cardTag="testimonials"
|
button={{ text: "Contact", href: "/contact" }}
|
||||||
cardAnimation="slide-up"
|
|
||||||
useInvertedBackground={false}
|
|
||||||
testimonials={[
|
|
||||||
{ id: "1", name: "أحمد", imageSrc: "https://images.unsplash.com/photo-1494790108377-be9c29b29330" },
|
|
||||||
{ id: "2", name: "سارة", imageSrc: "https://images.unsplash.com/photo-1534528741775-53994a69daeb" }
|
|
||||||
]}
|
|
||||||
/>
|
/>
|
||||||
<FooterLogoEmphasis logoText="عيادات الجومان" columns={[{ items: [{ label: "الرئيسية", href: "/" }] }]} />
|
</div>
|
||||||
</ReactLenis>
|
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user