Skip to content

Commit

Permalink
feat(events): section order
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Feb 11, 2024
1 parent 4dd2458 commit 0d26f37
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/app/events/Info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ export default function Info({ className }: { className?: string }) {
The Computer Science Club is excited to be hosting a number of events throughout
the year.
</p>
<p className="hidden md:block">
For further information, take a look at some of the events below!
</p>
<p>For further information, take a look at some of the events below!</p>
</div>
<FancyRectangle colour="white" offset="16" filled={true} rounded>
<div className="relative h-full w-full rounded bg-white p-1">
Expand Down
6 changes: 3 additions & 3 deletions src/app/events/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import Info from './Info';
export default function EventsPage() {
return (
<main className="relative grid grid-cols-5 gap-y-12 text-lg md:text-xl">
<Info className="order-last col-span-5 mb-6 border-white md:order-first md:col-span-2 md:mb-0 md:border-r-4 md:pr-4" />
<FridayNight className="col-span-5 md:col-span-3 md:pl-8" />
<Events className="order-first col-span-5 md:order-last" />
<Info className="col-span-5 border-white md:col-span-2 md:mb-0 md:border-r-4 md:pr-4" />
<FridayNight className="order-3 col-span-5 md:order-2 md:col-span-3 md:pl-8" />
<Events className="order-2 col-span-5 md:order-3" />
<div className="absolute -z-10 mt-8 hidden space-y-44 md:block">
<Image
src="/images/rectangle-grid.svg"
Expand Down

0 comments on commit 0d26f37

Please sign in to comment.