diff --git a/apps/website/src/app/layout.tsx b/apps/website/src/app/layout.tsx
index ebbfd0f16..c13002063 100644
--- a/apps/website/src/app/layout.tsx
+++ b/apps/website/src/app/layout.tsx
@@ -14,7 +14,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })
-
+
{children}
diff --git a/apps/website/src/app/projects/page.tsx b/apps/website/src/app/projects/page.tsx
index 452ed03b0..c274b33d8 100644
--- a/apps/website/src/app/projects/page.tsx
+++ b/apps/website/src/app/projects/page.tsx
@@ -5,12 +5,12 @@ import ProjectsList from "@/components/ProjectsList"
export default function Projects() {
return (
-
+
- Built with Semaphore
-
+ Built with Semaphore
+
+
Discover a curated showcase of innovative projects
and applications developed using the
Semaphore Protocol.
diff --git a/apps/website/src/components/ProjectCard.tsx b/apps/website/src/components/ProjectCard.tsx
index 463588709..6ddf38c07 100644
--- a/apps/website/src/components/ProjectCard.tsx
+++ b/apps/website/src/components/ProjectCard.tsx
@@ -15,7 +15,7 @@ export default function ProjectCard({ tags, title, description }: ProjectCardPro
border={"1px"}
borderColor={"alabaster.950"}
padding={"55px 34px 55px 34px"}
- width={{ base: "full", sm: "404px" }}
+ width="full"
height={"284.86px"}
_hover={{ borderColor: "ceruleanBlue" }}
>
diff --git a/apps/website/src/components/ProjectsCarousel.tsx b/apps/website/src/components/ProjectsCarousel.tsx
index e946720ae..69c4892a3 100644
--- a/apps/website/src/components/ProjectsCarousel.tsx
+++ b/apps/website/src/components/ProjectsCarousel.tsx
@@ -29,7 +29,7 @@ export default function ProjectsCarousel() {
<>
{projects.map((project) => (
-
+
))}
diff --git a/apps/website/src/components/ProjectsList.tsx b/apps/website/src/components/ProjectsList.tsx
index 9fe9d49d8..2c0ff2b42 100644
--- a/apps/website/src/components/ProjectsList.tsx
+++ b/apps/website/src/components/ProjectsList.tsx
@@ -1,6 +1,6 @@
"use client"
-import { Button, Grid, GridItem, HStack, IconButton, Link, Text, VStack } from "@chakra-ui/react"
+import { Button, Grid, GridItem, HStack, IconButton, Link, Stack, Text, VStack } from "@chakra-ui/react"
import { useCallback, useEffect, useState } from "react"
import ProjectCard from "../components/ProjectCard"
import allProjects from "../data/projects.json"
@@ -20,13 +20,13 @@ export default function ProjectsList(props: any) {
let filteredProjects = allProjects
if (selectedTag) {
- filteredProjects = allProjects.filter((project) => project.tags.includes(selectedTag))
+ filteredProjects = filteredProjects.filter((project) => project.tags.includes(selectedTag))
}
if (onlyPSE === true) {
- filteredProjects = allProjects.filter((project) => project.pse)
+ filteredProjects = filteredProjects.filter((project) => project.pse)
} else if (onlyPSE === false) {
- filteredProjects = allProjects.filter((project) => !project.pse)
+ filteredProjects = filteredProjects.filter((project) => !project.pse)
}
setProjects(chunkArray(filteredProjects))
@@ -41,7 +41,7 @@ export default function ProjectsList(props: any) {
Projects created by
-
+
-
+
Category
-
+
{getProjectTags(allProjects).map((tag) => (
-
+
-
+
{projects[index].map((project, i) => (
diff --git a/apps/website/src/styles/index.ts b/apps/website/src/styles/index.ts
index ffbe97221..16d3a961b 100644
--- a/apps/website/src/styles/index.ts
+++ b/apps/website/src/styles/index.ts
@@ -10,7 +10,15 @@ const config = {
},
colors,
styles,
- components
+ components,
+ breakpoints: {
+ base: "0px",
+ sm: "320px",
+ md: "768px",
+ lg: "960px",
+ xl: "1200px",
+ "2xl": "1440px"
+ }
}
export default extendTheme(config)
diff --git a/apps/website/src/utils/chunkArray.ts b/apps/website/src/utils/chunkArray.ts
index 0c8e6c3b0..a77053f62 100644
--- a/apps/website/src/utils/chunkArray.ts
+++ b/apps/website/src/utils/chunkArray.ts
@@ -14,5 +14,5 @@ export function chunkArray(array: any[], size = 15): any[] {
result.push(chunk)
}
- return result
+ return result.length === 0 ? [[]] : result
}