Skip to content

Commit 78d6984

Browse files
committed
feat: ✨ perfect Footer links
1 parent bff71ed commit 78d6984

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

src/components/home/Footer.astro renamed to src/components/Footer.astro

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import {Icon} from "astro-icon/components";
3-
import CNCF_LOGO from "../../assets/CNCF.svg";
3+
import CNCF_LOGO from "../assets/CNCF.svg";
44
import {Picture} from "astro:assets";
55
66
interface FooterLinks {
@@ -17,7 +17,7 @@ const footerLinks: FooterLinks[] = [{
1717
url: 'https://gitee.com/serverless-devs/Serverless-Devs'
1818
}, {
1919
content: '帮助文档',
20-
url: 'http://docs.serverless-devs.com/'
20+
url: '/docs/overview'
2121
}, {
2222
content: 'Serverless 社区',
2323
url: 'http://i.serverless-devs.com/'
@@ -37,10 +37,10 @@ const contactWays = [{
3737
link: ""
3838
}, {
3939
name: "Github",
40-
link: ""
40+
link: "https://github.com/Serverless-Devs/Serverless-Devs/issues"
4141
}, {
4242
name: "Gitee",
43-
link: ""
43+
link: "https://gitee.com/serverless-devs/Serverless-Devs/issues"
4444
}]
4545
---
4646

@@ -77,22 +77,22 @@ const contactWays = [{
7777
<div class="col-span-4 lg:col-span-2">
7878
<div class="rounded-lg p-4">
7979
<h2 class="text-sm font-medium mb-4 text-info">DOCUMENTATION</h2>
80-
<ul class="list-none space-y-2 text-white text-sm mt-10">
81-
<li>帮助文档</li>
82-
<li>Serverless社区</li>
83-
<li>Registry</li>
84-
</ul>
80+
<div class="flex flex-col space-y-2 text-white text-sm mt-10">
81+
<a>帮助文档</a>
82+
<a>Serverless社区</a>
83+
<a>Registry</a>
84+
</div>
8585
</div>
8686
</div>
8787

8888
<div class="col-span-4 lg:col-span-2">
8989
<div class="rounded-lg p-4">
9090
<h2 class="text-sm font-medium mb-4 text-info">RESOURCES (文案占位)</h2>
91-
<ul class="list-none space-y-2 text-white text-sm mt-10">
92-
<li>Community (文案占位)</li>
93-
<li>CLoud Service MSE (文案占位)</li>
94-
<li>CLoud Service EDAS (文案占位)</li>
95-
</ul>
91+
<div class="flex flex-col space-y-2 text-white text-sm mt-10">
92+
<a>Community (文案占位)</a>
93+
<a>CLoud Service MSE (文案占位)</a>
94+
<a>CLoud Service EDAS (文案占位)</a>
95+
</div>
9696
</div>
9797
</div>
9898
</div>

src/layouts/Layout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import {SEO} from "astro-seo";
3-
import Footer from "../components/home/Footer.astro";
3+
import Footer from "../components/Footer.astro";
44
import Navbar from "../components/home/Navbar.astro";
55
import "@fontsource-variable/inter/index.css";
66
import "@fontsource-variable/bricolage-grotesque";

0 commit comments

Comments
 (0)