From fbbf1edfc948d98f3bf8487b645df22a97274d48 Mon Sep 17 00:00:00 2001 From: Timothy Russo Date: Mon, 25 Sep 2023 15:56:58 +0200 Subject: [PATCH 1/2] feat: responsive layout for the tech stack container --- .../tech-stack/components/TechStackContainer.tsx | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/app/tech-stack/components/TechStackContainer.tsx b/src/app/tech-stack/components/TechStackContainer.tsx index 84acd905..61e3bab0 100644 --- a/src/app/tech-stack/components/TechStackContainer.tsx +++ b/src/app/tech-stack/components/TechStackContainer.tsx @@ -1,22 +1,12 @@ import { TechStackCard, techStack } from "."; export default function TechStackContainer() { - function getJustifyClass(index: number) { - if (index % 3 === 0) { - return "justify-self-start"; - } else if (index % 3 === 1) { - return "justify-self-center"; - } else { - return "justify-self-end"; - } - } return (
-