Skip to content

Commit 24d2f86

Browse files
committed
dev
1 parent 5884cd8 commit 24d2f86

File tree

1 file changed

+20
-19
lines changed

1 file changed

+20
-19
lines changed

components/Header.vue

+20-19
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
backdrop-filter: blur(1px);
1010
"
1111
>
12-
<div class="mx-auto flex justify-between items-center px-12 h-full max-w-screen-xl">
12+
<div class="mx-auto flex justify-start items-center px-12 h-full max-w-screen-xl">
1313
<!-- Logo -->
1414
<NuxtLink to="/" class="flex items-center space-x-2">
1515
<img
@@ -19,25 +19,26 @@
1919
/>
2020
</NuxtLink>
2121

22-
<!-- Navigation -->
23-
<div class="flex items-center space-x-6">
24-
<!-- Tabs for PC -->
25-
<nav class="hidden md:flex space-x-3 mr-6">
26-
<button
27-
v-for="(tab, index) in tabs"
28-
:key="index"
29-
@click="navigateTab(index, tab)"
30-
:class="[
31-
'transition rounded-lg text-xs font-medium px-2 py-1',
32-
$route.path === tab.path
33-
? 'bg-custom-200 text-black dark:bg-custom-600 dark:text-white'
34-
: 'text-gray-600 hover:text-black dark:text-gray-300 dark:hover:text-white',
35-
]"
36-
>
37-
{{ tab.label }}
38-
</button>
39-
</nav>
22+
<!-- Tabs for PC -->
23+
<nav class="hidden md:flex space-x-3 mr-6 ml-12">
24+
<button
25+
v-for="(tab, index) in tabs"
26+
:key="index"
27+
@click="navigateTab(index, tab)"
28+
:class="[
29+
'transition rounded-lg text-xs font-medium px-2 py-1',
30+
$route.path === tab.path
31+
? 'bg-custom-200 text-black dark:bg-custom-600 dark:text-white'
32+
: 'text-gray-600 hover:text-black dark:text-gray-300 dark:hover:text-white',
33+
]"
34+
>
35+
{{ tab.label }}
36+
</button>
37+
</nav>
4038

39+
<div style="flex:1;"></div>
40+
41+
<div class="flex items-center space-x-6">
4142
<!-- <ColorMode /> -->
4243

4344
<!-- Language Selector (commented out, unchanged) -->

0 commit comments

Comments
 (0)