This repository has been archived by the owner on Aug 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
global-bottom.vue
49 lines (49 loc) · 1.91 KB
/
global-bottom.vue
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
<template>
<footer v-if="$slidev.nav.currentPage > 5" class="absolute bottom-0 flex justify-between w-full p-4 z-10 gap-4">
<a class="underline underline-offset-4 decoration-dashed" href="https://github.com/smarlhens" target="_blank">
Samuel MARLHENS
</a>
<span class="border border-1 rounded-full"></span>
<span class="flex grow justify-between items-center h-6 tabular-nums">
<span>09/2014</span>
<span :class="[$slidev.nav.currentPage >= 29 && 'invisible']">
<img
src="/images/smarlhens_400x400.webp"
alt="Samuel MARLHENS"
class="rounded-full max-h-[3rem] border border-2 border-white"
/>
</span>
<span>09/2016</span>
<span :class="[($slidev.nav.currentPage < 29 || $slidev.nav.currentPage >= 40) && 'invisible']">
<img
src="/images/smarlhens_400x400.webp"
alt="Samuel MARLHENS"
class="rounded-full max-h-[3rem] border border-2 border-white"
/>
</span>
<span>09/2019</span>
<span :class="[($slidev.nav.currentPage < 40 || $slidev.nav.currentPage >= 53) && 'invisible']">
<img
src="/images/smarlhens_400x400.webp"
alt="Samuel MARLHENS"
class="rounded-full max-h-[3rem] border border-2 border-white"
/>
</span>
<span>01/2022</span>
<span :class="[$slidev.nav.currentPage < 53 && 'invisible']">
<img
src="/images/smarlhens_400x400.webp"
alt="Samuel MARLHENS"
class="rounded-full max-h-[3rem] border border-2 border-white"
/>
</span>
<span>12/2023</span>
</span>
<span class="border border-1 rounded-full"></span>
<span class="inline-flex gap-1 tabular-nums">
<span>{{ $slidev.nav.currentPage < 10 ? '0' : '' }}{{ $slidev.nav.currentPage }}</span>
<span>/</span>
<span>{{ $slidev.nav.total }}</span>
</span>
</footer>
</template>