Skip to content

Commit 1d4f7d3

Browse files
committed
style: remove linear gradient and add date to blog post
1 parent 382a493 commit 1d4f7d3

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

app/components/BlogPostWrapper.vue

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,10 @@ const blueskyPostUri = computed(() => blueskyLink.value?.postUri ?? null)
2222

2323
<template>
2424
<main class="container w-full py-8">
25-
<article
26-
class="max-w-prose mx-auto p-2 border-b border-border"
27-
:style="{
28-
background: `linear-gradient(to bottom, transparent 0%, var(--bg-blog) 2%, var(--bg-blog) 94%, transparent 100%)`,
29-
}"
30-
>
25+
<article class="max-w-prose mx-auto p-2 border-b border-border">
26+
<div class="text-sm text-fg-muted font-mono mb-4">
27+
<DateTime :datetime="frontmatter.date" year="numeric" month="short" day="numeric" />
28+
</div>
3129
<slot />
3230
</article>
3331
<article v-if="frontmatter.authors" class="mt-12 max-w-prose mx-auto">

0 commit comments

Comments
 (0)