Skip to content

Commit e5b8caf

Browse files
committed
Standardize navigation on light layout
1 parent ae0f2d5 commit e5b8caf

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

layouts/light.vue

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,12 @@
11
<template>
22
<main>
3+
<Header />
34
<div
4-
class="container mx-auto my-12 h-screen bg-background font-display lg:my-16"
5+
class="container mx-auto h-screen bg-background font-display"
56
>
67
<div class="flex flex-col border-2 bg-white">
78
<slot />
89
</div>
910
</div>
10-
<div class="absolute left-2 top-2">
11-
<nuxt-link
12-
as="button"
13-
to="/playground"
14-
class="inline-flex items-center rounded px-4 py-2 font-bold text-white hover:text-cyan"
15-
>
16-
<svg
17-
xmlns="http://www.w3.org/2000/svg"
18-
fill="none"
19-
viewBox="0 0 24 24"
20-
stroke-width="1.5"
21-
stroke="currentColor"
22-
class="mr-2 h-6 w-6"
23-
>
24-
<path
25-
stroke-linecap="round"
26-
stroke-linejoin="round"
27-
d="M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15M12 9l-3 3m0 0l3 3m-3-3h12.75"
28-
/>
29-
</svg>
30-
<span>Back</span>
31-
</nuxt-link>
32-
</div>
3311
</main>
3412
</template>

0 commit comments

Comments
 (0)