Skip to content

Commit 50880e3

Browse files
committed
chore: swap docs and blog links in header
1 parent cfd6d38 commit 50880e3

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

src/Web/x-header.view.php

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,21 +35,19 @@ class="group w-full lg:max-w-5xl xl:max-w-7xl 2xl:max-w-8xl fixed lg:rounded-xl
3535
</div>
3636
<!-- Right side -->
3737
<div class="flex items-center gap-4 font-medium">
38-
<div class="flex items-center gap-4 font-medium flex-row-reverse lg:flex-row">
39-
<a
40-
:href="uri([ChapterController::class, 'index'])"
41-
class="transition hover:text-(--ui-text-highlighted) <?= is_current_uri([ChapterController::class, '__invoke']) ? 'md:text-(--ui-primary)' : '' ?>"
42-
>
43-
<span class="sm:hidden">Docs</span>
44-
<span class="hidden sm:inline">Documentation</span>
45-
</a>
46-
<a
47-
:href="uri([BlogController::class, 'index'])"
48-
class="transition hover:text-(--ui-text-highlighted) <?= is_current_uri([BlogController::class, 'show']) || is_current_uri([BlogController::class, 'index'])
49-
? 'md:text-(--ui-primary)'
50-
: '' ?>"
51-
>Blog</a>
52-
</div>
38+
<a
39+
:href="uri([BlogController::class, 'index'])"
40+
class="transition hover:text-(--ui-text-highlighted) <?= is_current_uri([BlogController::class, 'show']) || is_current_uri([BlogController::class, 'index'])
41+
? 'md:text-(--ui-primary)'
42+
: '' ?>"
43+
>Blog</a>
44+
<a
45+
:href="uri([ChapterController::class, 'index'])"
46+
class="transition hover:text-(--ui-text-highlighted) <?= is_current_uri([ChapterController::class, '__invoke']) ? 'md:text-(--ui-primary)' : '' ?>"
47+
>
48+
<span class="sm:hidden">Docs</span>
49+
<span class="hidden sm:inline">Documentation</span>
50+
</a>
5351
<a href="https://github.com/tempestphp/tempest-framework" class="transition hover:text-(--ui-text-highlighted) flex items-center gap-x-1.5 ml-4">
5452
<x-icon name="tabler:brand-github" class="size-6"/>
5553
<span class="font-semibold hidden lg:inline">{{ $stargazers_count }}</span>

0 commit comments

Comments
 (0)