mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-06-05 20:15:31 -04:00
fix: view transitions
This commit is contained in:
@@ -147,7 +147,10 @@ const Page = async ({ params }: { params: Promise<{ slug: string }> }) => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1 className="my-5 text-4xl font-semibold tracking-tight sm:text-3xl">
|
||||
<h1
|
||||
className="my-5 text-3xl font-semibold tracking-tight"
|
||||
style={{ viewTransitionName: `note-title-${frontmatter!.slug}` }}
|
||||
>
|
||||
<Link
|
||||
href={`/${POSTS_DIR}/${frontmatter!.slug}`}
|
||||
dangerouslySetInnerHTML={{ __html: frontmatter!.htmlTitle || frontmatter!.title }}
|
||||
|
||||
Reference in New Issue
Block a user