Skip to content

Commit 5e302eb

Browse files
authored
Merge pull request #254 from gosuda/main
Add profile image
2 parents f4acbb3 + d4e6151 commit 5e302eb

3 files changed

Lines changed: 2 additions & 6 deletions

File tree

public/main.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
"Courier New", monospace;
2323
--color-blue-500: oklch(62.3% 0.214 259.815);
2424
--color-blue-600: oklch(54.6% 0.245 262.881);
25-
--color-gray-300: oklch(87.2% 0.01 258.338);
2625
--color-gray-500: oklch(55.1% 0.027 264.364);
2726
--color-gray-600: oklch(44.6% 0.03 256.802);
2827
--color-black: #000;
@@ -825,9 +824,6 @@
825824
.bg-blue-600 {
826825
background-color: var(--color-blue-600);
827826
}
828-
.bg-gray-300 {
829-
background-color: var(--color-gray-300);
830-
}
831827
.p-1 {
832828
padding: var(--spacing);
833829
}

view/component_blog_post.templ

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ templ BlogPostCard(post *BlogPostPreview) {
1515
<a class="border-2 border-black rounded-lg overflow-hidden transition hover:shadow-lg hover:drop-shadow-lg" href={ templ.SafeURL(post.URL) }>
1616
<div class="p-4">
1717
<div class="flex items-center mb-4">
18-
<div class="w-10 h-10 bg-gray-300 rounded-full mr-3"></div>
18+
<img src="/assets/apple-touch-icon.png" class="w-10 h-10 mr-3 rounded-full" alt="Author avatar"/>
1919
<div>
2020
<div class="font-semibold">{ post.Author }</div>
2121
<div class="text-sm text-gray-500">{ post.Date.Format("January 2, 2006") }</div>

view/component_blog_post_templ.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)