Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: major housekeeping 🚀 #239

Merged
merged 2 commits into from
Oct 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 19 additions & 17 deletions app.vue
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
<template>
<section
class="h-screen min-w-screen w-screen flex flex-col select-none overflow-hidden bg-stone-100 text-stone-800 transition-colors duration-200 ease-linear dark:bg-stone-900 dark:text-stone-100"
>
<!-- Header -->
<header>
<v-header />
</header>
<main class="flex-1 overflow-y-auto">
<div class="h-full flex items-center justify-center">
<nuxt-page />
</div>
</main>
<!-- Footer -->
<footer>
<v-footer />
</footer>
</section>
<nuxt-layout>
<section
class="h-screen min-w-screen w-screen flex flex-col select-none overflow-hidden bg-stone-100 text-stone-800 transition-colors duration-200 ease-linear dark:bg-stone-900 dark:text-stone-100"
>
<!-- Header -->
<header>
<v-header />
</header>
<main class="flex-1 overflow-y-auto">
<div class="h-full flex items-center justify-center">
<nuxt-page />
</div>
</main>
<!-- Footer -->
<footer>
<v-footer />
</footer>
</section>
</nuxt-layout>
</template>

<script setup lang="ts">
Expand Down
2 changes: 2 additions & 0 deletions certs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
*.*
!.gitignore
4 changes: 2 additions & 2 deletions components/common/ui/VFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
>
<div class="flex items-center">
<p class="text-sm">
Made with <span class="animate-pulse text-red-5">❤️</span> by
Made with <span class="text-red-5 animate-pulse">❤️</span> by

Check warning on line 7 in components/common/ui/VFooter.vue

View workflow job for this annotation

GitHub Actions / ESLint

components/common/ui/VFooter.vue#L7

UnoCSS utilities are not ordered (@unocss/order)
<a href="https://vinayakkulkarni.dev">Vinayak</a> &copy;
{{ state.date }}
</p>
Expand All @@ -29,7 +29,7 @@
<!-- GitHub -->
<a
rel="noopener"
href="https://github.com/vinayakkulkarni"
href="https://github.com/geoql/restaurants"
target="_blank"
aria-label="Github"
class="transition-colors duration-100 ease-linear hover:text-dark-300"
Expand Down
3 changes: 2 additions & 1 deletion components/common/ui/VHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
xmlns="http://www.w3.org/2000/svg"
class="h-5 w-5 cursor-pointer fill-current transition-colors duration-300"
viewBox="-6 -6 512 512"
@click="$router.push({ name: 'index' })"
@click="router.push('/')"
>
<defs />
<defs>
Expand Down Expand Up @@ -75,4 +75,5 @@
const isDark = useDark();
const mapStore = useMap();
const toggleDark = useToggle(isDark);
const router = useRouter();
</script>
2 changes: 1 addition & 1 deletion components/common/ui/VLoader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class="z-10 h-full flex items-center justify-center opacity-75"
>
<svg
class="h-5 w-5 animate-spin text-white"
class="h-5 w-5 text-white animate-spin"

Check warning on line 7 in components/common/ui/VLoader.vue

View workflow job for this annotation

GitHub Actions / ESLint

components/common/ui/VLoader.vue#L7

UnoCSS utilities are not ordered (@unocss/order)
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
Expand Down
Loading
Loading