diff --git a/src/app/page.tsx b/src/app/page.tsx index d288736..7501e1d 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -12,6 +12,9 @@ import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatin import PricingCardTwo from '@/components/sections/pricing/PricingCardTwo'; import SplitAbout from '@/components/sections/about/SplitAbout'; import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen'; +import dynamic from 'next/dynamic'; + +const ChessGame = dynamic(() => import('@/components/chess/ChessGame'), { ssr: false }); export default function LandingPage() { return ( @@ -32,21 +35,13 @@ export default function LandingPage() { @@ -58,39 +53,23 @@ export default function LandingPage() { description="Where strategy meets divinity. Experience the most cinematic online chess platform with global ELO rankings, seamless friend connections, and smooth piece animations." buttons={[ { - text: "Play Now", - href: "#contact", - }, + text: "Play Now", href: "#chess-game"}, ]} slides={[ { - imageSrc: "http://img.b2bpic.net/free-photo/abstract-chess-pieces-digital-art-style_23-2151476104.jpg", - imageAlt: "Golden Knight", - }, + imageSrc: "http://img.b2bpic.net/free-photo/abstract-chess-pieces-digital-art-style_23-2151476104.jpg", imageAlt: "Golden Knight"}, { - imageSrc: "http://img.b2bpic.net/free-photo/dramatic-chess-piece_23-2151178546.jpg", - imageAlt: "Motion Particles", - }, + imageSrc: "http://img.b2bpic.net/free-photo/dramatic-chess-piece_23-2151178546.jpg", imageAlt: "Motion Particles"}, { - imageSrc: "http://img.b2bpic.net/free-photo/3d-cross-with-bright-lights_23-2151004834.jpg", - imageAlt: "Orthodox Board", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/black-chess-pieces-chess-board-king-queen-pieces_23-2148952325.jpg", - imageAlt: "Obsidian Set", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/high-angle-role-playing-game-elements-assortment_23-2149349660.jpg", - imageAlt: "Golden Pieces", - }, - { - imageSrc: "http://img.b2bpic.net/free-photo/view-singular-chess-piece_23-2150828937.jpg", - imageAlt: "King Piece", - }, + imageSrc: "http://img.b2bpic.net/free-photo/3d-cross-with-bright-lights_23-2151004834.jpg", imageAlt: "Orthodox Board"}, ]} /> +
+ +
+
); -} +} \ No newline at end of file