Skip to content

Commit e676894

Browse files
committed
better logs cards.
1 parent 962fc5c commit e676894

File tree

5 files changed

+21
-5
lines changed

5 files changed

+21
-5
lines changed

public/logs/logs.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
"date": "2025-10-16",
1717
"rating": 5,
1818
"link": "https://www.goodreads.com/book/show/61340205-the-flowers-of-buffoonery",
19-
"slug": "the-flowers-of-buffoonery"
19+
"slug": "the-flowers-of-buffoonery",
20+
"updated": "2025-10-17"
21+
2022
},
2123
{
2224
"title": "The Bear",
@@ -25,7 +27,8 @@
2527
"date": "2025-10-16",
2628
"rating": 5,
2729
"link": "https://www.imdb.com/title/tt14452776/",
28-
"slug": "the-bear"
30+
"slug": "the-bear",
31+
"updated": "2025-10-17"
2932
},
3033
{
3134
"title": "Relay",

public/logs/the-bear.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,7 @@ A young chef from the fine dining world returns to Chicago to run his family's s
1111
## My Thoughts
1212

1313
This show is absolutely brilliant. The pacing, the character development, and the raw intensity of the kitchen environment are all top-notch. It's a must-watch for anyone who appreciates great storytelling.
14+
15+
> Warning: Major spoilers for Season 2, Episode 6, "Fishes" follow.
16+
>
17+
> That episode... "Fishes". It hit me hard. The raw sadness, the sheer depression of it all. I don't think I can ever watch it again, oh my lord. Yet, it laid bare so much, explaining the tangled mess of everything. And the acting? Absolutely beautiful, truly captivating. God damn.

src/components/Footer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const Footer = () => {
3333
<Link to="/logs" className="text-primary-400 hover:text-white transition-colors" onClick={() => window.scrollTo({ top: 0, behavior: 'smooth' })}>Logs</Link>
3434
</div>
3535
<p className="text-sm text-gray-500">
36-
&copy; {new Date().getFullYear()} fezcode. All rights reserved. <code> v0.0.7 </code>
36+
&copy; {new Date().getFullYear()} fezcode. All rights reserved. <code> v0.0.8 </code>
3737
</p>
3838
</div>
3939
</div>

src/components/LogCard.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const categoryStyles = {
3838
};
3939

4040
const LogCard = ({ log, index, totalLogs }) => {
41-
const { title, category, author, director, platform, source, artist, year, creator, date, rating, slug } = log;
41+
const { title, category, author, director, platform, source, artist, year, creator, date, rating, slug, updated } = log;
4242

4343
const cardStyle = categoryStyles[category] || {};
4444

@@ -79,7 +79,10 @@ const LogCard = ({ log, index, totalLogs }) => {
7979
</div>
8080
<div className="text-gray-400 ml-2">({rating}/5)</div>
8181
</div>
82-
<div className="text-sm text-blue-400">{date}</div>
82+
<div>
83+
{updated && <div className="text-xs text-rose-300 text-right">(U): {updated}</div>}
84+
<div className="text-sm text-blue-400 text-right">{date}</div>
85+
</div>
8386
</div>
8487
</div>
8588
</Link>

src/components/LogMetadata.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ const LogMetadata = ({ metadata }) => {
9191
<Label>Date</Label>
9292
<p className="text-gray-300 ml-1 mt-1">{metadata.date}</p>
9393
</div>
94+
{metadata.updated && (
95+
<div>
96+
<Label>Updated</Label>
97+
<p className="text-gray-300 ml-1 mt-1">{metadata.updated}</p>
98+
</div>
99+
)}
94100
{metadata.rating !== undefined && metadata.rating !== null && (
95101
<div>
96102
<Label>Rating</Label>

0 commit comments

Comments
 (0)