-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathapp.vue
More file actions
56 lines (52 loc) · 1.93 KB
/
Copy pathapp.vue
File metadata and controls
56 lines (52 loc) · 1.93 KB
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
<template>
<div data-bs-theme="dark" class="d-flex flex-column bg-body-tertiary text-body" style="min-height: 100vh">
<nav class="navbar navbar-expand-lg sticky-top border-bottom bg-body-tertiary" style="backdrop-filter: blur(8px); background-color: rgb(43 48 53 / 70%) !important">
<div class="container-fluid">
<NuxtLink class="navbar-brand" to="/">Hits Counter</NuxtLink>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavAltMarkup" aria-controls="navbarNavAltMarkup" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavAltMarkup">
<div class="navbar-nav ms-auto">
<NuxtLink to="/history" class="nav-link" aria-disabled="true">
<i class="bi bi-clock-history me-2"></i>History
</NuxtLink>
<a class="nav-link" aria-disabled="true"
target="_blank"
href="https://github.com/donaldzou/hits-counter">
<i class="bi bi-github me-2"></i>GitHub
</a>
</div>
</div>
</div>
</nav>
<NuxtPage></NuxtPage>
<footer class="bg-body mt-auto">
<div class="container py-3 d-flex">
<small>
Made with <i class="bi bi-heart-fill"></i> by <a href="https://github.com/donaldzou">Donald Zou</a>
</small>
</div>
</footer>
</div>
</template>
<script setup lang="ts">
useSeoMeta({
title: 'Hits Counter | Track Website Visits with a badge',
ogTitle: 'Hits Counter | Track Website Visits with an badge',
description: 'Track your website or GitHub profile / repo with an badge. No JavaScript required.',
ogDescription: 'Track your website or GitHub profile / repo with an badge. No JavaScript required.',
ogImage: 'https://hitscounter.dev/seo.png',
})
</script>
<style>
.page-enter-active,
.page-leave-active {
transition: all 0.5s;
}
.page-enter-from,
.page-leave-to {
opacity: 0;
filter: blur(8px);
}
</style>