Skip to content

Commit 026c77b

Browse files
committed
lilun2 finished and new header
1 parent 3da8fb1 commit 026c77b

23 files changed

Lines changed: 1050 additions & 254 deletions

astro.config.mjs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import remarkMath from "remark-math";
55
import rehypeMathjax from 'rehype-mathjax';
66
import starlightBlog from 'starlight-blog'
77
import starlightGiscus from 'starlight-giscus'
8-
98
import tailwind from "@astrojs/tailwind";
109
import vercel from '@astrojs/vercel';
10+
import starlightFullViewMode from 'starlight-fullview-mode'
1111

1212
// https://astro.build/config
1313
export default defineConfig({
@@ -20,6 +20,7 @@ export default defineConfig({
2020

2121
integrations: [starlight({
2222
plugins: [
23+
starlightFullViewMode({ leftSidebarEnabled: false, rightSidebarEnabled: false}),
2324
starlightGiscus({
2425
repo: 'maindraster/docgiscus',
2526
repoId: 'R_kgDON-oOVQ',
@@ -64,8 +65,9 @@ export default defineConfig({
6465
// 其他社交链接...
6566
],
6667
components: {
67-
Header: "./src/components/Myheader.astro",
68+
Header: './src/components/Header.astro',
6869
MarkdownContent: "./src/components/MarkdownContent.astro",
70+
Highlight: "./src/components/Highlight.astro",
6971
},
7072
sidebar: [{
7173
label: '开篇文档',
@@ -126,12 +128,6 @@ export default defineConfig({
126128
label: '项目实战篇',
127129
slug: 'project/index_pro'
128130
},],
129-
},{
130-
label: '我的小产品',
131-
slug: 'product'
132-
},{
133-
label: '友链接',
134-
slug: 'friend'
135131
}
136132
],
137133
}),

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
"@astrojs/check": "^0.9.4",
1515
"@astrojs/markdown-remark": "^6.3.1",
1616
"@astrojs/rss": "^4.0.11",
17-
"@astrojs/starlight": "^0.33.1",
17+
"@astrojs/starlight": "^0.33.2",
1818
"@astrojs/starlight-tailwind": "^3.0.1",
1919
"@astrojs/tailwind": "^6.0.2",
2020
"@astrojs/vercel": "^8.1.3",
2121
"@tsparticles/engine": "^3.8.1",
22-
"astro": "^5.6.1",
22+
"astro": "^5.7.6",
2323
"gsap": "^3.12.7",
2424
"hastscript": "^9.0.1",
2525
"micromark-util-symbol": "^2.0.1",
@@ -32,6 +32,7 @@
3232
"remark-math": "^6.0.0",
3333
"sharp": "^0.33.5",
3434
"starlight-blog": "^0.20.0",
35+
"starlight-fullview-mode": "^0.2.3",
3536
"starlight-giscus": "^0.5.1",
3637
"starlight-image-zoom": "^0.8.0",
3738
"starlight-showcases": "^0.2.0",

pnpm-lock.yaml

Lines changed: 311 additions & 86 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/assets/images/jcl2.png

114 KB
Loading

src/assets/images/l2ro1.png

145 KB
Loading

src/assets/images/l2ro2.png

127 KB
Loading

src/assets/images/l2ro3.png

138 KB
Loading

src/assets/images/l2ro4.png

58.3 KB
Loading

src/assets/images/l2ro5.png

401 KB
Loading

0 commit comments

Comments
 (0)