File tree 7 files changed +82
-5
lines changed
7 files changed +82
-5
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <div >
2
+ <NuxtLayout >
3
3
<NuxtPage />
4
- </div >
4
+ </NuxtLayout >
5
5
</template >
6
6
7
7
<script setup lang="ts">
Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+ defineProps <{
3
+ title: string
4
+ }>()
5
+ </script >
6
+
7
+ <template >
8
+ <div class =" w-[330px] h-[220px] flex flex-col cursor-pointer border border-slate-400 rounded-xl px-6 py-4 hover:shadow-lg hover:shadow-purple-400/50 hover:border-purple-400 transition-all mb-4" >
9
+ <p class =" text-2xl leading-loose font-bold" >{{ title }}</p >
10
+ <div class =" mb-4" ></div >
11
+ <div >this is the course's description</div >
12
+ </div >
13
+ </template >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <footer class =" h-12 flex justify-center items-center opacity-65" >
3
+ Copyright © 2023-2024, cuixueshe. All rights reserved.
4
+ </footer >
5
+ </template >
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <nav class =" h-20 flex items-center justify-between" >
3
+ <div class =" logo flex" >
4
+ <img width =" 48" height =" 48" class =" rounded-md overflow-hidden mr-2" src =" /logo.png" alt =" earth-worm-logo" >
5
+ <h1 class =" w-14 text-md font-black leading-normal text-wrap text-[#C683D7]" >Earth Worm</h1 >
6
+ </div >
7
+ <div >
8
+ <button class =" btn btn-sm btn-ghost rounded-md mx-1 w-8 h-8 p-0" >
9
+ <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24" stroke-width =" 1.5" stroke =" currentColor" class =" w-6 h-6" >
10
+ <path stroke-linecap =" round" stroke-linejoin =" round" d =" M15.75 6a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0ZM4.501 20.118a7.5 7.5 0 0 1 14.998 0A17.933 17.933 0 0 1 12 21.75c-2.676 0-5.216-.584-7.499-1.632Z" />
11
+ </svg >
12
+ </button >
13
+ <button class =" btn btn-sm btn-ghost rounded-md mx-1 w-8 h-8 p-0" >
14
+ <svg xmlns =" http://www.w3.org/2000/svg" fill =" none" viewBox =" 0 0 24 24" stroke-width =" 1.5" stroke =" currentColor" class =" w-6 h-6" >
15
+ <path stroke-linecap =" round" stroke-linejoin =" round" d =" M12 3v2.25m6.364.386-1.591 1.591M21 12h-2.25m-.386 6.364-1.591-1.591M12 18.75V21m-4.773-4.227-1.591 1.591M5.25 12H3m4.227-4.773L5.636 5.636M15.75 12a3.75 3.75 0 1 1-7.5 0 3.75 3.75 0 0 1 7.5 0Z" />
16
+ </svg >
17
+ </button >
18
+ </div >
19
+ </nav >
20
+ </template >
Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+
3
+ </script >
4
+
5
+ <template >
6
+ <div class =" flex flex-col min-h-100vh min-h-screen xl:w-[1200px] m-auto xl:px-2 px-24" >
7
+ <Navbar ></Navbar >
8
+ <div class =" flex-1" >
9
+ <slot ></slot >
10
+ </div >
11
+ <Footer ></Footer >
12
+ </div >
13
+ </template >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div class =" flex flex-col h-full" >
3
- <Header ></Header >
3
+ <!-- < Header></Header> -- >
4
4
<main >
5
5
<Game ></Game >
6
6
</main >
Original file line number Diff line number Diff line change
1
+ <script setup lang="ts">
2
+ // definePageMeta({
3
+ // layout: 'default'
4
+ // })
5
+ </script >
6
+
1
7
<template >
2
- <div >
3
- <h1 >Welcome to the homepage</h1 >
8
+ <div class =" container w-full" >
9
+ <section class =" flex md:flex-row md:justify-between justify-center flex-col py-8" >
10
+ <div class =" w-1/2" >
11
+ <div class =" flex mb-12" >
12
+ <img width =" 160" height =" 160" class =" rounded-xl overflow-hidden mr-2" src =" /logo.png" alt =" earth-worm-logo" >
13
+ <h1 class =" w-48 text-6xl font-black leading-snug text-wrap text-[#C683D7]" >Earth Worm</h1 >
14
+ </div >
15
+ <div class =" mb-12 leading-loose text-3xl opacity-60 items-center" >
16
+ <p >Why did you not good at English?</p >
17
+ <p class =" align-middle" >Because you have not use Earthworm yet 🤪 !<i class =" animate-wink inline-flex w-1 h-8 bg-white mx-2 leading-snug" ></i ></p >
18
+ </div >
19
+ <button class =" btn w-48" > Go and get it <kbd class =" kbd" > ↵ </kbd ></button >
20
+ </div >
21
+ <div class =" w-1/2 flex items-center justify-center group select-none cursor-pointer" >
22
+ <div class =" text-[220px] text-center group-hover:-skew-y-12 group-hover:rotate-12 transition-all" >📖</div >
23
+ <div class =" text-[80px] -ml-28 text-center color-gray group-hover:-skew-y-12 group-hover:rotate-[20deg] group-hover:-ml-32 group-hover:-mt-12 transition-all" >🪱</div >
24
+ </div >
25
+ </section >
26
+ <section class =" flex flex-col" >
27
+ <h2 >What's is Earthworm ?</h2 >
28
+
29
+ </section >
4
30
</div >
5
31
</template >
You can’t perform that action at this time.
0 commit comments