File tree Expand file tree Collapse file tree 1 file changed +15
-10
lines changed
Expand file tree Collapse file tree 1 file changed +15
-10
lines changed Original file line number Diff line number Diff line change @@ -27,17 +27,22 @@ const projects = await getProjects(kind.frontmatter);
2727 <h1 class =" mb-5 min-h-[2.25em] text-center text-4xl" >{ kind .title } </h1 >
2828 <div role =" tablist" class =" tabs tabs-lift" >
2929 {
30- kinds .map ((tab ) => (
31- <a >
32- <a
33- role = " tab"
34- class :list = { [" tab" , { " tab-active" : kind .path === tab .path }]}
35- href = { tab .path ? ` /projects/${tab .path } ` : " /projects" }
36- >
37- { tab .tabTitle }
30+ kinds
31+ .filter (
32+ (kind ) =>
33+ kind .path !== " festival" /* TODO: migrate festival projects */ ,
34+ )
35+ .map ((tab ) => (
36+ <a >
37+ <a
38+ role = " tab"
39+ class :list = { [" tab" , { " tab-active" : kind .path === tab .path }]}
40+ href = { tab .path ? ` /projects/${tab .path } ` : " /projects" }
41+ >
42+ { tab .tabTitle }
43+ </a >
3844 </a >
39- </a >
40- ))
45+ ))
4146 }
4247 </div >
4348 {
You can’t perform that action at this time.
0 commit comments