Skip to content

Commit ec52f1b

Browse files
committed
some changes
1 parent ec2798e commit ec52f1b

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
lines changed

assets/css/tailwind.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
@tailwind utilities;
44

55
body {
6-
@apply bg-gray-400 bg-opacity-25 dark:bg-gray-800;
6+
@apply bg-gray-200 bg-opacity-25 dark:bg-gray-800;
77
}
88

99
h1,

layouts/default.vue

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,11 @@
44
<nav class="flex items-center px-4 py-8 bg-white dark:bg-gray-900 lg:py-0">
55

66
<div class="flex justify-between w-full container items-center">
7-
<nuxt-link class="mr-10 dark:text-white" :to="{ name: 'index' }">
8-
Home
7+
<nuxt-link class=" dark:text-white" :to="{ name: 'index' }">
8+
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
9+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
10+
d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/>
11+
</svg>
912
</nuxt-link>
1013
<ul class="items-center lg:w-auto lg:h-24 flex">
1114
<li class="mr-2">
@@ -15,16 +18,19 @@
1518
>Browse
1619
</nuxt-link>
1720
</li>
18-
<li class="navigation-link">
19-
<nuxt-link to="/search" exact
20-
>Search
21-
</nuxt-link
22-
>
23-
</li>
2421
</ul>
2522

2623
<div class="items-center ml-auto lg:h-24 flex">
2724
<div class="flex items-center ml-auto">
25+
<nuxt-link class="mr-5 navigation-link" to="/search" exact
26+
>
27+
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24"
28+
stroke="currentColor">
29+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
30+
d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/>
31+
</svg>
32+
</nuxt-link
33+
>
2834
<button
2935
class="mr-2 dark:text-gray-200 focus:outline-none rounded-full bg-gray-400 dark:bg-gray-800 h-10 w-10 flex items-center justify-center p-2"
3036
@click.prevent="changeColorMode">
@@ -59,7 +65,7 @@
5965
Profile
6066
</nuxt-link>
6167
<nuxt-link class="nav-dropdown--link" to="/dashboard" exact>
62-
Dashboard
68+
My Snippets
6369
</nuxt-link>
6470
<a href="#" class="nav-dropdown--link" @click.prevent="logout">Logout</a>
6571
</div>
@@ -156,7 +162,7 @@ html, body, #__nuxt, #__layout {
156162
//}
157163
158164
.navigation-link {
159-
@apply capitalize text-lg text-gray-700 dark:text-white lg:px-4 lg:py-8;
165+
@apply capitalize text-lg text-gray-700 dark:text-white ml-5;
160166
}
161167
162168
.nav-dropdown {

0 commit comments

Comments
 (0)