From ae060c4bc9ad9c52da637ef597d0ce9e0a165ea8 Mon Sep 17 00:00:00 2001 From: ivalshamkya Date: Mon, 13 May 2024 15:59:50 +0800 Subject: [PATCH] chore: adjust project card responsive --- src/common/constant/stack.tsx | 2 +- src/components/Navbar/Navbar.tsx | 6 +++--- src/components/Projects/Badge.astro | 2 +- src/components/Projects/ProjectCard.astro | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/common/constant/stack.tsx b/src/common/constant/stack.tsx index 5feba0b..da79643 100644 --- a/src/common/constant/stack.tsx +++ b/src/common/constant/stack.tsx @@ -58,7 +58,7 @@ export const STACKS: stacksProps = { Bootstrap: ( ), - GraphQL: , + // GraphQL: , "Material UI": , Vite: , PostgreSql: , diff --git a/src/components/Navbar/Navbar.tsx b/src/components/Navbar/Navbar.tsx index 06107d7..2a3afa8 100644 --- a/src/components/Navbar/Navbar.tsx +++ b/src/components/Navbar/Navbar.tsx @@ -50,7 +50,7 @@ const Navbar: React.FC = ({ active }) => { variants={navbarVariants} initial={"hidden"} animate={"visible"} - className="w-screen flex justify-between fixed top-5 md:top-7 right-0 left-0 px-4 md:px-7 z-50 -translate-x-1/2" + className="w-screen flex justify-between fixed top-5 md:top-7 right-0 left-0 px-1.5 md:px-7 z-50 -translate-x-1/2" > {METADATA.authors.isAvailable ? (
@@ -74,11 +74,11 @@ const Navbar: React.FC = ({ active }) => { METADATA.authors.isAvailable && "md:-ml-40" } bg-white/70 dark:bg-[#212121] border border-gray-300 dark:border-white/20 backdrop-blur-sm shadow-inner hover:drop-shadow-lg transition-all duration-200 rounded-full`} > - + {dataNavbar.map(({ id, navigate, navigate_url, offset }) => ( {text} \ No newline at end of file diff --git a/src/components/Projects/ProjectCard.astro b/src/components/Projects/ProjectCard.astro index 611f1c6..98acbe7 100644 --- a/src/components/Projects/ProjectCard.astro +++ b/src/components/Projects/ProjectCard.astro @@ -27,12 +27,12 @@ const { name, role, url, image, description, languages, slug } = Astro.props; class="relative dark:bg-zinc-800 bg-white dark:text-zinc-400 text-zinc-500 gap-1 p-5 border dark:border-zinc-700/60 rounded-lg flex flex-col" > -
+
{name}