doc: update docs

This commit is contained in:
Michael Yang 2024-06-03 17:55:13 +08:00
parent e04e36c8c6
commit 598639fa7c
2 changed files with 45 additions and 15 deletions

View File

@ -70,27 +70,57 @@ const {Layout} = DefaultTheme
color: #666;
}
.banner-home {
display: flex;
align-items: center;
margin: 60px auto;
width: 50%;
justify-content: center;
}
.banner-home img {
max-width: 100%;
border-radius: 3px;
}
@media screen and (max-width: 800px) {
.banner-home {
width: 90%;
margin: 30px auto;
}
}
</style>
<template>
<Layout>
<!--docs: https://vitepress.dev/guide/extending-default-theme#layout-slots-->
<!-- <template #doc-before>-->
<!-- <div style="margin-bottom: 30px">-->
<!-- <a href="https://mp.weixin.qq.com/s/sAe_bO4eW7dJsNgwoG0x9g" target="_blank">-->
<!-- <img src="/assets/images/ad/admin-banner.jpg">-->
<!-- </a>-->
<!-- </div>-->
<!-- </template>-->
<template #doc-before>
<div style="margin-bottom: 30px">
<a href="https://aiadmin.cc" target="_blank">
<img src="/assets/images/ad/admin-banner.jpg">
</a>
</div>
</template>
<!-- <template #home-features-after>-->
<!-- <div style="display: flex; justify-content: center;margin-top: 60px">-->
<!-- <a href="https://mp.weixin.qq.com/s/sAe_bO4eW7dJsNgwoG0x9g" target="_blank" style="max-width: 90%">-->
<!-- <img src="/assets/images/ad/admin-banner.jpg" style="width: 650px;">-->
<!-- </a>-->
<!-- </div>-->
<!-- </template>-->
<template #home-features-after>
<div class="banner-home">
<a href="https://aiadmin.cc" target="_blank">
<img src="/assets/images/ad/admin-banner.jpg">
</a>
</div>
</template>
<!-- <template #home-features-after>-->
<!-- <div style="display: flex; justify-content: center;margin-top: 60px">-->
<!-- <a href="https://mp.weixin.qq.com/s/sAe_bO4eW7dJsNgwoG0x9g" target="_blank" style="max-width: 90%">-->
<!-- <img src="/assets/images/ad/admin-banner.jpg" style="width: 650px;">-->
<!-- </a>-->
<!-- </div>-->
<!-- </template>-->
<template #doc-footer-before>
<div class="info custom-block" style="margin-bottom: 14px">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 74 KiB