blob: 98f6f55323c66209cf21d31533564114731725a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
<template>
<footer class="bottom-0 left-0 z-10 w-full">
<div id="footer-content" class="footer-content" >
<div class="footer-main-container">
<div class="col-span-4 sm:col-span-6 lg:col-span-3">
<p class="my-4 text-xs leading-normal">
No tracking, no external dependencies, no ads. You shouldn't trust anyone with your data,
and I am no exception.
</p>
</div>
<nav>
<slot name="footer-nav-1" />
</nav>
<nav>
<slot name="footer-nav-2" />
</nav>
<nav>
<p class="nav-title">
Built with
</p>
<a class="footer-link" href="https://www.vaughnnugent.com/resources/software/modules">VNLib HTTP v1.0.1</a>
<a class="footer-link" href="https://tailwindcss.com/">Tailwindcss</a>
<a class="footer-link" href="https://vuejs.org/">Vuejs v3</a>
<a class="footer-link" href="https://fontawesome.com/">Font Awesome</a>
</nav>
<div class="color-selector-container">
<p class="nav-title">
Color Scheme
</p>
<div class="flex flex-row gap-6 md:my-auto">
<div class="">
<button class="bg-sel-btn" @click.prevent="Dark" >
Dark
</button>
</div>
<div class="">
<fa-icon icon="lightbulb" />
</div>
<div class="">
<button class="bg-sel-btn" @click.prevent="Light">
Light
</button>
</div>
</div>
</div>
</div>
<div class="text-sm footer-lower">
<div class="mb-6 md:mb-0">
<p class="text-left">
Highly angular trousers ~ Pete Jordanson
</p>
</div>
<div class="mb-6 text-left md:mb-0">
Copyright © 2023 Vaughn Nugent. All Rights Reserved.
</div>
</div>
</div>
</footer>
</template>
<script setup lang="ts">
import { useDark } from '@vueuse/core'
import { debounce } from 'lodash'
const isDark = useDark()
const Dark = debounce(() => isDark.value = true, 50)
const Light = debounce(() => isDark.value = false, 50)
</script>
|