From ca6d15f64fc151ba6676d66dd8f933b219615e3e Mon Sep 17 00:00:00 2001 From: galenwinsor Date: Thu, 27 Jun 2024 15:38:00 -0400 Subject: [PATCH 1/3] fix: max-w-1000px causes modal to be too small --- src/styles/global.css | 1 - 1 file changed, 1 deletion(-) diff --git a/src/styles/global.css b/src/styles/global.css index a93dee5..ccffcb0 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -24,7 +24,6 @@ body > * { grid-column: 2; - @apply max-w-[1000px]; @apply px-3; } From f5b05cd89be8a91e84359c18cd4979ffeedf31db Mon Sep 17 00:00:00 2001 From: galenwinsor Date: Thu, 27 Jun 2024 15:42:02 -0400 Subject: [PATCH 2/3] fix: error message color and size --- src/components/CustomInput.tsx | 2 +- src/components/CustomTextarea.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/CustomInput.tsx b/src/components/CustomInput.tsx index c84a6ff..a916f25 100644 --- a/src/components/CustomInput.tsx +++ b/src/components/CustomInput.tsx @@ -34,7 +34,7 @@ export const CustomInput = React.forwardRef< required /> - + Please enter your {label} {match !== undefined && ( diff --git a/src/components/CustomTextarea.tsx b/src/components/CustomTextarea.tsx index e53a4c8..a6570c3 100644 --- a/src/components/CustomTextarea.tsx +++ b/src/components/CustomTextarea.tsx @@ -24,7 +24,7 @@ export const CustomTextarea = React.forwardRef< required /> - + Please enter your {label} From 30debd76cfa5d2704a32c5afd16f2ad518a77b7a Mon Sep 17 00:00:00 2001 From: galenwinsor Date: Thu, 27 Jun 2024 16:15:52 -0400 Subject: [PATCH 3/3] feat: add icons for project aims --- src/components/ProjectAim.astro | 29 ++++++++++++++++++++++++++ src/layouts/Home.astro | 1 - src/pages/index.astro | 37 +++++++++++++++++---------------- 3 files changed, 48 insertions(+), 19 deletions(-) create mode 100644 src/components/ProjectAim.astro diff --git a/src/components/ProjectAim.astro b/src/components/ProjectAim.astro new file mode 100644 index 0000000..565432a --- /dev/null +++ b/src/components/ProjectAim.astro @@ -0,0 +1,29 @@ +--- +interface Props { + color: "blue" | "primary" | "brown" +} + +const { color } = Astro.props +--- + +
+ + + +
+

+
diff --git a/src/layouts/Home.astro b/src/layouts/Home.astro index 5d330d0..0ed6024 100644 --- a/src/layouts/Home.astro +++ b/src/layouts/Home.astro @@ -2,7 +2,6 @@ import BaseHead from "../components/BaseHead.astro" import Header from "../components/Header.astro" import Footer from "../components/Footer.astro" -import FootPrint from "../components/svg/FootPrint" interface Props { title: string diff --git a/src/pages/index.astro b/src/pages/index.astro index c9e5ff2..24a266b 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,8 +1,9 @@ --- import Home from "../layouts/Home.astro" -import CircleIcon from "../components/svg/Circle" import MiniMapSvg from "../components/svg/MiniMaps" import FootPrint from "../components/svg/FootPrint" +import { GlobeIcon, Pencil1Icon, TargetIcon } from "@radix-ui/react-icons" +import ProjectAim from "../components/ProjectAim.astro" ---