|
1 | 1 | <script setup lang="ts">
|
2 | 2 |
|
| 3 | +
|
3 | 4 | </script>
|
4 | 5 |
|
5 | 6 | <template>
|
|
8 | 9 | <div class="w-1/2">
|
9 | 10 | <div class="mb-12 leading-loose text-3xl opacity-80 items-center">
|
10 | 11 | <div class="">Why aren’t you good at English?</div>
|
11 |
| - <div class="align-middle">It’s because you haven’t used <span class="text-fuchsia-400 font-bold">Earthworm</span> yet! 🤪 <i class="animate-wink inline w-1 h-8 dark:bg-white bg-slate-900 mx-2 text-2xl p-[2px]"></i></div> |
| 12 | + <div class="align-middle">It’s because you haven’t used <span |
| 13 | + class="text-fuchsia-400 font-bold">EARTHWORM</span> yet! 🤪 <i |
| 14 | + class="animate-wink inline w-1 h-8 dark:bg-white bg-slate-900 mx-2 text-2xl p-[2px]"></i></div> |
12 | 15 | </div>
|
13 |
| - <a target="_blank" href="https://github.com/cuixueshe/earthworm"> |
14 |
| - <button class="indicator btn btn-outline w-48 hover:text-fuchsia-400 hover:border-fuchsia-400 hover:bg-fuchsia-100 text-fuchsia-300 border-fuchsia-300 mr-4"> |
| 16 | + <NuxtLink href="/main/1"> |
| 17 | + <button |
| 18 | + class="indicator btn btn-outline w-48 hover:text-fuchsia-400 hover:border-fuchsia-400 hover:bg-fuchsia-100 text-fuchsia-300 border-fuchsia-300 mr-4"> |
15 | 19 | <span class="indicator-item">🌟</span>
|
16 |
| - Star us on GitHub |
| 20 | + Go and get it <kbd class="kbd"> ↵ </kbd> |
| 21 | + </button> |
| 22 | + </NuxtLink> |
| 23 | + |
| 24 | + <a target="_blank" href="https://github.com/cuixueshe/earthworm"> |
| 25 | + <button class="btn w-48"> |
| 26 | + Star us on GitHub |
17 | 27 | </button>
|
18 | 28 | </a>
|
19 |
| - <button class="btn w-48"> Go and get it <kbd class="kbd"> ↵ </kbd></button> |
20 | 29 | </div>
|
21 | 30 | <div class="w-1/2 flex items-center justify-center group select-none cursor-pointer rounded-xl relative">
|
22 | 31 | <div class="absolute flex h-full w-full card">
|
23 | 32 | <div class="bg-dot rounded-[64px]"></div>
|
24 |
| - <div class="absolute left-0 right-0 top-12 text-[220px] text-center group-hover:-skew-y-12 group-hover:rotate-12 transition-all">📖</div> |
25 |
| - <div class="absolute left-40 right-0 top-32 text-[80px] -ml-28 text-center color-gray group-hover:-skew-y-12 group-hover:rotate-[30deg] group-hover:-ml-32 group-hover:-mt-6 transition-all">🪱</div> |
| 33 | + <div |
| 34 | + class="absolute left-0 right-0 top-12 text-[220px] text-center group-hover:-skew-y-12 group-hover:rotate-12 transition-all"> |
| 35 | + 📖</div> |
| 36 | + <div |
| 37 | + class="absolute left-40 right-0 top-32 text-[80px] -ml-28 text-center color-gray group-hover:-skew-y-12 group-hover:rotate-[30deg] group-hover:-ml-32 group-hover:-mt-6 transition-all"> |
| 38 | + 🪱</div> |
26 | 39 | </div>
|
27 | 40 | </div>
|
28 | 41 | </section>
|
29 | 42 | <section class="flex flex-col py-8">
|
30 |
| - <h2 class="text-4xl text-center">What is Earthworm?</h2> |
| 43 | + <h2 class="text-4xl text-center">What is Earthworm?</h2> |
31 | 44 | <p class="text-center">an open-source, collaborative, user-friendly English learning tool.</p>
|
32 | 45 | <div class="flex">
|
33 |
| - <div class="rounded-3xl my-8 mx-2 border dark:border-slate-600 bg-gradient-to-b from-neutral-50/90 to-neutral-100/90 transition duration-300 dark:from-neutral-600/90 dark:to-neutral-450/90 w-1/2 hover:shadow-2xl"> |
| 46 | + <div |
| 47 | + class="rounded-3xl my-8 mx-2 border dark:border-slate-600 bg-gradient-to-b from-neutral-50/90 to-neutral-100/90 transition duration-300 dark:from-neutral-600/90 dark:to-neutral-450/90 w-1/2 hover:shadow-2xl"> |
34 | 48 | <div class="h-[330px] flex p-4"> wip... </div>
|
35 | 49 | </div>
|
36 |
| - <div class="rounded-3xl my-8 mx-2 border dark:border-slate-600 bg-gradient-to-b from-neutral-50/90 to-neutral-100/90 transition duration-300 dark:from-neutral-600/90 dark:to-neutral-450/90 w-1/2 hover:shadow-xl"> |
| 50 | + <div |
| 51 | + class="rounded-3xl my-8 mx-2 border dark:border-slate-600 bg-gradient-to-b from-neutral-50/90 to-neutral-100/90 transition duration-300 dark:from-neutral-600/90 dark:to-neutral-450/90 w-1/2 hover:shadow-xl"> |
37 | 52 | <div class="h-[330px] flex p-4"> wip... </div>
|
38 | 53 | </div>
|
39 |
| - </div> |
| 54 | + </div> |
40 | 55 | <div class="w-1/2"></div>
|
41 | 56 | <div class="w-1/2"></div>
|
42 | 57 | </section>
|
43 | 58 | <section class="flex flex-col py-8">
|
44 |
| - <h2 class="text-4xl text-center">Why Earthworm?</h2> |
| 59 | + <h2 class="text-4xl text-center">Why Earthworm?</h2> |
45 | 60 | </section>
|
46 | 61 | </div>
|
47 | 62 | </template>
|
48 | 63 |
|
49 | 64 | <style>
|
50 |
| -
|
51 |
| -
|
52 | 65 | .bg-dot {
|
53 | 66 | aspect-ratio: 1;
|
54 | 67 | position: relative;
|
|
0 commit comments