mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-18 12:11:49 +02:00
refactor: refactor article list component and routing logic, optimize multilingual article display
This commit is contained in:
parent
e5165dd740
commit
ff1673da9c
19 changed files with 609 additions and 690 deletions
|
@ -19,7 +19,7 @@ const marginBottom = {
|
|||
lg="fixed"
|
||||
>
|
||||
<h1 class={`${marginBottom} text-8 c-primary font-bold font-title lg:text-9`}>
|
||||
<!-- Fix text cut issue on ios by adding a div tag -->
|
||||
<!-- Fix text cropping issues during view transition on ios by adding a div tag -->
|
||||
<div
|
||||
class="box-content inline-block pr-1.25"
|
||||
transition:name="site-title"
|
||||
|
@ -28,7 +28,7 @@ const marginBottom = {
|
|||
<a href={getLocalizedPath('/')}>
|
||||
{title}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</h1>
|
||||
|
||||
{subtitle && (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue