mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
test: language switcher and i18n refactor
This commit is contained in:
parent
19d7ba4905
commit
4651828dd1
10 changed files with 127 additions and 133 deletions
|
@ -48,7 +48,7 @@ function getPostPath(post: Post) {
|
|||
{/* mobile post time */}
|
||||
<div
|
||||
class="uno-mobile-time"
|
||||
transition:name={`time-${post.data.abbrlink || post.slug}`}
|
||||
transition:name={`mobile-time-${post.data.abbrlink || post.slug}`}
|
||||
data-disable-transition-on-theme
|
||||
>
|
||||
<PostTime
|
||||
|
@ -58,7 +58,11 @@ function getPostPath(post: Post) {
|
|||
</div>
|
||||
|
||||
{/* desktop post time */}
|
||||
<div class="uno-desktop-time">
|
||||
<div
|
||||
class="uno-desktop-time"
|
||||
transition:name={`desktop-time-${post.data.abbrlink || post.slug}`}
|
||||
data-disable-transition-on-theme
|
||||
>
|
||||
<PostTime
|
||||
date={post.data.published}
|
||||
minutes={post.remarkPluginFrontmatter?.minutes}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue