From 3ea124e7fffc479f58c5c37e98fba87d488adf72 Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Sun, 16 Oct 2022 20:31:42 -0700 Subject: [PATCH 1/3] try removing background of header text when not against image --- src/pages/index.tsx | 14 +++++++++++--- src/styles/global.css | 18 ++++++++++++++++++ src/styles/index.css | 20 -------------------- 3 files changed, 29 insertions(+), 23 deletions(-) diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 4beb852..59a59c2 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -159,8 +159,13 @@ const IndexPage = ({ >

) : ( diff --git a/src/styles/global.css b/src/styles/global.css index a6ec8a5..4e3a9e8 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -57,6 +57,24 @@ height: 67vw; } } + .cool-border-big { + border: 1px solid rgb(var(--dark-vibrant)); + background: rgb(var(--light-vibrant)); + box-shadow: 10px 10px 0px 0px rgb(var(--dark-vibrant)); + } + .cool-border-small { + color: rgb(var(--dark-vibrant)); + border: 1px solid rgb(var(--dark-vibrant)); + background: rgb(var(--light-vibrant)); + box-shadow: 3px 3px 0px 0px rgb(var(--dark-vibrant)); + } + .cool-border-small:hover { + box-shadow: 6px 6px 0px 0px rgb(var(--dark-vibrant)); + } + .cool-border-small-light { + border: 1px solid rgb(var(--light-vibrant)); + box-shadow: 3px 3px 0px 0px rgb(var(--light-vibrant)); + } } body { diff --git a/src/styles/index.css b/src/styles/index.css index c5e3aed..e57435a 100644 --- a/src/styles/index.css +++ b/src/styles/index.css @@ -2,23 +2,3 @@ text-vibrant-dark border-vibrant bg-vibrant-light } */ - -.cool-border-big { - color: rgb(var(--dark-vibrant)); - border: 1px solid rgb(var(--dark-vibrant)); - background: rgb(var(--light-vibrant)); - box-shadow: 10px 10px 0px 0px rgb(var(--dark-vibrant)); -} -.cool-border-small { - color: rgb(var(--dark-vibrant)); - border: 1px solid rgb(var(--dark-vibrant)); - background: rgb(var(--light-vibrant)); - box-shadow: 3px 3px 0px 0px rgb(var(--dark-vibrant)); -} -.cool-border-small:hover{ - box-shadow: 6px 6px 0px 0px rgb(var(--dark-vibrant)); -} -.cool-border-small-light { - border: 1px solid rgb(var(--light-vibrant)); - box-shadow: 3px 3px 0px 0px rgb(var(--light-vibrant)); -} \ No newline at end of file From c0b8637aaedef34808b28838b04c235dbe464ae9 Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Sun, 16 Oct 2022 20:44:37 -0700 Subject: [PATCH 2/3] move buzzwords link to nav --- src/components/Nav.tsx | 7 ++++++- src/components/index/ActionButtons.tsx | 4 ++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/Nav.tsx b/src/components/Nav.tsx index 959cc57..b4d7778 100644 --- a/src/components/Nav.tsx +++ b/src/components/Nav.tsx @@ -16,7 +16,7 @@ interface NavProps { const Nav = ({ isClient, internalLinks, className }: NavProps) => { const { observe, currentBreakpoint } = useDimensions({ - breakpoints: { XS: 0, LG: 690 }, + breakpoints: { XS: 0, LG: 750 }, updateOnBreakpointChange: true, }); const [linksMenu, setLinksMenu] = useState(false); @@ -84,6 +84,11 @@ const Nav = ({ isClient, internalLinks, className }: NavProps) => { : "bg-black border border-white") )} > +
  • + + Buzzwords + +
  • Twitter diff --git a/src/components/index/ActionButtons.tsx b/src/components/index/ActionButtons.tsx index fe9dfe6..dcf9fd2 100644 --- a/src/components/index/ActionButtons.tsx +++ b/src/components/index/ActionButtons.tsx @@ -24,7 +24,7 @@ const ActionButtons = ({ shuffleImage, }: ActionButtonsProps) => (
    - */}
    Date: Sun, 16 Oct 2022 21:04:31 -0700 Subject: [PATCH 3/3] bring back buzzwords ad, just without a border --- src/components/Nav.tsx | 6 +++--- src/components/index/ActionButtons.tsx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/Nav.tsx b/src/components/Nav.tsx index b4d7778..4d0015a 100644 --- a/src/components/Nav.tsx +++ b/src/components/Nav.tsx @@ -16,7 +16,7 @@ interface NavProps { const Nav = ({ isClient, internalLinks, className }: NavProps) => { const { observe, currentBreakpoint } = useDimensions({ - breakpoints: { XS: 0, LG: 750 }, + breakpoints: { XS: 0, LG: 690 }, updateOnBreakpointChange: true, }); const [linksMenu, setLinksMenu] = useState(false); @@ -84,11 +84,11 @@ const Nav = ({ isClient, internalLinks, className }: NavProps) => { : "bg-black border border-white") )} > -
  • + {/*
  • Buzzwords -
  • + */}
  • Twitter diff --git a/src/components/index/ActionButtons.tsx b/src/components/index/ActionButtons.tsx index dcf9fd2..874cb10 100644 --- a/src/components/index/ActionButtons.tsx +++ b/src/components/index/ActionButtons.tsx @@ -24,7 +24,7 @@ const ActionButtons = ({ shuffleImage, }: ActionButtonsProps) => (