From 08e9a255c87c567c274ddaceb8fd154f65d4ef5a Mon Sep 17 00:00:00 2001 From: amphineko Date: Sun, 27 Oct 2024 03:07:44 +0000 Subject: [PATCH] feat: replace with more generic(?) background --- .devcontainer/devcontainer.json | 5 +++- src/assets/images/blueprint-bg.svg | 45 +++++++++++++++++++++++++++++ src/components/display/accounts.tsx | 7 ++++- src/index.tsx | 7 +++-- 4 files changed, 60 insertions(+), 4 deletions(-) create mode 100644 src/assets/images/blueprint-bg.svg diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3c5d4be..882d3ba 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -20,5 +20,8 @@ } } } - } + }, + "forwardPorts": [ + 5173 + ] } \ No newline at end of file diff --git a/src/assets/images/blueprint-bg.svg b/src/assets/images/blueprint-bg.svg new file mode 100644 index 0000000..a710e9e --- /dev/null +++ b/src/assets/images/blueprint-bg.svg @@ -0,0 +1,45 @@ + + + + BG + 12rem + #939597 GREY + diff --git a/src/components/display/accounts.tsx b/src/components/display/accounts.tsx index 9130d14..b7df1a7 100644 --- a/src/components/display/accounts.tsx +++ b/src/components/display/accounts.tsx @@ -1,6 +1,7 @@ import { PropsWithChildren, ReactNode } from 'react' import { Dimmed, Redacted } from '../typography' import { Capsule } from './capsule' +import { BORDER_RADIUS } from '../../lib/css' const Account = ({ children, @@ -41,7 +42,7 @@ const Category = ({ children, title }: PropsWithChildren<{ title: string }>) => } .title { - color: #eee; + color: #333; font-size: 1rem; } @@ -66,10 +67,14 @@ const Container = ({ children }: PropsWithChildren) => ( {children} diff --git a/src/index.tsx b/src/index.tsx index dec5d7b..b80cdcd 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -1,7 +1,7 @@ import { ReactNode } from 'react' import type { IconType } from 'react-icons' import { TbBulb, TbGitBranch } from 'react-icons/tb' -import Background from './assets/images/background.svg' +import Background from './assets/images/blueprint-bg.svg' import { AccountShowcase } from './components/display/accounts.tsx' import { Capsule } from './components/display/capsule' import { Footer, FooterLink, FooterParagraph } from './components/display/footer' @@ -88,7 +88,9 @@ export const IndexPage = () => { ))} + {DESCRIPTION_PARAGRAPHS} +