From 7d5707058dd0f9cc16ae47027f17f8a4819ff9b7 Mon Sep 17 00:00:00 2001 From: Jeeiii Date: Wed, 13 Dec 2023 19:56:06 +0100 Subject: [PATCH 1/3] refactor: update colors --- apps/website/src/components/ActionCard.tsx | 2 +- apps/website/src/components/CodeBlock.tsx | 5 +-- apps/website/src/components/ProjectsList.tsx | 3 -- apps/website/src/components/ToolsCard.tsx | 4 +- apps/website/src/styles/colors.ts | 5 +-- apps/website/src/styles/components/Button.ts | 45 +++++++++----------- 6 files changed, 26 insertions(+), 38 deletions(-) diff --git a/apps/website/src/components/ActionCard.tsx b/apps/website/src/components/ActionCard.tsx index 43c07d324..dbcde8981 100644 --- a/apps/website/src/components/ActionCard.tsx +++ b/apps/website/src/components/ActionCard.tsx @@ -48,7 +48,7 @@ export default function ActionCard({ title, description, buttonText, buttonUrl } href={buttonUrl} isExternal variant="buttonlink" - bg="semaphore" + bgGradient="semaphore" w="fit-content" lineHeight="24px" fontSize={{ base: "14px", md: "18px", lg: "20px" }} diff --git a/apps/website/src/components/CodeBlock.tsx b/apps/website/src/components/CodeBlock.tsx index 0673e49c6..e76b28cc2 100644 --- a/apps/website/src/components/CodeBlock.tsx +++ b/apps/website/src/components/CodeBlock.tsx @@ -26,11 +26,8 @@ export default function CodekBlock({ text }: CodekBlockProps) { + + + + diff --git a/apps/website/src/icons/IconX.tsx b/apps/website/src/icons/IconX.tsx new file mode 100644 index 000000000..c09289bc5 --- /dev/null +++ b/apps/website/src/icons/IconX.tsx @@ -0,0 +1,13 @@ +import { Icon, IconProps } from "@chakra-ui/react" +import React from "react" + +export default function IconX(props: IconProps): JSX.Element { + return ( + + + + ) +} From 831a660ce9fa9cd9b0bfbb8f4d35b4e25f3d0f27 Mon Sep 17 00:00:00 2001 From: Jeeiii Date: Tue, 19 Dec 2023 14:46:32 +0100 Subject: [PATCH 3/3] refactor: add X link to footer and navbar --- apps/website/src/app/page.tsx | 6 --- apps/website/src/components/Footer.tsx | 58 ++++++++++++++++---------- apps/website/src/components/Navbar.tsx | 57 +++++++++++++++---------- 3 files changed, 70 insertions(+), 51 deletions(-) diff --git a/apps/website/src/app/page.tsx b/apps/website/src/app/page.tsx index d8a6aa0d2..a6eebe560 100644 --- a/apps/website/src/app/page.tsx +++ b/apps/website/src/app/page.tsx @@ -5,7 +5,6 @@ import ProjectCard from "../components/ProjectCard" import events from "../data/events.json" import projects from "../data/projects.json" import IconDiscord from "../icons/IconDiscord" -import IconX from "../icons/IconX" const sora = Sora({ subsets: ["latin"] @@ -220,11 +219,6 @@ export default function Home() { Discord - - - - - - - - - Discord - - - + + + + + + Discord + + + + + + + + Twitter + + + + - - - - - Give feedback about the website - - - + + + + + + Give feedback about the website + + + - - Copyright © 2023 Ethereum Foundation - + + Copyright © 2023 Ethereum Foundation + + ) diff --git a/apps/website/src/components/Navbar.tsx b/apps/website/src/components/Navbar.tsx index 4a08be62c..d1bcb3b8a 100644 --- a/apps/website/src/components/Navbar.tsx +++ b/apps/website/src/components/Navbar.tsx @@ -24,6 +24,7 @@ import IconDiscord from "../icons/IconDiscord" import IconMenu from "../icons/IconMenu" import IconThumbsUp from "../icons/IconThumbsUp" import NavbarLinks from "./NavbarLinks" +import IconX from "@/icons/IconX" export default function Navbar() { const { isOpen, onOpen, onClose } = useDisclosure() @@ -69,30 +70,42 @@ export default function Navbar() { - - - - - Discord - - - + + + + + + Discord + + + + + + + + Twitter + + + + - - - - - Give feedback about the website - - - + + + + + + Give feedback about the website + + + - - Copyright © 2023 Ethereum Foundation - + + Copyright © 2023 Ethereum Foundation + +