Skip to content
This repository was archived by the owner on Jan 21, 2025. It is now read-only.

Commit a15b1fb

Browse files
committed
feat(src)!: add #community card carousel at index.astro
We now display a card carousel generate throught src/component/widget/CardCarousel.astro and src/data/community.json. It is intented to migrate this into astrowind components, for this is a custom made tailwindcss component.
1 parent 9c29049 commit a15b1fb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/pages/index.astro

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
import Layout from '~/layouts/PageLayout.astro';
33
44
import Hero from '~/components/widgets/Hero.astro';
5+
import HeroText from '~/components/widgets/HeroText.astro';
56
import CallToAction from '~/components/widgets/CallToAction.astro';
67
import Features2 from '~/components/widgets/Features2.astro';
78
import FAQs from '~/components/widgets/FAQs.astro';
89
10+
import CardCarousel from '~/components/widgets/CardCarousel.astro';
11+
import cardsData from '~/data/community.json';
12+
913
const metadata = {
1014
title: 'Ecuador in Tech',
1115
};
@@ -148,6 +152,13 @@ const metadata = {
148152
]}
149153
/>
150154

155+
<!-- Community *********** -->
156+
157+
<HeroText title="Comunidades" />
158+
<div id="community" class="my-8">
159+
<CardCarousel cards={cardsData.cards} />
160+
</div>
161+
151162
<!-- CallToAction Widget *********** -->
152163

153164
<CallToAction

0 commit comments

Comments
 (0)