|
1 | 1 | <template>
|
2 |
| - <div max-w="full sm:250" mx-auto w-full flex flex-col pb-20> |
| 2 | + <div max-w="full sm:250" mx-auto w-full flex flex-col pb-30> |
3 | 3 | <header flex flex-col gap-4 px-4 pb-4 pt-4>
|
4 | 4 | <nav flex items-center>
|
5 | 5 | <div w-40 flex="~" items-center gap-2 text-4xl>
|
|
8 | 8 | Qrs
|
9 | 9 | </h1>
|
10 | 10 | </div>
|
| 11 | + <!-- Header --> |
| 12 | + <div |
| 13 | + class="hidden sm:flex" |
| 14 | + flex-1 justify-center gap-8 |
| 15 | + text-lg |
| 16 | + > |
| 17 | + <NuxtLink op70 hover="text-blue" duration-300 transition="all ease-in-out" to="/" active-class="!op100" flex="~ items-center gap-1"> |
| 18 | + <span i-carbon-upload inline-block /> |
| 19 | + Send |
| 20 | + </NuxtLink> |
| 21 | + <NuxtLink op70 hover="text-blue" duration-300 transition="all ease-in-out" to="/scan" active-class="!op100" flex="~ items-center gap-1"> |
| 22 | + <span i-carbon-download inline-block /> |
| 23 | + Receive |
| 24 | + </NuxtLink> |
| 25 | + </div> |
| 26 | + <div w-40 flex="~ <sm:1" justify-end text-2xl> |
| 27 | + <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"> |
| 28 | + <span i-carbon:logo-github inline-block /> |
| 29 | + </a> |
| 30 | + </div> |
| 31 | + |
| 32 | + <!-- Deck --> |
11 | 33 | <div
|
12 | 34 | class="flex sm:hidden"
|
13 |
| - left="50%" bottom="40px" translate-x="-50%" |
| 35 | + bottom="75px" left="50%" translate-x="-50%" |
14 | 36 | bg="neutral-100 dark:neutral-900"
|
15 |
| - fixed z-100 |
16 |
| - flex-1 justify-center gap-2 |
17 |
| - rounded-full |
18 |
| - p-2 |
19 |
| - text-sm |
| 37 | + fixed z-100 flex-1 justify-center gap-2 rounded-full p-2 text-sm |
20 | 38 | >
|
21 | 39 | <NuxtLink
|
22 | 40 | to="/"
|
23 | 41 | active-class="!op100 bg-neutral-700 dark:bg-neutral-300 !text-neutral-100 !dark:text-neutral-900"
|
24 |
| - rounded-full px-3 py-2 |
| 42 | + rounded-full px-3 py-1 |
25 | 43 | op70 hover="text-blue"
|
26 | 44 | flex="~ items-center gap-1"
|
27 | 45 | transition="all ease-in-out" duration-300
|
|
32 | 50 | <NuxtLink
|
33 | 51 | to="/scan"
|
34 | 52 | active-class="!op100 bg-neutral-700 dark:bg-neutral-300 !text-neutral-100 !dark:text-neutral-900"
|
35 |
| - rounded-full px-3 py-2 |
| 53 | + rounded-full px-3 py-1 |
36 | 54 | op70 hover="text-blue"
|
37 | 55 | flex="~ items-center gap-1"
|
38 | 56 | transition="all ease-in-out" duration-300
|
|
41 | 59 | Receive
|
42 | 60 | </NuxtLink>
|
43 | 61 | </div>
|
44 |
| - <div |
45 |
| - class="hidden sm:flex" |
46 |
| - flex-1 justify-center gap-8 |
47 |
| - text-lg |
48 |
| - > |
49 |
| - <NuxtLink op70 hover="text-blue" duration-300 transition="all ease-in-out" to="/" active-class="!op100" flex="~ items-center gap-1"> |
50 |
| - <span i-carbon-upload inline-block /> |
51 |
| - Send |
52 |
| - </NuxtLink> |
53 |
| - <NuxtLink op70 hover="text-blue" duration-300 transition="all ease-in-out" to="/scan" active-class="!op100" flex="~ items-center gap-1"> |
54 |
| - <span i-carbon-download inline-block /> |
55 |
| - Receive |
56 |
| - </NuxtLink> |
57 |
| - </div> |
58 |
| - <div w-40 flex="~ <sm:1" justify-end text-2xl> |
59 |
| - <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"> |
60 |
| - <span i-carbon:logo-github inline-block /> |
61 |
| - </a> |
62 |
| - </div> |
63 | 62 | </nav>
|
64 | 63 | </header>
|
65 | 64 | <main h-full w-full flex-1>
|
|
0 commit comments