Skip to content

Commit f09c5c3

Browse files
committed
update docs
1 parent 817275e commit f09c5c3

31 files changed

+1149
-866
lines changed

docs/.vuepress/client.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,18 @@ import { NotFound } from "vuepress-theme-plume/client";
66

77
import './styles/custom.css'
88
import Swiper from "./components/Swiper.vue";
9-
import SponsorPanel from "./components/SponsorPanel.vue";
109
import SponsorHome from './components/SponsorHome.vue';
11-
import SponsorSidebar from './components/SponsorSidebar.vue';
1210
import BannerTop from './components/BannerTop.vue';
1311
import Pricing from "./components/Pricing.vue";
1412
import PluginMarket from "./components/PluginMarket.vue";
15-
import Planet from "./components/Planet.vue";
1613

1714
export default defineClientConfig({
1815
enhance({ app }) {
1916
app.component('RepoCard', RepoCard)
2017
app.component('Swiper', Swiper)
21-
app.component('SponsorPanel', SponsorPanel)
2218
app.component('SponsorHome', SponsorHome)
23-
app.component('SponsorSidebar', SponsorSidebar)
24-
app.component('BannerTop', BannerTop)
2519
app.component('Pricing', Pricing)
2620
app.component('PluginMarket', PluginMarket)
27-
app.component('Planet', Planet)
2821
},
2922
layouts: {
3023
Layout,

docs/.vuepress/components/Planet.vue

Lines changed: 0 additions & 218 deletions
This file was deleted.

docs/.vuepress/components/Pricing.vue

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<template>
22
<div class="pricing-container">
3-
<h1 class="pricing-title">欢乐 0 元购</h1>
3+
<h1 class="pricing-title">🎁 欢乐 0 元购 🎁</h1>
44
<p class="pricing-subtitle">
5-
此架构无需商业授权,任何个人或企业均可自由使用<br>
5+
此架构无需商业授权,任何个人或企业均可自由使用<br>
66
<span style="color: var(--vp-c-text-2)">
77
以下付费版本仅用于赞助支持,非必须购买
88
</span>
@@ -38,8 +38,7 @@
3838
<p class="card-description">{{ plans.professional.description }}</p>
3939
</div>
4040
<div class="price-section">
41-
<div class="current-price">{{ plans.professional.price.current }} <span class="billing-cycle">/ 年</span>
42-
</div>
41+
<div class="current-price">{{ plans.professional.price.current }}</div>
4342
<div v-if="plans.professional.price.original" class="original-price">
4443
<del>{{ plans.professional.price.original }}</del>
4544
</div>
@@ -52,7 +51,7 @@
5251
</ul>
5352
</div>
5453
<button class="cta-button primary"
55-
@click="openSponsorLink('/fastapi_best_architecture_docs/planet.html')">立即购买
54+
@click="openSponsorLink('/fastapi_best_architecture_docs/sponsors.html')">立即购买
5655
</button>
5756
</div>
5857

@@ -63,8 +62,7 @@
6362
<p class="card-description">{{ plans.enterprise.description }}</p>
6463
</div>
6564
<div class="price-section">
66-
<div class="current-price">{{ plans.enterprise.price.current }} <span class="billing-cycle"></span>
67-
</div>
65+
<div class="current-price">{{ plans.enterprise.price.current }}</div>
6866
<div v-if="plans.enterprise.price.original" class="original-price">
6967
<del>{{ plans.enterprise.price.original }}</del>
7068
</div>
@@ -166,14 +164,10 @@ import { openSponsorLink } from "../data/sponsors";
166164
margin-bottom: 0.25rem;
167165
}
168166
169-
.billing-cycle {
170-
font-size: 1rem;
171-
color: var(--vp-c-text-3);
172-
}
173-
174167
.original-price {
175168
color: var(--vp-c-text-3);
176169
font-size: 1rem;
170+
margin-top: 10px;
177171
}
178172
179173
.features-list {

docs/.vuepress/data/planet.ts

Lines changed: 0 additions & 71 deletions
This file was deleted.

docs/.vuepress/data/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const pluginItems: PluginItem[] = [
9898
description: "通过 Casdoor 实现 SSO 单点登录集成",
9999
label: '官方',
100100
tags: ["unfree", "mysql", "pgsql", "后端"],
101-
link: "/fastapi_best_architecture_docs/planet.html",
101+
link: "https://github.com/fastapi-practices/casdoor_sso",
102102
image: "https://casdoor.org/zh/img/casdoor.png",
103103
logo: 'https://wu-clan.github.io/picx-images-hosting/logo/fba.png',
104104
},

0 commit comments

Comments
 (0)