|
|
@ -1,38 +1,44 @@
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
|
<section class="layout" data-theme="dark">
|
|
|
|
<div class="app">
|
|
|
|
<header>
|
|
|
|
<div class="background">
|
|
|
|
<div class="bg-darkmode-dark shadow">
|
|
|
|
<img src="../assets/background.jpg" alt="">
|
|
|
|
<site-header class="container" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<section class="layout" data-theme="dark">
|
|
|
|
</header>
|
|
|
|
<header>
|
|
|
|
|
|
|
|
<div class="bg-dark-opacity1 shadow">
|
|
|
|
|
|
|
|
<site-header class="container" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
|
|
<main class="content">
|
|
|
|
<main class="content">
|
|
|
|
<div v-if="$page.frontmatter?.sidebar" class="container">
|
|
|
|
<BannerWrapperNetwork v-if="!$page.frontmatter?.disableAnimation" class="background opacity-25" />
|
|
|
|
<div class="row">
|
|
|
|
<div v-if="$page.frontmatter?.sidebar" class="container">
|
|
|
|
<div class="col-xl-4 p-4">
|
|
|
|
<div class="row">
|
|
|
|
<div class="card toc">
|
|
|
|
<div class="col-xl-4 p-4">
|
|
|
|
<div class="card-header">
|
|
|
|
<div class="card toc">
|
|
|
|
<router-link :to="`/${$page.path.split('/')[1]}/`"><b>/{{ $page.path.split('/')[1] }}/</b></router-link>
|
|
|
|
<div class="card-header">
|
|
|
|
</div>
|
|
|
|
<router-link :to="`/${$page.path.split('/')[1]}/`"><b>/{{ $page.path.split('/')[1] }}/</b></router-link>
|
|
|
|
<div class="card-body">
|
|
|
|
</div>
|
|
|
|
<FolderList :path="`/${$page.path.split('/')[1]}/`" />
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
<FolderList :path="`/${$page.path.split('/')[1]}/`" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<Content class="col-xl-8 p-4" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<Content class="col-xl-8 p-4" />
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div v-else>
|
|
|
|
<div v-else>
|
|
|
|
<div class="container">
|
|
|
|
<div class="container">
|
|
|
|
<Content class="p-4" />
|
|
|
|
<Content class="p-4" />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<footer class="footer my-3">
|
|
|
|
<footer class="footer py-3">
|
|
|
|
<site-footer class="container" />
|
|
|
|
<site-footer class="container" />
|
|
|
|
</footer>
|
|
|
|
</footer>
|
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
<script>
|
|
|
@ -44,25 +50,43 @@ import "bootstrap-icons/font/bootstrap-icons.scss";
|
|
|
|
import "./main.scss";
|
|
|
|
import "./main.scss";
|
|
|
|
|
|
|
|
|
|
|
|
import "@vuepress/theme-default/styles/code.styl";
|
|
|
|
import "@vuepress/theme-default/styles/code.styl";
|
|
|
|
|
|
|
|
import BannerWrapperNetwork from "../components/BannerWrapperNetwork";
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
components: { SiteFooter, SiteHeader, FolderList },
|
|
|
|
components: {BannerWrapperNetwork, SiteFooter, SiteHeader, FolderList },
|
|
|
|
};
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
<style scoped lang="scss">
|
|
|
|
|
|
|
|
.layout {
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
|
|
|
}
|
|
|
|
header {
|
|
|
|
header {
|
|
|
|
position: fixed;
|
|
|
|
position: fixed;
|
|
|
|
z-index: 10;
|
|
|
|
z-index: 10;
|
|
|
|
width: 100%;
|
|
|
|
width: 100%;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
font-size: 1.2rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
main {
|
|
|
|
main.content {
|
|
|
|
padding: 5rem 0 2rem 0;
|
|
|
|
padding: 5rem 0 2rem 0;
|
|
|
|
background-color: #1f262b;
|
|
|
|
|
|
|
|
.toc {
|
|
|
|
.toc {
|
|
|
|
position: sticky;
|
|
|
|
position: sticky;
|
|
|
|
top: 5rem;
|
|
|
|
top: 5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
.background {
|
|
|
|
|
|
|
|
height: 100vh;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
position: fixed;
|
|
|
|
|
|
|
|
top: 0;
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
object-fit: cover;
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</style>
|
|
|
|