|
8 | 8 | } |
9 | 9 | </script> |
10 | 10 | <div class="font-black md:pl-[280px] w-full md:w-[200px]"> |
11 | | - <button id="nav-button" type="button" class="mt-[17px] flex md:hidden body4 text-black-700 w-full px-[16px] py-[12px] border-gray-300 border rounded-[6px]"> |
| 11 | + <button |
| 12 | + id="nav-button" |
| 13 | + type="button" |
| 14 | + class="mt-[17px] flex md:hidden body4 text-black-700 w-full px-[16px] py-[12px] border-gray-300 border rounded-[6px]" |
| 15 | + > |
12 | 16 | Menu |
13 | | - <img src="~/src/assets/icon-chevron-right.svg" class="rotate-90 ml-auto" alt=""> |
| 17 | + <img |
| 18 | + src="~/src/assets/icon-chevron-right.svg" |
| 19 | + class="rotate-90 ml-auto" |
| 20 | + alt="" |
| 21 | + > |
14 | 22 | </button> |
15 | | - <aside |
16 | | - id="nav" |
17 | | - class="hidden w-full border border-gray-300 border-t-0 bg-white md:h-[calc(100vh-66px)] md:overflow-y-auto md:block md:w-[280px] md:top-0 md:mt-[66px] md:fixed md:left-0 md:pb-[60px]" |
18 | | - > |
| 23 | + <aside id="nav" class="hidden w-full border border-gray-300 border-t-0 bg-white md:h-[calc(100vh-66px)] md:overflow-y-auto md:block md:w-[280px] md:top-0 md:mt-[66px] md:fixed md:left-0 md:pb-[60px]"> |
19 | 24 | <div class="flex flex-col justify-center pr-4 pt-4 md:hidden"> |
20 | | - <button type="button" id="nav-close-btn" class="hidden ml-auto w-[24px] h-[24px]"> |
| 25 | + <button |
| 26 | + type="button" |
| 27 | + id="nav-close-btn" |
| 28 | + class="hidden ml-auto w-[24px] h-[24px]" |
| 29 | + > |
21 | 30 | <img src="~/src/assets/icon-close.svg" alt=""> |
22 | 31 | </button> |
23 | 32 | </div> |
24 | 33 | <ul class="mt-[22px] px-[12px] [&>li]:px-[12px] [&>li]:mb-[12px]"> |
25 | 34 | <li> |
26 | 35 | <a href="~/src/docs/getting-started.html" class="w-full flex items-center"> |
27 | 36 | <div class="w-[28px] h-[28px] rounded-[6px] p-[6px] border-[1px] border-gray-300 drop-shadow-[4px_0_2px_#E8EBEF] mr-[12px]"> |
28 | | - <img src="~/src/assets/icon-flag.svg" alt="" width="14" height="14"> |
| 37 | + <img |
| 38 | + src="~/src/assets/icon-flag.svg" |
| 39 | + alt="" |
| 40 | + width="14" |
| 41 | + height="14" |
| 42 | + > |
29 | 43 | </div> |
30 | 44 | <span class="title5">Getting Started</span> |
31 | | - <img src="~/src/assets/icon-chevron-right.svg" alt="" class="ml-auto" width="20" height="20"> |
| 45 | + <img |
| 46 | + src="~/src/assets/icon-chevron-right.svg" |
| 47 | + alt="" |
| 48 | + class="ml-auto" |
| 49 | + width="20" |
| 50 | + height="20" |
| 51 | + > |
32 | 52 | </a> |
33 | 53 | </li> |
34 | 54 | <li> |
35 | 55 | <a href="~/src/docs/rules.html" class="w-full flex items-center"> |
36 | 56 | <div class="w-[28px] h-[28px] rounded-[6px] p-[6px] border-[1px] border-gray-300 drop-shadow-[4px_0_2px_#E8EBEF] mr-[12px]"> |
37 | | - <img src="~/src/assets/icon-docs.svg" alt="" width="14" height="14"> |
| 57 | + <img |
| 58 | + src="~/src/assets/icon-docs.svg" |
| 59 | + alt="" |
| 60 | + width="14" |
| 61 | + height="14" |
| 62 | + > |
38 | 63 | </div> |
39 | 64 | <span class="title5">Rules</span> |
40 | | - <img src="~/src/assets/icon-chevron-right.svg" alt="" class="ml-auto" width="20" height="20"> |
| 65 | + <img |
| 66 | + src="~/src/assets/icon-chevron-right.svg" |
| 67 | + alt="" |
| 68 | + class="ml-auto" |
| 69 | + width="20" |
| 70 | + height="20" |
| 71 | + > |
41 | 72 | </a> |
42 | 73 | </li> |
43 | 74 | <li> |
44 | | - <module |
45 | | - href="/components/nav-list.html" |
46 | | - locals='{ "id": "best-practice-nav", "list": {{bestPracticeNavs}} }'> |
| 75 | + <module href="/components/nav-list.html" locals='{ "id": "best-practice-nav", "list": {{bestPracticeNavs}} }'> |
47 | 76 | <span class="title5"> |
48 | 77 | Best Practice |
49 | 78 | </span> |
50 | 79 | </module> |
51 | 80 | </li> |
52 | 81 | <li> |
53 | | - <module |
54 | | - href="/components/nav-list.html" |
55 | | - locals='{ "id": "seo-nav", "list": {{seoNavs}} }'> |
| 82 | + <module href="/components/nav-list.html" locals='{ "id": "seo-nav", "list": {{seoNavs}} }'> |
56 | 83 | <span class="title5"> |
57 | 84 | SEO |
58 | 85 | </span> |
59 | 86 | </module> |
60 | 87 | </li> |
61 | 88 | <li> |
62 | | - <module |
63 | | - href="/components/nav-list.html" |
64 | | - locals='{ "id": "accessibility-nav", "list": {{accessibilityNavs}} }'> |
| 89 | + <module href="/components/nav-list.html" locals='{ "id": "accessibility-nav", "list": {{accessibilityNavs}} }'> |
65 | 90 | <span class="title5"> |
66 | 91 | Accessibility |
67 | 92 | </span> |
68 | 93 | </module> |
69 | 94 | </li> |
70 | 95 | <li> |
71 | | - <module |
72 | | - href="/components/nav-list.html" |
73 | | - locals='{ "id": "style-nav", "list": {{styleNavs}} }'> |
| 96 | + <module href="/components/nav-list.html" locals='{ "id": "style-nav", "list": {{styleNavs}} }'> |
74 | 97 | <span class="title5"> |
75 | 98 | Style |
76 | 99 | </span> |
|
0 commit comments