Skip to content

Commit

Permalink
re-enable features... disabled during testing and forgot to re-enable (
Browse files Browse the repository at this point in the history
  • Loading branch information
Adammatthiesen authored Oct 2, 2024
1 parent 4ed7a33 commit 24d190b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions www/web/src/pages/index.astro
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
---
import { getCollection } from 'astro:content';
import { Icon } from 'astro-icon/components';
import Image from 'astro/components/Image.astro';
import FeatureCard from '../components/FeatureCard.astro';
import Hero from '../components/Hero.astro';
import Marquee from '../components/Marquee.astro';
import Separator from '../components/Separator.astro';
import BaseLayout from '../layouts/BaseLayout.astro';
// import { getCollection } from 'astro:content';
import Image from 'astro/components/Image.astro';
// import TestimonialCard from '../components/TestimonialCard.astro';
import { GITHUB_URL, SPONSOR_URL } from '../constants';
import BaseLayout from '../layouts/BaseLayout.astro';
// const features = (await getCollection('features')).sort(
// ({ data: { sortOrder: a } }, { data: { sortOrder: b } }) => a - b
// );
const features = (await getCollection('features')).sort(
({ data: { sortOrder: a } }, { data: { sortOrder: b } }) => a - b
);
// const testimonials = await getCollection('testimonials');
---
Expand Down Expand Up @@ -46,7 +45,7 @@ import { GITHUB_URL, SPONSOR_URL } from '../constants';
<section class='studiocms-container mx-auto px-8 py-10'>
<h2 class='mb-4 md:mb-8 text-center text-5xl font-bold'>Features</h2>
<div class='grid grid-cols-1 gap-8 sm:grid-cols-2 md:grid-cols-3'>
<!-- {features.map(({ data }) => <FeatureCard {...data} />)} -->
{features.map(({ data }) => <FeatureCard {...data} />)}
</div>
</section>
<span class='sr-only'>Marquee with Keywords</span>
Expand Down

0 comments on commit 24d190b

Please sign in to comment.