|
1 | 1 | <template> |
2 | | - <div> |
3 | | - <header |
4 | | - role="banner" |
5 | | - class="container flex flex-col justify-center px-0 pt-6 mx-auto mb-6" |
6 | | - > |
7 | | - <div class="flex flex-wrap lg:px-4"> |
8 | | - <div class="w-9/12 pr-2 my-2 overflow-hidden lg:w-3/12 md:w-10/12"> |
9 | | - <div class="ml-4 lg:ml-0"> |
10 | | - <img |
11 | | - alt="Logo" |
12 | | - class="h-20 lg:h-24" |
13 | | - aria-label="Nettbutikk logo" |
14 | | - src="~/assets/svg/Logo.svg" |
15 | | - /> |
16 | | - </div> |
| 2 | + <header role="banner" class="container flex flex-col justify-center px-0 pt-6 mx-auto mb-6"> |
| 3 | + <div class="flex flex-wrap lg:px-4"> |
| 4 | + <div class="w-9/12 pr-2 my-2 overflow-hidden lg:w-3/12 md:w-10/12"> |
| 5 | + <div class="ml-4 lg:ml-0"> |
| 6 | + <img alt="Logo" class="h-20 lg:h-24" aria-label="Nettbutikk logo" src="~/assets/svg/Logo.svg" /> |
17 | 7 | </div> |
18 | | - <LayoutMobileMenu /> |
19 | | - <div class="hidden lg:w-1/12 lg:block" /> |
20 | | - <div |
21 | | - id="nav-content" |
22 | | - class="hidden w-full mt-4 bg-black lg:w-8/12 lg:block lg:bg-white lg:mt-0 lg:text-right" |
23 | | - > |
24 | | - <div class="px-6 lg:px-0 lg:pt-5 xl:pt-7"> |
25 | | - <div> |
26 | | - <nav |
27 | | - id="block-main" |
28 | | - role="navigation" |
29 | | - aria-labelledby="block-main-menu" |
30 | | - > |
31 | | - <ul |
32 | | - class="items-center justify-end flex-1 pr-4 -mr-4 list-reset lg:flex" |
33 | | - > |
34 | | - <li |
35 | | - class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4" |
36 | | - > |
37 | | - <NuxtLink to="/"> |
38 | | - <span |
39 | | - class="text-xl text-white no-underline lg:text-black is-active" |
40 | | - > |
41 | | - Home |
42 | | - </span> |
43 | | - </NuxtLink> |
44 | | - </li> |
45 | | - <li |
46 | | - class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4" |
47 | | - > |
48 | | - <NuxtLink to="/products"> |
49 | | - <span |
50 | | - class="text-xl text-white no-underline lg:text-black" |
51 | | - >Products</span |
52 | | - > |
53 | | - </NuxtLink> |
54 | | - </li> |
55 | | - <li |
56 | | - class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4" |
57 | | - > |
58 | | - <NuxtLink to="/categories"> |
59 | | - <span |
60 | | - class="text-xl text-white no-underline lg:text-black is-active" |
61 | | - >Categories</span |
62 | | - > |
63 | | - </NuxtLink> |
64 | | - </li> |
65 | | - <li |
66 | | - class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4" |
67 | | - > |
68 | | - <NuxtLink to="/search"> |
69 | | - <span |
70 | | - class="text-xl text-white no-underline lg:text-black is-active" |
71 | | - >Search</span |
72 | | - > |
73 | | - </NuxtLink> |
74 | | - </li> |
75 | | - <li |
76 | | - class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4" |
77 | | - > |
78 | | - <LayoutCart /> |
79 | | - </li> |
80 | | - </ul> |
81 | | - </nav> |
82 | | - </div> |
| 8 | + </div> |
| 9 | + <LayoutMobileMenu /> |
| 10 | + <div class="hidden lg:w-1/12 lg:block" /> |
| 11 | + <div id="nav-content" class="hidden w-full mt-4 bg-black lg:w-8/12 lg:block lg:bg-white lg:mt-0 lg:text-right"> |
| 12 | + <div class="px-6 lg:px-0 lg:pt-5 xl:pt-7"> |
| 13 | + <div> |
| 14 | + <nav id="block-main" role="navigation" aria-labelledby="block-main-menu"> |
| 15 | + <ul class="items-center justify-end flex-1 pr-4 -mr-4 list-reset lg:flex"> |
| 16 | + <li class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"> |
| 17 | + <NuxtLink to="/"> |
| 18 | + <span class="text-xl text-white no-underline lg:text-black is-active"> |
| 19 | + Home |
| 20 | + </span> |
| 21 | + </NuxtLink> |
| 22 | + </li> |
| 23 | + <li class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"> |
| 24 | + <NuxtLink to="/products"> |
| 25 | + <span class="text-xl text-white no-underline lg:text-black">Products</span> |
| 26 | + </NuxtLink> |
| 27 | + </li> |
| 28 | + <li class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"> |
| 29 | + <NuxtLink to="/categories"> |
| 30 | + <span class="text-xl text-white no-underline lg:text-black is-active">Categories</span> |
| 31 | + </NuxtLink> |
| 32 | + </li> |
| 33 | + <li class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"> |
| 34 | + <NuxtLink to="/search"> |
| 35 | + <span class="text-xl text-white no-underline lg:text-black is-active">Search</span> |
| 36 | + </NuxtLink> |
| 37 | + </li> |
| 38 | + <li class="inline-block py-2 text-xl font-semibold no-underline lg:text-base lg:px-4"> |
| 39 | + <LayoutCart /> |
| 40 | + </li> |
| 41 | + </ul> |
| 42 | + </nav> |
83 | 43 | </div> |
84 | 44 | </div> |
85 | 45 | </div> |
86 | | - </header> |
87 | | - </div> |
| 46 | + </div> |
| 47 | + </header> |
88 | 48 | </template> |
89 | 49 |
|
90 | 50 | <style scoped> |
|
0 commit comments