-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
109 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<script setup lang="ts"> | ||
import 'primeicons/primeicons.css' | ||
</script> | ||
|
||
<template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<template lang=""> | ||
<i :class="'pi '+props.icon+' '+props.className"></i> | ||
</template> | ||
|
||
<script setup> | ||
const props = defineProps(['icon', 'className']); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<template lang=""> | ||
<router-link :to="{ name: 'home' }" class="text-2xl font-bold text-[#67c23a]"> | ||
Baitaptracnghiem | ||
</router-link> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<template lang=""> | ||
<div class="text-xs hidden md:flex uppercase font-semibold justify-between items-center flex-1"> | ||
<div class="flex gap-5"> | ||
<div>Đề thi THPT</div> | ||
<div>Lớp 12</div> | ||
<div>Lớp 11</div> | ||
<div>Lớp 10</div> | ||
<div>Tiếng anh</div> | ||
<div>Đại học</div> | ||
<div>Trắc nghiệm tính cách MBTI</div> | ||
</div> | ||
<Searchbar/> | ||
</div> | ||
<div class="flex md:hidden justify-end flex-1"> | ||
<Icon icon="pi-bars" className="text-xl"/> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
import Searchbar from "@/components/Searchbar.vue"; | ||
import Icon from "@/components/Icon.vue"; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<template lang=""> | ||
<button class="text-gray-400 flex items-center gap-1 outline-none text-[0.6rem]"> | ||
<Icon icon="pi-search" /> | ||
<span class="uppercase">tìm kiếm</span> | ||
</button> | ||
</template> | ||
<script setup> | ||
import Icon from "@/components/Icon.vue"; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<template lang=""> | ||
<div> | ||
<Header/> | ||
<div class="pt-12 min-h-screen"> | ||
<router-view/> | ||
</div> | ||
<Footer/> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts"> | ||
import Header from "@/layout/Header.vue"; | ||
import Footer from "@/layout/Footer.vue"; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<template lang=""> | ||
<div class="h-16 bg-slate-100 flex items-center justify-center"> | ||
Footer | ||
</div> | ||
</template> | ||
<script setup> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<script setup> | ||
import Logo from "@/components/Logo.vue"; | ||
import Navbar from "@/components/Navbar.vue"; | ||
</script> | ||
|
||
<template lang=""> | ||
<div class="fixed w-full top-0 left-0 bg-white px-2 md:px-5 h-12 flex items-center shadow-md gap-4"> | ||
<Logo /> | ||
<Navbar /> | ||
</div> | ||
</template> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
<template lang=""> | ||
<div> | ||
Exercise | ||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<template lang=""> | ||
|
||
<div> | ||
Home page | ||
</div> | ||
</template> | ||
<script setup lang="ts"> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters