-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
10 changed files
with
93 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<script setup> | ||
import DefaultTheme from 'vitepress/theme' | ||
import MyOxygen from './MyOxygen.vue' | ||
const { Layout } = DefaultTheme | ||
</script> | ||
|
||
<template> | ||
<Layout> | ||
<template #aside-ads-after> | ||
<MyOxygen/> | ||
</template> | ||
</Layout> | ||
</template> |
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,42 @@ | ||
<template> | ||
<div class="Oxygen"> | ||
<a href="https://webpod.dev/?from=zx-site"> | ||
<!--<img src="https://webpod.dev/img/banner.png" alt="Webpod - deploy JavaScript apps">--> | ||
<img src="https://webpod.dev/img/logo.svg" alt="Webpod - deploy JavaScript apps"> | ||
<p>Webpod – deploy JavaScript apps to own cloud or private server</p> | ||
</a> | ||
</div> | ||
</template> | ||
|
||
<style scoped> | ||
.Oxygen { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
padding: 24px; | ||
border-radius: 12px; | ||
min-height: 256px; | ||
text-align: center; | ||
line-height: 18px; | ||
font-size: 12px; | ||
font-weight: 500; | ||
background-color: var(--vp-carbon-ads-bg-color); | ||
} | ||
.Oxygen :deep(img) { | ||
margin: 0 auto; | ||
} | ||
.Oxygen :deep(p) { | ||
display: block; | ||
margin: 0 auto; | ||
color: var(--vp-carbon-ads-text-color); | ||
transition: color 0.25s; | ||
} | ||
.Oxygen :deep(p:hover) { | ||
color: var(--vp-carbon-ads-hover-text-color); | ||
} | ||
</style> | ||
<script setup> | ||
</script> |
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 |
---|---|---|
@@ -1,4 +1,10 @@ | ||
import DefaultTheme from 'vitepress/theme' | ||
import MyLayout from './MyLayout.vue' | ||
import './custom.css' | ||
|
||
export default DefaultTheme | ||
export default { | ||
...DefaultTheme, | ||
// override the Layout with a wrapper component that | ||
// injects the slots | ||
Layout: MyLayout | ||
} |
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
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