@@ -26,8 +26,6 @@ watch(user, async () => {
26
26
await checkIfLoggedIn ()
27
27
}, { deep: true });
28
28
29
-
30
-
31
29
</script >
32
30
33
31
<template >
@@ -53,12 +51,8 @@ watch(user, async () => {
53
51
src =" /img/logo_clear_fsj.png" />
54
52
</nuxt-link >
55
53
</div >
56
-
57
54
</div >
58
-
59
-
60
55
<nav class =" hidden md:flex justify-between space-x-10 align-bottom mt-14" >
61
-
62
56
<div class =" hidden md:flex space-x-10 align-bottom" >
63
57
<nuxt-link to =" /subscribe" >
64
58
<span
@@ -127,11 +121,6 @@ watch(user, async () => {
127
121
</svg >
128
122
</NuxtLink >
129
123
130
-
131
-
132
-
133
-
134
-
135
124
<span class =" hidden md:block " @click =" setColorTheme($colorMode.preference == 'dark' ? 'light' : 'dark')" >
136
125
<svg v-if =" $colorMode.value == 'dark'" xmlns =" http://www.w3.org/2000/svg"
137
126
class =" h-6 w-6 text-gray-50 hidden lg:block" viewBox =" 0 0 20 20" fill =" currentColor" >
@@ -146,27 +135,8 @@ watch(user, async () => {
146
135
</span >
147
136
148
137
<User :isLoggedIn =" isLoggedIn" class =" hidden md:block" />
149
-
150
- <span class =" hidden md:flex items-center justify-end md:flex-1 lg:w-0" >
151
- <!-- <nuxt-link v-if="!user" to="/login"
152
- class="whitespace-nowrap text-base font-medium text-gray-500 dark:text-gray-200 hover:text-gray-900 dark:hover:text-gray-300 "> Sign
153
- in
154
- </nuxt-link> -->
155
-
156
- <!-- <User v-if="user" :user="user" /> -->
157
-
158
- <!-- <nuxt-link v-if="!user" to="/register"
159
- class="transition duration-500 hover:scale-110 ml-8 whitespace-nowrap inline-flex items-center justify-center px-4 py-2 border border-transparent rounded-md shadow-sm text-base font-medium text-white bg-indigo-600 hover:bg-indigo-700">
160
- Sign up
161
- </nuxt-link> -->
162
- </span >
163
138
</div >
164
-
165
-
166
-
167
-
168
139
</div >
169
- <!-- <BackButton /> -->
170
140
</div >
171
141
172
142
@@ -190,9 +160,7 @@ watch(user, async () => {
190
160
</button >
191
161
192
162
<div class =" py-4 overflow-y-auto" >
193
-
194
163
<ul class =" space-y-2" >
195
-
196
164
<li >
197
165
198
166
<button class =" ml-2" @click =" setColorTheme($colorMode.preference == 'dark' ? 'light' : 'dark')" >
@@ -208,8 +176,6 @@ watch(user, async () => {
208
176
</svg >
209
177
</button >
210
178
</li >
211
-
212
-
213
179
<NuxtLink to =" https://github.com/jurassicjs/nuxt3-fullstack-tutorial" >
214
180
<svg xmlns =" http://www.w3.org/2000/svg" xmlns:xlink =" http://www.w3.org/1999/xlink" aria-hidden =" true"
215
181
role =" img" class =" text-gray-500 dark:text-gray-200 h-6 w-6 ml-2 mt-2 " width =" 0.97em" height =" 1em"
@@ -219,7 +185,6 @@ watch(user, async () => {
219
185
</path >
220
186
</svg >
221
187
</NuxtLink >
222
-
223
188
<NuxtLink to =" https://discord.gg/tFGTQBdT" class =" text-gray-800" >
224
189
<svg xmlns =" http://www.w3.org/2000/svg" xmlns:xlink =" http://www.w3.org/1999/xlink"
225
190
class =" text-gray-500 dark:text-gray-200 h-6 w-6 ml-2 mt-2" viewBox =" 0 -28.5 256 256" version =" 1.1"
@@ -231,15 +196,13 @@ watch(user, async () => {
231
196
</g >
232
197
</svg >
233
198
</NuxtLink >
234
-
235
199
<NuxtLink to =" https://twitter.com/jack_fullstack" >
236
200
<svg class =" text-gray-500 dark:text-gray-200 h-6 w-6 ml-2 mt-2" fill =" none" viewBox =" 0 0 24 24" >
237
201
<path fill-rule =" evenodd" clip-rule =" evenodd"
238
202
d =" M22 5.897c-.75.33-1.5.577-2.333.66A4.4 4.4 0 0021.5 4.33c-.833.495-1.667.825-2.583.99a4.053 4.053 0 00-3-1.32c-2.25 0-4.084 1.814-4.084 4.041 0 .33 0 .66.084.907-3.5-.165-6.5-1.814-8.5-4.288-.417.66-.584 1.32-.584 2.062 0 1.402.75 2.639 1.834 3.381-.667 0-1.334-.165-1.834-.495v.083c0 1.98 1.417 3.629 3.25 3.958-.333.083-.666.165-1.083.165-.25 0-.5 0-.75-.082.5 1.65 2 2.804 3.833 2.804C6.667 17.608 4.917 18.268 3 18.268c-.333 0-.667 0-1-.082C3.833 19.34 6 20 8.25 20c7.583 0 11.667-6.186 11.667-11.546v-.495c.833-.578 1.5-1.32 2.083-2.062z"
239
203
fill =" currentColor" ></path >
240
204
</svg >
241
205
</NuxtLink >
242
-
243
206
<li >
244
207
<NuxtLink to =" /dashboard"
245
208
class =" flex items-center p-2 text-base font-normal text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700" >
@@ -303,7 +266,7 @@ watch(user, async () => {
303
266
<span class =" flex-1 ml-3 whitespace-nowrap" >Ask Jack</span >
304
267
</NuxtLink >
305
268
</li >
306
- <li v-if =" !isLoggedIn" >
269
+ <li v-if =" !isLoggedIn" >
307
270
<NuxtLink to =" /login"
308
271
class =" flex items-center p-2 text-base font-normal text-gray-900 rounded-lg dark:text-white hover:bg-gray-100 dark:hover:bg-gray-700" >
309
272
<svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24" stroke-width =" 1.5"
0 commit comments