pages/site/.vitepress/theme/Layout.vue.in

50 lines
1.6 KiB
Vue
Raw Normal View History

2024-06-15 14:50:22 +00:00
<template>
<DefaultTheme.Layout>
<template #layout-top>
<NolebaseHighlightTargetedHeading />
2024-06-20 11:27:48 +00:00
<ClientOnly>
<Suspense>
<div class="background">
<Background />
</div>
2024-06-20 11:27:48 +00:00
</Suspense>
</ClientOnly>
2024-06-15 14:50:22 +00:00
</template>
<template #layout-bottom>
2024-06-15 15:11:48 +00:00
<footer class="vp-doc">
2024-06-18 18:04:28 +00:00
<div>CC {{ new Date().getFullYear() }} <a class="h-card" rel="me" href="/about"><img src="/me.jpg" alt="" />The Paper Pilot</a>. <a rel="license" href="https://creativecommons.org/licenses/by-nc-sa/4.0/">CC BY-NC-SA 4.0</a>.</div>
2024-06-15 14:50:22 +00:00
<div>Any and all opinions listed here are my own and not representative of my employers; future, past and present.</div>
<div><a href="https://resume.incremental.social/thepaperpilot/thepaperpilot">Resume</a> (not actively seeking new opportunities).</div>
2024-06-17 05:08:45 +00:00
<div>Site built from <a href="COMMIT_LINK">this commit</a> on <time>COMMIT_TIME</time>.</div>
2024-06-15 14:50:22 +00:00
</footer>
</template>
</DefaultTheme.Layout>
</template>
<script setup lang="tsx">
import DefaultTheme from 'vitepress/theme'
import { NolebaseHighlightTargetedHeading } from '@nolebase/vitepress-plugin-highlight-targeted-heading/client'
import '@nolebase/vitepress-plugin-highlight-targeted-heading/client/style.css'
import './custom.css'
2024-06-20 11:27:48 +00:00
import Background from './Background.vue'
2024-06-15 15:11:48 +00:00
</script>
<style scoped>
.background {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: -1;
overflow: hidden;
}
2024-06-15 15:11:48 +00:00
footer {
padding: 2em;
z-index: 26;
position: relative;
font-size: small;
background: var(--vp-c-bg-elv);
}
</style>