File tree Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Expand file tree Collapse file tree 4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ - 欢迎来到我的博客,我是zhw,这里是记录我生活的地方,如果对你有所帮助,欢迎star.
2
+
3
+ - 我来自重庆邮电大学,目前正在学习前端,参与校级组织[ 红岩网校] ( https://redrock.team/ ) .
4
+
5
+ - 本博客参考了[ Shiro] ( https://github.com/innei/Shiro ) ,感谢大佬的开源.
Original file line number Diff line number Diff line change
1
+ import type { Metadata } from 'next' ;
2
+ import type { PropsWithChildren } from 'react' ;
3
+
4
+ import { NormalContainer } from '@/components/layout/container/Normal' ;
5
+
6
+ export const metadata : Metadata = {
7
+ title : '关于我' ,
8
+ } ;
9
+
10
+ export default async function ( props : PropsWithChildren ) {
11
+ return < NormalContainer > { props . children } </ NormalContainer > ;
12
+ }
Original file line number Diff line number Diff line change
1
+ import { NoteMarkdown } from '../notes/[nid]/pageExtra' ;
2
+
3
+ import content from '~/introduction.md' ;
4
+
5
+ export default function About ( ) {
6
+ return (
7
+ < div >
8
+ < header className = "prose font-mono !mb-2" >
9
+ < h2 > 关于我</ h2 >
10
+ </ header >
11
+
12
+ < main className = "flex w-full flex-col with-indent with-serif prose relative max-w-full" >
13
+ < NoteMarkdown text = { content } />
14
+ </ main >
15
+ </ div >
16
+ ) ;
17
+ }
Original file line number Diff line number Diff line change 143
143
border-radius : 0.0625rem ;
144
144
color : var (--accent-color ) !important ;
145
145
}
146
+
147
+ .prose : where (ul > li ): not (: where ([class ~= "not-prose" ], [class ~= "not-prose" ] * ))::marker {
148
+ color : var (--accent-color ) !important ;
149
+ }
You can’t perform that action at this time.
0 commit comments