feat: add CommunitySection component and integrate it into the main page
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ import {
|
|||||||
FaTiktok,
|
FaTiktok,
|
||||||
} from 'react-icons/fa';
|
} from 'react-icons/fa';
|
||||||
|
|
||||||
export function Communities() {
|
export function CommunitySection() {
|
||||||
const ref = useRef(null);
|
const ref = useRef(null);
|
||||||
const isInView = useInView(ref, { once: true, amount: 0.2 });
|
const isInView = useInView(ref, { once: true, amount: 0.2 });
|
||||||
|
|
||||||
@@ -1,4 +1,4 @@
|
|||||||
import { Communities } from './_components/communities';
|
import { CommunitySection } from './_components/community-section';
|
||||||
import { CTASection } from './_components/cta-section';
|
import { CTASection } from './_components/cta-section';
|
||||||
import { Hero } from './_components/hero';
|
import { Hero } from './_components/hero';
|
||||||
import { TestimonialSection } from './_components/testimonial-section';
|
import { TestimonialSection } from './_components/testimonial-section';
|
||||||
@@ -6,7 +6,7 @@ export default function Page() {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<Hero />
|
<Hero />
|
||||||
<Communities />
|
<CommunitySection />
|
||||||
<TestimonialSection />
|
<TestimonialSection />
|
||||||
<CTASection />
|
<CTASection />
|
||||||
</>
|
</>
|
||||||
|
|||||||
@@ -1,20 +1,13 @@
|
|||||||
[
|
[
|
||||||
{
|
{
|
||||||
"name": "Facebook Group",
|
"name": "Facebook",
|
||||||
"icon": "FaFacebook",
|
"icon": "FaFacebook",
|
||||||
"color": "#1877F2",
|
"color": "#1877F2",
|
||||||
"description": "Join discussions and share knowledge",
|
"description": "Join discussions and share knowledge",
|
||||||
"link": "#"
|
"link": "#"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Facebook Group II",
|
"name": "Discord",
|
||||||
"icon": "FaFacebook",
|
|
||||||
"color": "#1877F2",
|
|
||||||
"description": "Join discussions and share knowledge",
|
|
||||||
"link": "#"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Discord Server",
|
|
||||||
"icon": "FaDiscord",
|
"icon": "FaDiscord",
|
||||||
"color": "#5865F2",
|
"color": "#5865F2",
|
||||||
"description": "Real-time collaboration chat",
|
"description": "Real-time collaboration chat",
|
||||||
|
|||||||
Reference in New Issue
Block a user