feat: add CommunitySection component and integrate it into the main page

This commit is contained in:
arraysid
2025-05-27 09:27:58 +07:00
parent 9bd326d7ad
commit 50b9380add
3 changed files with 5 additions and 12 deletions
@@ -12,7 +12,7 @@ import {
FaTiktok,
} from 'react-icons/fa';
export function Communities() {
export function CommunitySection() {
const ref = useRef(null);
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 { Hero } from './_components/hero';
import { TestimonialSection } from './_components/testimonial-section';
@@ -6,7 +6,7 @@ export default function Page() {
return (
<>
<Hero />
<Communities />
<CommunitySection />
<TestimonialSection />
<CTASection />
</>
+2 -9
View File
@@ -1,20 +1,13 @@
[
{
"name": "Facebook Group",
"name": "Facebook",
"icon": "FaFacebook",
"color": "#1877F2",
"description": "Join discussions and share knowledge",
"link": "#"
},
{
"name": "Facebook Group II",
"icon": "FaFacebook",
"color": "#1877F2",
"description": "Join discussions and share knowledge",
"link": "#"
},
{
"name": "Discord Server",
"name": "Discord",
"icon": "FaDiscord",
"color": "#5865F2",
"description": "Real-time collaboration chat",