File tree Expand file tree Collapse file tree 6 files changed +25
-9
lines changed
components/custom/Nav/icon Expand file tree Collapse file tree 6 files changed +25
-9
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " enspire " : patch
3+ ---
4+
5+ Added loading page for better UX
Original file line number Diff line number Diff line change 1414 "customizations" : {
1515 "vscode" : {
1616 "extensions" : [
17- // Required extensions
1817 " Vue.volar" ,
1918 " bradlc.vscode-tailwindcss" ,
2019 " dbaeumer.vscode-eslint" ,
2120 " Nuxtr.nuxtr-vscode" ,
2221 " Prisma.prisma" ,
23- // Do not install Prettier. It will conflict with eslint.
24- " -esbenp.prettier-vscode "
22+ " -esbenp.prettier-vscode " ,
23+ " csstools.postcss "
2524 ]
2625 }
2726 },
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { ConfigProvider } from ' radix-vue'
3+ import { ClerkLoaded , ClerkLoading } from ' vue-clerk'
4+ import { IndefiniteProgressBar } from ' ~/components/ui/indefinite-progress-bar'
35import ' @unocss/reset/tailwind-compat.css'
46
57const useIdFunction = () => useId ()
@@ -16,7 +18,20 @@ useHead({
1618 <ConfigProvider :use-id =" useIdFunction" >
1719 <NuxtLoadingIndicator />
1820 <VitePwaManifest />
19- <NuxtLayout >
21+ <ClerkLoading >
22+ <div class =" absolute z-100 h-screen w-screen bg-background" >
23+ <div class =" h-full w-full flex flex-col items-center justify-center space-y-6" >
24+ <div class =" flex justify-center space-x-1" >
25+ <SvgoLogo class =" pt-1 text-7xl hover:animate-spin" />
26+ <div class =" mt-1 text-6xl tracking-tight" >
27+ enspire
28+ </div >
29+ </div >
30+ <Icon name =" svg-spinners:3-dots-fade" size =" 2em" />
31+ </div >
32+ </div >
33+ </ClerkLoading >
34+ <NuxtLayout class =" z-10" >
2035 <NuxtPage />
2136 </NuxtLayout >
2237 </ConfigProvider >
File renamed without changes.
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import IconLogo from ' @/assets/logo.svg'
32 </script >
43
54<template >
6- <!-- TODO: Just a placeholder lol nobody would want a skull to be their icon -->
75 <NuxtLink class =" flex items-center" to =" /" >
8- <IconLogo class =" text-3xl pt-1" />
6+ <SvgoLogo class =" pt-1 text-3xl " />
97 </NuxtLink >
108</template >
119
Original file line number Diff line number Diff line change 11<script setup lang="ts">
2- import IconLogo from ' @/assets/logo.svg'
32import { useFavicon , usePreferredDark } from ' @vueuse/core'
43
54const isDark = usePreferredDark ()
@@ -16,7 +15,7 @@ useFavicon(favicon)
1615 >
1716 <div class =" relative hidden h-screen flex-col bg-muted text-white dark:border-r p-10 lg:flex bg-zinc-900" >
1817 <div class =" relative z-20 flex items-center text-lg font-medium" >
19- <IconLogo class =" text-3xl mt-1.5 hover:animate-spin" />
18+ <SvgoLogo class =" text-3xl mt-1.5 hover:animate-spin" />
2019 <div class =" ml-0.5 text-2xl tracking-tight" >
2120 enspire
2221 </div >
You can’t perform that action at this time.
0 commit comments