refactor: refactor article list component and routing logic, optimize multilingual article display

This commit is contained in:
radishzzz 2025-03-11 09:52:49 +00:00
parent e5165dd740
commit ff1673da9c
19 changed files with 609 additions and 690 deletions

View file

@ -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 && (