website: 首页增加下载卡片,整理文档内容
TDevOpsCICD / build-kit (push) Successful in 5m33s

This commit is contained in:
jif2.zhang
2026-09-11 11:06:39 +08:00
parent 297c2366f2
commit e5e38a16eb
15 changed files with 255 additions and 198 deletions
File diff suppressed because one or more lines are too long
@@ -0,0 +1,33 @@
.downloads {
display: flex;
align-items: center;
padding: 2rem 0 4rem;
width: 100%;
}
.downloadCard {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 100%;
transition: box-shadow 0.2s;
}
.downloadCard:hover {
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.iconWrap {
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 0.5rem;
color: var(--ifm-color-primary);
}
.filename {
font-family: var(--ifm-font-family-monospace);
font-size: 0.85rem;
color: var(--ifm-color-emphasis-600);
margin: 0;
}
+3 -1
View File
@@ -3,6 +3,7 @@ import Link from '@docusaurus/Link';
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
import Layout from '@theme/Layout';
import HomepageFeatures from '@site/src/components/HomepageFeatures';
import DownloadSection from '@site/src/components/DownloadSection';
import Heading from '@theme/Heading';
import styles from './index.module.css';
@@ -33,10 +34,11 @@ export default function Home() {
return (
<Layout
title={`${siteConfig.title}`}
description="Description will go into a meta tag in <head />">
description="手边的开发运维工具">
<HomepageHeader />
<main>
<HomepageFeatures />
<DownloadSection />
</main>
</Layout>
);
-7
View File
@@ -1,7 +0,0 @@
---
title: Markdown page example
---
# Markdown page example
You don't need React to write simple standalone pages.