blob: 6af69360ace5c33a16663b3a83ec5ec9363fd815 (
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
|
<template>
<footer id="vn-footer" class="bottom-0 left-0 z-10 w-full">
<div id="footer-content" class="footer-content" >
<div class="footer-main-container">
<div id="footer-text-container" class="col-span-4 sm:col-span-6 lg:col-span-3">
<p class="my-4 text-sm leading-normal">
CMNext ia a AGPL3 licensed free and open source content management system
</p>
</div>
<nav class="footer-nav" data-footer-nav="1">
<slot name="footer-nav-1" />
</nav>
<nav class="footer-nav" data-footer-nav="2">
<slot name="footer-nav-2" />
</nav>
<nav class="footer-nav" data-footer-nav="3">
<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 id="theme-selection-container" class="color-selector-container">
<p id="nav-title" class="nav-title">
Color Scheme
</p>
<div class="flex flex-row gap-6 md:my-auto">
<div class="">
<button class="bg-sel-btn" data-theme-button="dark-mode" @click.prevent="Dark" >
Dark
</button>
</div>
<div class="">
<fa-icon icon="lightbulb" />
</div>
<div class="">
<button class="bg-sel-btn" data-theme-button="light-mode" @click.prevent="Light">
Light
</button>
</div>
</div>
</div>
</div>
<div id="footer-lower" 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-es'
const isDark = useDark()
const Dark = debounce(() => isDark.value = true, 50)
const Light = debounce(() => isDark.value = false, 50)
</script>
|