File tree Expand file tree Collapse file tree 3 files changed +285
-122
lines changed
Expand file tree Collapse file tree 3 files changed +285
-122
lines changed Original file line number Diff line number Diff line change @@ -157,6 +157,16 @@ function Projects() {
157157 < div className = { clsx ( styles . titleSec , 'cover' ) } >
158158 < h1 className = { clsx ( styles . fancytitle2 , 'stack' ) } > 在玩乐中创作与表达</ h1 >
159159 </ div >
160+ < div className = { clsx ( styles . navContainer ) } >
161+ < div className = { clsx ( styles . filter ) } >
162+ < button className = { clsx ( styles . tag1 ) } > 全部</ button >
163+ < button className = { clsx ( styles . tags ) } > 魔法</ button >
164+ < button className = { clsx ( styles . tags ) } > DynamicTable</ button >
165+ < button className = { clsx ( styles . tags ) } > 机器人</ button >
166+ < button className = { clsx ( styles . tags ) } > 物联网</ button >
167+ < button className = { clsx ( styles . tags ) } > 开源硬件</ button >
168+ </ div >
169+ </ div >
160170 < main className = { clsx ( styles . newContainer ) } >
161171 < VideoRow title = "" videos = { videos [ '横版视频' ] } />
162172 < VideoRow title = "" videos = { videos [ '竖版视频' ] } />
Original file line number Diff line number Diff line change 4848 padding-top : 5vh ;
4949 display : block;
5050 background-color : black;
51- margin-bottom : 5 vh ;
51+ margin-bottom : 2 vh ;
5252 text-align : center;
5353 padding-bottom : 2vh ;
5454}
131131 padding-left : 3.75rem ;
132132 padding-right : 3.75rem ;
133133}
134+
135+ .navContainer {
136+ padding-right : 4rem ;
137+ padding-left : 4rem ;
138+ margin-right : auto;
139+ margin-left : auto;
140+ margin-bottom : 3rem ;
141+ }
142+
143+ .filter {
144+ display : flex;
145+ justify-content : center;
146+ }
147+
148+ .tags {
149+ color : white;
150+ padding : 0.5rem 1rem ;
151+ border : solid white 1.5px ;
152+ border-radius : 2.5rem ;
153+ margin : 0 1rem ;
154+ background-color : black;
155+ font-size : 1.5rem ;
156+ }
157+
158+ .tag1 {
159+ color : white;
160+ padding : 0.5rem 1rem ;
161+ border : solid white 1.5px ;
162+ border-radius : 2.5rem ;
163+ margin : 0 1rem ;
164+ background-color : # ffb81e ;
165+ font-size : 1.5rem ;
166+ }
You can’t perform that action at this time.
0 commit comments