|
1 | 1 | <template>
|
2 |
| - <main h-full> |
3 |
| - <div flex flex-col gap-4 px-4 pb-4 pt-4> |
4 |
| - <div flex items-center gap-2 text-4xl> |
5 |
| - <img src="/logo.svg" alt="Qrs" size-1em> |
6 |
| - <h1> |
7 |
| - Qrs |
8 |
| - </h1> |
9 |
| - </div> |
10 |
| - <div h-full flex gap-8> |
11 |
| - <NuxtLink op70 hover="text-blue" duration-300 transition="all ease-in-out" to="/" active-class="!op100" flex="~ items-center gap-1"> |
12 |
| - <span i-carbon-upload inline-block /> |
13 |
| - Transfer |
14 |
| - </NuxtLink> |
15 |
| - <NuxtLink op70 hover="text-blue" duration-300 transition="all ease-in-out" to="/scan" active-class="!op100" flex="~ items-center gap-1"> |
16 |
| - <span i-carbon-download inline-block /> |
17 |
| - Receive |
18 |
| - </NuxtLink> |
19 |
| - </div> |
20 |
| - </div> |
21 |
| - <slot /> |
22 |
| - <div flex flex-col items-center px-4 py-2> |
23 |
| - <a href="https://github.com/qqrss/qrs" target="_blank" op70 hover="text-blue" duration-300 transition="all ease-in-out" flex="~ items-center gap-1"> |
24 |
| - <span i-carbon:logo-github inline-block /><span>GitHub</span> |
25 |
| - </a> |
26 |
| - </div> |
27 |
| - </main> |
| 2 | + <div h-full w-full flex flex-col> |
| 3 | + <header flex flex-col gap-4 px-4 pb-4 pt-4> |
| 4 | + <nav flex items-center> |
| 5 | + <div w-40 flex items-center gap-2 text-4xl> |
| 6 | + <img src="/logo.svg" alt="Qrs" size-1em> |
| 7 | + <h1> |
| 8 | + Qrs |
| 9 | + </h1> |
| 10 | + </div> |
| 11 | + <div h-full flex flex-1 justify-center gap-8 text-lg> |
| 12 | + <NuxtLink op70 hover="text-blue" duration-300 transition="all ease-in-out" to="/" active-class="!op100" flex="~ items-center gap-1"> |
| 13 | + <span i-carbon-upload inline-block /> |
| 14 | + Transfer |
| 15 | + </NuxtLink> |
| 16 | + <NuxtLink op70 hover="text-blue" duration-300 transition="all ease-in-out" to="/scan" active-class="!op100" flex="~ items-center gap-1"> |
| 17 | + <span i-carbon-download inline-block /> |
| 18 | + Receive |
| 19 | + </NuxtLink> |
| 20 | + </div> |
| 21 | + <div w-40 flex justify-end text-2xl> |
| 22 | + <a href="https://github.com/qqrss/qrs" target="_blank" op70 hover="text-blue" duration-300 transition="all ease-in-out" flex="~ items-center gap-1"> |
| 23 | + <span i-carbon:logo-github inline-block /> |
| 24 | + </a> |
| 25 | + </div> |
| 26 | + </nav> |
| 27 | + </header> |
| 28 | + <main h-full w-full flex-1> |
| 29 | + <slot /> |
| 30 | + </main> |
| 31 | + </div> |
28 | 32 | </template>
|
0 commit comments