Skip to content

Commit 5c22520

Browse files
committed
Restore footer
1 parent 49783b3 commit 5c22520

3 files changed

Lines changed: 97 additions & 0 deletions

File tree

website/.vuepress/client.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import { defineClientConfig } from '@vuepress/client'
2+
import Layout from './layouts/Layout.vue'
3+
4+
export default defineClientConfig({
5+
layouts: {
6+
Layout,
7+
},
8+
})
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
<script setup>
2+
import ParentLayout from '@vuepress/theme-default/layouts/Layout.vue'
3+
</script>
4+
5+
<template>
6+
<ParentLayout>
7+
<template #page-bottom>
8+
<div class="my-footer">
9+
<hr>
10+
<a href="/contribute.html">Sponsors </a><br>
11+
<a href="https://www.digitalocean.com/" target="_blank"><img class="sponsor_logo" src="images/DO_Powered_by_Badge_blue.svg"/></a>
12+
<a href="https://incube8games.com/" target="_blank"><img class="sponsor_logo incube8" src="images/Incube8-Games-Logo.png"/></a>
13+
</div>
14+
</template>
15+
</ParentLayout>
16+
</template>
17+
18+
<style lang="css">
19+
.my-footer {
20+
font-size: 0.75rem;
21+
text-align: center;
22+
padding-top: 20px;
23+
}
24+
.sponsor_logo {
25+
padding-top: 10px;
26+
padding-left: 15px;
27+
height: 35px;
28+
}
29+
.incube8 {
30+
filter: drop-shadow(0 0 0.4rem white);
31+
}
32+
</style>
Lines changed: 57 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)