Skip to content

Commit b896842

Browse files
author
brittneypostma
committed
Revert "fixed layout on cards, semantics, link to twitch, and side menu schedule link"
This reverts commit 5600ed9.
1 parent 1d1b365 commit b896842

2 files changed

Lines changed: 8 additions & 17 deletions

File tree

‎frontend/main/src/components/ScheduleCards.tsx‎

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ export default function ScheduleCards({
1313
return (
1414
<>
1515
{posts && posts.length > 0 ? (
16-
<section className="relative grid grid-cols-1 gap-4 lg:grid-cols-2">
16+
<section className="relative grid grid-cols-1 gap-4 lg:grid-cols-2 sm:gap-10">
1717
{posts.map((post) => {
1818
return (
1919
<div
20-
className="p-4 grid gap-2 transition-all rounded-md shadow-lg dark:text-primary-50 dark:bg-basics-600 hover:shadow-2xl hover:scale-105 cursor-pointer bg-basics-50"
20+
className="grid transition-all rounded-md shadow-lg dark:text-primary-50 dark:bg-basics-600 grid-rows-auto-2 hover:shadow-2xl hover:scale-105 bg-basics-50"
2121
key={post._id}
2222
>
2323
<Link href="https://twitch.tv/codingcatdev">
@@ -54,22 +54,13 @@ export default function ScheduleCards({
5454
})}
5555
</div> */}
5656
<div className="flex flex-col gap-1">
57-
<time
58-
dateTime={
59-
post?.recordingDate
60-
? new Date(post.recordingDate).toLocaleString()
61-
: ''
62-
}
63-
className="text-lg border-b-2 card-title border-b-primary-500"
64-
>
57+
<p className="text-xl border-b-2 card-title border-b-primary-500">
6558
{post?.recordingDate
6659
? new Date(post.recordingDate).toLocaleString()
6760
: ''}
68-
</time>
69-
<h2 className="bold font-sans lg:text-2xl">
70-
{post?.title?.replace(re, '')}
71-
</h2>
72-
<p className="text-lg font-thin">{post?.excerpt}</p>
61+
</p>
62+
<p className="text-2xl">{post?.title?.replace(re, '')}</p>
63+
<p className="text-lg">{post?.excerpt}</p>
7364
</div>
7465
</>
7566
</Link>

‎frontend/main/src/layout/AppMenu.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,10 +134,10 @@ export default function AppMenu({
134134
</ActiveLink>
135135
<ActiveLink
136136
activeClassName="bg-primary-500 rounded-sm"
137-
href="/schedule"
137+
href="/community"
138138
>
139139
<a className="p-2 links-secondary hover:bg-primary-500">
140-
Schedule
140+
Community
141141
</a>
142142
</ActiveLink>
143143
</nav>

0 commit comments

Comments
 (0)