File tree Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Expand file tree Collapse file tree 2 files changed +8
-21
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11---
2-
3- import { CardContainer } from " @components/card/card-container" ;
42import DeadlineCard from " @components/deadline-card.astro" ;
5- import Headline from " @ui/Headline.astro"
3+ import Headline from " @ui/Headline.astro" ;
64import { getCollection } from " astro:content" ;
7- import Section from " @ui/Section.astro"
5+ import Section from " @ui/Section.astro" ;
86
97let deadlines = await getCollection (" deadlines" );
108deadlines = deadlines
119 .sort ((a , b ) => a .slug .localeCompare (b .slug ))
1210 .reverse ()
1311 .slice (0 , 6 );
14-
1512---
16- <Section >
17- <Headline id =" updates" title =" Updates" center =true />
18- <CardContainer >
19- { deadlines .map ((deadline ) => <DeadlineCard id = { deadline .slug } />)}
20- </CardContainer >
21- </Section >
2213
23- <style >
24- .s {
25- @apply prose-xl m-0 my-12 p-0;
26- }
27- </style >
14+ <Section >
15+ <Headline id =" updates" title =" Updates" center =" true" />
16+ <section class =" justify-center gap-6 flex flex-wrap px-6" >
17+ { deadlines .map ((deadline ) => <DeadlineCard id = { deadline .slug } />)}
18+ </section >
19+ </Section >
You can’t perform that action at this time.
0 commit comments