File tree Expand file tree Collapse file tree 8 files changed +56
-15
lines changed Expand file tree Collapse file tree 8 files changed +56
-15
lines changed Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ export const navBarConfig: NavBarConfig = {
41
41
links : [
42
42
LinkPreset . Home ,
43
43
LinkPreset . Archive ,
44
+ LinkPreset . Products ,
44
45
LinkPreset . About ,
45
46
{
46
47
name : 'GitHub' ,
Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ export const LinkPresets: { [key in LinkPreset]: NavBarLink } = {
11
11
name : i18n ( I18nKey . about ) ,
12
12
url : '/about/' ,
13
13
} ,
14
+ [ LinkPreset . Products ] : {
15
+ name : '作品' ,
16
+ url : '/products/' ,
17
+ } ,
14
18
[ LinkPreset . Archive ] : {
15
19
name : i18n ( I18nKey . archive ) ,
16
20
url : '/archive/' ,
Original file line number Diff line number Diff line change 1
- # About
2
- This is the demo site for [ Fuwari] ( https://github.com/saicaca/fuwari ) .
1
+ # 关于
3
2
4
- :: github { repo = " saicaca/fuwari " }
3
+ 嘿,我是 wsafight。
5
4
6
- > ### Sources of images used in this site
7
- > - [ Unsplash] ( https://unsplash.com/ )
8
- > - [ 星と少女] ( https://www.pixiv.net/artworks/108916539 ) by [ Stella] ( https://www.pixiv.net/users/93273965 )
9
- > - [ Rabbit - v1.4 Showcase] ( https://civitai.com/posts/586908 ) by [ Rabbit_YourMajesty] ( https://civitai.com/user/Rabbit_YourMajesty )
5
+ 主业前端,副业后端,也曾在互联网公司担任技术负责人,带过 10 人的技术团队。
6
+
7
+ 目前赋闲在家。
8
+
9
+ 偶尔在此停留。
Original file line number Diff line number Diff line change
1
+ # 作品
2
+
3
+ :: github { repo =" wsafight/mpt " }
4
+
5
+ :: github { repo =" wsafight/business-util " }
6
+
7
+ :: github { repo =" LazierGame/react-mobile-range-selector " }
8
+
9
+ :: github { repo =" wsafight/memoizee-proxy " }
10
+
11
+ :: github { repo =" wsafight/try-run-js " }
12
+
13
+ :: github { repo =" wsafight/diff-helper " }
14
+
15
+ :: github { repo =" wsafight/storage-tools " }
16
+
17
+ :: github { repo =" wsafight/little-virtual-computer " }
18
+
19
+ :: github { repo =" wsafight/front-end-checklist " }
20
+
21
+ :: github { repo =" wsafight/sync-time " }
Original file line number Diff line number Diff line change 1
1
---
2
-
3
2
import MainGridLayout from ' ../layouts/MainGridLayout.astro'
4
3
5
4
import { getEntry } from ' astro:content'
6
- import { i18n } from ' ../i18n/translation'
7
- import I18nKey from ' ../i18n/i18nKey'
8
5
import Markdown from ' @components/misc/Markdown.astro'
9
6
10
7
const aboutPost = await getEntry (' spec' , ' about' )
11
8
12
9
const { Content } = await aboutPost .render ()
13
10
---
14
- <MainGridLayout title ={ i18n ( I18nKey . about ) } description ={ i18n ( I18nKey . about ) } >
11
+ <MainGridLayout title =" 关于 " description =" 关于 " >
15
12
<div class =" flex w-full rounded-[var(--radius-large)] overflow-hidden relative min-h-32" >
16
13
<div class =" card-base z-10 px-9 py-6 relative w-full " >
17
14
<Markdown class =" mt-2" >
Original file line number Diff line number Diff line change 1
1
---
2
2
import MainGridLayout from ' @layouts/MainGridLayout.astro'
3
3
import ArchivePanel from ' @components/ArchivePanel.astro'
4
- import { i18n } from ' @i18n/translation'
5
- import I18nKey from ' @i18n/i18nKey'
6
4
---
7
5
8
- <MainGridLayout title ={ i18n ( I18nKey . archive ) } >
6
+ <MainGridLayout title =' 归档 ' >
9
7
<ArchivePanel ></ArchivePanel >
10
8
</MainGridLayout >
11
9
Original file line number Diff line number Diff line change
1
+ ---
2
+ import MainGridLayout from ' ../layouts/MainGridLayout.astro'
3
+
4
+ import { getEntry } from ' astro:content'
5
+ import Markdown from ' @components/misc/Markdown.astro'
6
+
7
+ const productsPost = await getEntry (' spec' , ' products' )
8
+
9
+ const { Content } = await productsPost .render ()
10
+ ---
11
+ <MainGridLayout title =" 作品" description =" 作品" >
12
+ <div class =" flex w-full rounded-[var(--radius-large)] overflow-hidden relative min-h-32" >
13
+ <div class =" card-base z-10 px-9 py-6 relative w-full " >
14
+ <Markdown class =" mt-2" >
15
+ <Content />
16
+ </Markdown >
17
+ </div >
18
+ </div >
19
+ </MainGridLayout >
Original file line number Diff line number Diff line change @@ -37,7 +37,8 @@ export type Favicon = {
37
37
export enum LinkPreset {
38
38
Home = 0 ,
39
39
Archive = 1 ,
40
- About = 2 ,
40
+ Products = 2 ,
41
+ About = 3 ,
41
42
}
42
43
43
44
export type NavBarLink = {
You can’t perform that action at this time.
0 commit comments