Skip to content

Commit 4c5c7d8

Browse files
committed
hide festival
1 parent eb631f8 commit 4c5c7d8

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

src/pages/projects/[...kind].astro

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff 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
{

0 commit comments

Comments
 (0)