Add view-transition-name to header

This commit is contained in:
Talia 2023-08-28 16:23:33 +02:00
parent 342e570f2f
commit f25d6ec919

View file

@ -32,7 +32,7 @@ html
* [ link rel: "modulepreload", href: module.url for module in *config.modules when module.preload ] * [ link rel: "modulepreload", href: module.url for module in *config.modules when module.preload ]
* body * body
* slots.top * slots.top
* header class: 'sticky' * header class: 'sticky', style: "view-transition-name: header"
* h1 "Talia's Blog" * h1 "Talia's Blog"
* nav { class: 'right bar' } * nav { class: 'right bar' }
* ul li a "Home", href: "/" * ul li a "Home", href: "/"