Skip to content

Commit

Permalink
✨ Update key dates
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshHeng committed Apr 7, 2024
1 parent ff77b18 commit cfd1e18
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 21 deletions.
6 changes: 3 additions & 3 deletions src/app/components/key-date.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export type KeyDateProps = {
name: string;
date: string;
dateTime: string;
description: string;
description?: string;
};

export default function KeyDate({
Expand All @@ -14,10 +14,10 @@ export default function KeyDate({
name: string;
date: string;
dateTime: string;
description: string;
description?: string;
}) {
return (
<article className="relative group lg:even:mt-64 lg:odd:mb-64 flex flex-col">
<article className="relative group lg:even:mt-[210px] lg:odd:mb-[202px] flex flex-col">
<div className="hidden group-odd:hidden lg:block">
<div className="bg-secondary rounded-full w-6 h-6 -mb-3 mx-auto" />
<div className="bg-secondary w-2 h-40 -mb-28 mx-auto" />
Expand Down
21 changes: 3 additions & 18 deletions src/app/components/key-dates.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,36 +5,21 @@ const keyDates: KeyDateProps[] = [
name: 'Submissions Open',
date: 'Mon 1st Apr',
dateTime: '2024-04-01',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
description: 'WSAF performance submissions open.',
},
{
name: 'Submissions Close',
date: 'Fri 26th Apr',
dateTime: '2024-04-26',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
},
{
name: 'Submissions Confirmed',
date: 'Fri 3rd May',
dateTime: '2024-05-03',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
},
{
name: 'Schedule Announced',
date: 'Fri 17th May',
dateTime: '2024-05-17',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
'Submission form closes and the schedule and logistics are finalised.',
},
{
name: 'WSAF',
date: 'Sat 8th - Mon 10th June',
dateTime: '2024-06-08',
description:
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
'The festival itself - a 3 day showcase and celebration of all aspects of the arts.',
},
];

Expand Down

0 comments on commit cfd1e18

Please sign in to comment.