feat: implement HeroSection component with dynamic content and animations
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ import Image from 'next/image';
|
|||||||
import { useRouter } from 'next/navigation';
|
import { useRouter } from 'next/navigation';
|
||||||
import { Fragment, useEffect, useState } from 'react';
|
import { Fragment, useEffect, useState } from 'react';
|
||||||
|
|
||||||
export function Hero() {
|
export function HeroSection() {
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { communityLabel, headingLine1, headingLine2, description, buttons } =
|
const { communityLabel, headingLine1, headingLine2, description, buttons } =
|
||||||
HERO_CONTENT;
|
HERO_CONTENT;
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
import { CommunitySection } from './_components/community-section';
|
import { CommunitySection } from './_components/community-section';
|
||||||
import { CTASection } from './_components/cta-section';
|
import { CTASection } from './_components/cta-section';
|
||||||
import { Hero } from './_components/hero';
|
import { HeroSection } from './_components/hero-section';
|
||||||
import { TestimonialSection } from './_components/testimonial-section';
|
import { TestimonialSection } from './_components/testimonial-section';
|
||||||
export default function Page() {
|
export default function Page() {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Hero />
|
<HeroSection />
|
||||||
<CommunitySection />
|
<CommunitySection />
|
||||||
<TestimonialSection />
|
<TestimonialSection />
|
||||||
<CTASection />
|
<CTASection />
|
||||||
|
|||||||
Reference in New Issue
Block a user