Skip to content

Commit

Permalink
feat: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenKS12138 committed Mar 10, 2024
1 parent 0553b7a commit bdefba0
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 6 deletions.
Binary file added public/bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed public/bg1.png
Binary file not shown.
Binary file removed src/assets/FNwWK1Y.jpg
Binary file not shown.
Binary file removed src/assets/FSwWKYB.jpg
Binary file not shown.
Binary file removed src/assets/OLJxbaR.jpg
Binary file not shown.
Binary file removed src/assets/rVtDsho.png
Binary file not shown.
10 changes: 6 additions & 4 deletions src/components/ArticleWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,12 @@ watch(isDark, () => {
<div class="mt-2 italic">{{ (frontmatter.tags || []).map(x => `#${x}`).join(' ') }}</div>
</div>
<slot></slot>
<Giscus v-if="showGiscus" ref="giscusRef" id="comments" repo="ChenKS12138/ChenKS12138.github.io"
repoId="MDEwOlJlcG9zaXRvcnkyNzA4Njc3ODM=" category="Announcements" categoryId="DIC_kwDOECUdR84Cd10_"
mapping="og:title" reactionsEnabled="1" emitMetadata="0" inputPosition="bottom" :theme="discusTheme" lang="zh-CN"
loading="lazy" />
<div class="mt-20">
<Giscus v-if="showGiscus" ref="giscusRef" id="comments" repo="ChenKS12138/ChenKS12138.github.io"
repoId="MDEwOlJlcG9zaXRvcnkyNzA4Njc3ODM=" category="Announcements" categoryId="DIC_kwDOECUdR84Cd10_"
mapping="og:title" reactionsEnabled="1" emitMetadata="0" inputPosition="bottom" :theme="discusTheme"
lang="zh-CN" loading="lazy" />
</div>
<!-- <div class="rounded bg-gray mt-10 p-1 text-white italic indent-md text-lg">
CC BY-SA 3.0协议 。转载请注明出处!
</div> -->
Expand Down
4 changes: 2 additions & 2 deletions src/layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useImageColor } from '~/composables/color';
const router = useRouter();
const bgSrc = ref<string>(router.currentRoute.value.meta.coverImage as string || '/bg1.png')
const bgSrc = ref<string>(router.currentRoute.value.meta.coverImage as string || '/bg.jpg')
const cssBgSrc = ref(`url("${bgSrc.value}")`);
const { y } = useWindowScroll();
const isCollapsed = computed(() => y.value > 30);
Expand Down Expand Up @@ -48,7 +48,7 @@ const links = [
</div>
</header>
<div class="flex flex-col" style="min-height: 100vh;">
<div class="w-full header-cover-bg min-h-lg"></div>
<div class="w-full header-cover-bg min-h-sm"></div>
<div class="content-container-wrapper dark:bg-dark">
<div class="content-container">
<router-view></router-view>
Expand Down

0 comments on commit bdefba0

Please sign in to comment.