|
4 | 4 | <nav class="flex items-center px-4 py-8 bg-white dark:bg-gray-900 lg:py-0">
|
5 | 5 |
|
6 | 6 | <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> |
9 | 12 | </nuxt-link>
|
10 | 13 | <ul class="items-center lg:w-auto lg:h-24 flex">
|
11 | 14 | <li class="mr-2">
|
|
15 | 18 | >Browse
|
16 | 19 | </nuxt-link>
|
17 | 20 | </li>
|
18 |
| - <li class="navigation-link"> |
19 |
| - <nuxt-link to="/search" exact |
20 |
| - >Search |
21 |
| - </nuxt-link |
22 |
| - > |
23 |
| - </li> |
24 | 21 | </ul>
|
25 | 22 |
|
26 | 23 | <div class="items-center ml-auto lg:h-24 flex">
|
27 | 24 | <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 | + > |
28 | 34 | <button
|
29 | 35 | 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"
|
30 | 36 | @click.prevent="changeColorMode">
|
|
59 | 65 | Profile
|
60 | 66 | </nuxt-link>
|
61 | 67 | <nuxt-link class="nav-dropdown--link" to="/dashboard" exact>
|
62 |
| - Dashboard |
| 68 | + My Snippets |
63 | 69 | </nuxt-link>
|
64 | 70 | <a href="#" class="nav-dropdown--link" @click.prevent="logout">Logout</a>
|
65 | 71 | </div>
|
@@ -156,7 +162,7 @@ html, body, #__nuxt, #__layout {
|
156 | 162 | //}
|
157 | 163 |
|
158 | 164 | .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; |
160 | 166 | }
|
161 | 167 |
|
162 | 168 | .nav-dropdown {
|
|
0 commit comments