Skip to content

Commit 8fab4e7

Browse files
committed
Improve tih page
1 parent 3faeb5e commit 8fab4e7

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/app/(content)/today/page.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,15 @@ export default async function Page() {
2222
);
2323

2424
return (
25-
<div className="mx-auto w-full max-w-3xl flex-1 px-4 py-8">
25+
<div className="mx-auto w-full max-w-3xl flex-1">
2626
<div className="mb-8">
2727
<h1 className="mb-2 text-3xl font-semibold text-gray-900">Today in History</h1>
28-
<div className="bg-relisten-600 h-1 w-16 rounded-full"></div>
2928
</div>
3029

3130
<div className="space-y-8">
3231
{Object.entries(groupedBy).map(([artistName, days]) => (
3332
<div key={artistName}>
34-
<h2 className="text-relisten-700 border-relisten-500 mb-4 border-l-4 pl-4 text-xl font-semibold">
33+
<h2 className="text-relisten-700 mb-4 border-l-4 pl-4 text-xl font-semibold">
3534
{artistName}
3635
</h2>
3736
<div className="ml-2 space-y-0 border-l border-gray-200">

src/components/TodayTrack.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export default ({ day }: { day: Day }) => {
1414

1515
return (
1616
<Link href={createURL(day)} prefetch={false}>
17-
<Flex className="group relative w-full cursor-pointer px-6 py-4 transition-colors duration-200 hover:bg-relisten-50">
17+
<Flex className="group relative w-full cursor-pointer px-6 py-4 transition-colors duration-200 hover:bg-black/5">
1818
<div className="group-hover:bg-relisten-400/20 absolute top-0 bottom-0 left-0 w-1 bg-transparent transition-colors duration-200"></div>
1919
<div className="mr-6 w-28 flex-shrink-0">
2020
<div className="text-relisten-700 font-semibold">{day.display_date}</div>

0 commit comments

Comments
 (0)