feat(content): new blog post
This commit is contained in:
parent
8e6df747e0
commit
28bd68c09e
17 changed files with 118 additions and 40 deletions
|
@ -17,9 +17,7 @@ import { cn } from '@/lib/utils'
|
|||
>
|
||||
<div class="max-w-md">
|
||||
<h1 class="mb-4 text-3xl font-medium">404: Page not found</h1>
|
||||
<p class="prose">
|
||||
Oops! The page you're looking for doesn't exist.
|
||||
</p>
|
||||
<p class="prose">Oops! The page you're looking for doesn't exist.</p>
|
||||
</div>
|
||||
<Link
|
||||
href="/"
|
||||
|
|
|
@ -152,9 +152,7 @@ const authors = await parseAuthors(post.data.authors ?? [])
|
|||
|
||||
{headings.length > 0 && <TableOfContents headings={headings} />}
|
||||
|
||||
<article
|
||||
class="prose col-start-2 max-w-none"
|
||||
>
|
||||
<article class="prose col-start-2 max-w-none">
|
||||
<Content />
|
||||
</article>
|
||||
|
||||
|
|
|
@ -18,8 +18,10 @@ const blog = (await getCollection('blog'))
|
|||
<section>
|
||||
<div class="rounded-lg border">
|
||||
<div class="flex flex-col space-y-1.5 p-6">
|
||||
<h3 class="text-3xl font-medium leading-none">er·u·dite</h3>
|
||||
<p class="text-sm text-muted-foreground">/ˈer(y)əˌdīt/ • <span class="font-medium">adjective</span></p>
|
||||
<h3 class="text-3xl leading-none font-medium">er·u·dite</h3>
|
||||
<p class="text-muted-foreground text-sm">
|
||||
/ˈer(y)əˌdīt/ • <span class="font-medium">adjective</span>
|
||||
</p>
|
||||
</div>
|
||||
<div class="p-6 pt-0">
|
||||
<p class="text-muted-foreground mb-2 text-sm">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue