From 421bf9babe2ae295fc4a9c964025241b1f0beeab Mon Sep 17 00:00:00 2001 From: jgoteam Date: Fri, 26 Apr 2024 11:01:22 -0700 Subject: [PATCH] style: moved font locations, update default font to Ubuntu, change 'case button' hover Co-authored-by: Alex Sklar Co-authored-by: Erik Margetis --- src/css/custom.css | 18 +++--- src/pages/index.js | 58 +++++++++--------- {fonts => static/fonts}/Ubuntu-Bold.ttf | Bin {fonts => static/fonts}/Ubuntu-BoldItalic.ttf | Bin {fonts => static/fonts}/Ubuntu-Italic.ttf | Bin {fonts => static/fonts}/Ubuntu-Light.ttf | Bin .../fonts}/Ubuntu-LightItalic.ttf | Bin {fonts => static/fonts}/Ubuntu-Medium.ttf | Bin .../fonts}/Ubuntu-MediumItalic.ttf | Bin {fonts => static/fonts}/Ubuntu-Regular.ttf | Bin 10 files changed, 39 insertions(+), 37 deletions(-) rename {fonts => static/fonts}/Ubuntu-Bold.ttf (100%) rename {fonts => static/fonts}/Ubuntu-BoldItalic.ttf (100%) rename {fonts => static/fonts}/Ubuntu-Italic.ttf (100%) rename {fonts => static/fonts}/Ubuntu-Light.ttf (100%) rename {fonts => static/fonts}/Ubuntu-LightItalic.ttf (100%) rename {fonts => static/fonts}/Ubuntu-Medium.ttf (100%) rename {fonts => static/fonts}/Ubuntu-MediumItalic.ttf (100%) rename {fonts => static/fonts}/Ubuntu-Regular.ttf (100%) diff --git a/src/css/custom.css b/src/css/custom.css index 487999d..e3287e9 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -23,20 +23,20 @@ @layer base { @font-face { font-family: 'Ubuntu'; - src: url("../../fonts/Ubuntu-Regular.ttf") format('ttf'), - url("../../fonts/Ubuntu-MediumItalic.ttf") format('ttf'), - url("../../fonts/Ubuntu-Medium.ttf") format('ttf'), - url("../../fonts/Ubuntu-LightItalic.ttf") format('ttf'), - url("../../fonts/Ubuntu-Light.ttf") format('ttf'), - url("../../fonts/Ubuntu-Italic.ttf") format('ttf'), - url("../../fonts/Ubuntu-BoldItalic.ttf") format('ttf'), - url("../../fonts/Ubuntu-Bold.ttf") format('ttf'), + src: url("/fonts/Ubuntu-Regular.ttf") format('ttf'), + url("/fonts/Ubuntu-MediumItalic.ttf") format('ttf'), + url("/fonts/Ubuntu-Medium.ttf") format('ttf'), + url("/fonts/Ubuntu-LightItalic.ttf") format('ttf'), + url("/fonts/Ubuntu-Light.ttf") format('ttf'), + url("/fonts/Ubuntu-Italic.ttf") format('ttf'), + url("/fonts/Ubuntu-BoldItalic.ttf") format('ttf'), + url("/fonts/Ubuntu-Bold.ttf") format('ttf'), } } @layer base { html { - font-family: "Inter", system-ui, sans-serif; + font-family: "Ubuntu", system-ui, sans-serif; } } diff --git a/src/pages/index.js b/src/pages/index.js index 8884a46..fdb1377 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -11,7 +11,7 @@ export default function Home() { const handleScrollClick = () => { if (featureRef.current) { - featureRef.current.scrollIntoView({ behavior: 'smooth' }); + featureRef.current.scrollIntoView({ behavior: 'smooth' }) } } @@ -20,34 +20,36 @@ export default function Home() { return (
- -

{siteConfig.title}

-

- {siteConfig.tagline} -

-
- - Read Case Study - + id="hero-landing" + className="font-sans h-11/12 rounded-3xl lg:rounded-tl-2xl lg:rounded-bl-2xl shadow-md overflow-hidden m-1 pt-10 pb-5 flex flex-col text-center items-center bg-gradient-to-br from-slate-900 via-slate-800 to-syncoBlue" + > + +

+ {siteConfig.title} +

+

+ {siteConfig.tagline} +

+
+ + Read Case Study + +
+
+ +
-
- -
-
diff --git a/fonts/Ubuntu-Bold.ttf b/static/fonts/Ubuntu-Bold.ttf similarity index 100% rename from fonts/Ubuntu-Bold.ttf rename to static/fonts/Ubuntu-Bold.ttf diff --git a/fonts/Ubuntu-BoldItalic.ttf b/static/fonts/Ubuntu-BoldItalic.ttf similarity index 100% rename from fonts/Ubuntu-BoldItalic.ttf rename to static/fonts/Ubuntu-BoldItalic.ttf diff --git a/fonts/Ubuntu-Italic.ttf b/static/fonts/Ubuntu-Italic.ttf similarity index 100% rename from fonts/Ubuntu-Italic.ttf rename to static/fonts/Ubuntu-Italic.ttf diff --git a/fonts/Ubuntu-Light.ttf b/static/fonts/Ubuntu-Light.ttf similarity index 100% rename from fonts/Ubuntu-Light.ttf rename to static/fonts/Ubuntu-Light.ttf diff --git a/fonts/Ubuntu-LightItalic.ttf b/static/fonts/Ubuntu-LightItalic.ttf similarity index 100% rename from fonts/Ubuntu-LightItalic.ttf rename to static/fonts/Ubuntu-LightItalic.ttf diff --git a/fonts/Ubuntu-Medium.ttf b/static/fonts/Ubuntu-Medium.ttf similarity index 100% rename from fonts/Ubuntu-Medium.ttf rename to static/fonts/Ubuntu-Medium.ttf diff --git a/fonts/Ubuntu-MediumItalic.ttf b/static/fonts/Ubuntu-MediumItalic.ttf similarity index 100% rename from fonts/Ubuntu-MediumItalic.ttf rename to static/fonts/Ubuntu-MediumItalic.ttf diff --git a/fonts/Ubuntu-Regular.ttf b/static/fonts/Ubuntu-Regular.ttf similarity index 100% rename from fonts/Ubuntu-Regular.ttf rename to static/fonts/Ubuntu-Regular.ttf