-
Notifications
You must be signed in to change notification settings - Fork 974
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
159 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<template> | ||
<Sidebar> | ||
<template #top> | ||
<div class="ss"> | ||
<div class="mingdao"> | ||
<a href="https://www.mingdao.com?s=utm_51=utm_source=liteflow&utm_medium=banner&utm_campaign=%E5%93%81%E7%89%8C%E6%8E%A8%E5%B9%BF&utm_content=IT%E8%B5%8B%E8%83%BD%E4%B8%9A%E5%8A%A1" | ||
target="_blank"><img src="/img/ads/mingdao.png" alt="" /></a> | ||
<span>{{ spStr }}</span> | ||
</div> | ||
</div> | ||
</template> | ||
</Sidebar> | ||
</template> | ||
<script setup lang="ts"> | ||
import Sidebar from "vuepress-theme-hope/modules/sidebar/components/Sidebar"; | ||
import { usePageData } from '@vuepress/client' | ||
import { computed } from "vue"; | ||
const pageData = usePageData() | ||
const spStr = computed(() => { | ||
if (pageData.value.path.startsWith("/zh/")) { | ||
return "赞助商"; | ||
} | ||
return "Sponsorship"; | ||
}) | ||
</script> | ||
|
||
<style scoped lang="scss"> | ||
.mingdao { | ||
margin-top: 8px; | ||
display: flex; | ||
flex-direction: column; | ||
width: 100%; | ||
align-items: center; | ||
a { | ||
max-width: 70%; | ||
img { | ||
width: 100%; | ||
} | ||
} | ||
span { | ||
width: 70%; | ||
text-align: right; | ||
font-size: small; | ||
} | ||
}</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
.ads-card{ | ||
background-color: #f4f8fa; | ||
padding: 14px; | ||
border-radius: 8px; | ||
} | ||
|
||
html[data-theme="dark"] .ads-card { | ||
background-color: #272829; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ | |
"packageManager": "[email protected]", | ||
"scripts": { | ||
"ecosystem": "npx tsx scripts/ecosystem.ts", | ||
"dev-build": "vuepress build docs", | ||
"docs:build": "pnpm ecosystem && vuepress build docs", | ||
"docs:clean-dev": "vuepress dev docs --clean-cache", | ||
"docs:dev": "vuepress dev docs" | ||
|