From 6ce4e064cfb9048c360cda4275d0ea83ed446d8a Mon Sep 17 00:00:00 2001 From: Miche Date: Tue, 20 Aug 2024 15:26:22 -0700 Subject: [PATCH 1/2] some changes to get fonts fixed --- .../{assets/fonts => }/AleofontSans-Regular.otf | Bin website/src/App.css | 2 +- website/src/pages/Homepage.css | 2 +- .../src/pages/{TermsOfUse.tsx => TermsOfUse.jsx} | 0 4 files changed, 2 insertions(+), 2 deletions(-) rename website/public/{assets/fonts => }/AleofontSans-Regular.otf (100%) rename website/src/pages/{TermsOfUse.tsx => TermsOfUse.jsx} (100%) diff --git a/website/public/assets/fonts/AleofontSans-Regular.otf b/website/public/AleofontSans-Regular.otf similarity index 100% rename from website/public/assets/fonts/AleofontSans-Regular.otf rename to website/public/AleofontSans-Regular.otf diff --git a/website/src/App.css b/website/src/App.css index 49395de46..26a55253a 100644 --- a/website/src/App.css +++ b/website/src/App.css @@ -9,7 +9,7 @@ input[type="text"]:disabled { @font-face { font-family: "AleoSans"; - src: url("/assets/fonts/AleofontSans-Regular.otf") format("opentype"); + src: url("../public/AleofontSans-Regular.otf") format("opentype"); font-weight: normal; font-style: normal; } diff --git a/website/src/pages/Homepage.css b/website/src/pages/Homepage.css index c93facde7..91edd1db6 100644 --- a/website/src/pages/Homepage.css +++ b/website/src/pages/Homepage.css @@ -151,7 +151,7 @@ a:nth-child(3) { @font-face { font-family: "AleoSans"; - src: url("/assets/fonts/AleofontSans-Regular.otf") format("opentype"); + src: url("../../public/AleofontSans-Regular.otf") format("opentype"); font-weight: normal; font-style: normal; } diff --git a/website/src/pages/TermsOfUse.tsx b/website/src/pages/TermsOfUse.jsx similarity index 100% rename from website/src/pages/TermsOfUse.tsx rename to website/src/pages/TermsOfUse.jsx From d8a93220fea5bd7be25c7e6b9856f02477e68e5e Mon Sep 17 00:00:00 2001 From: Miche Date: Tue, 20 Aug 2024 15:29:49 -0700 Subject: [PATCH 2/2] fix fonts --- website/src/pages/Homepage.css | 2 +- website/src/pages/PrivacyPolicy.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/pages/Homepage.css b/website/src/pages/Homepage.css index 91edd1db6..c9a58c6d6 100644 --- a/website/src/pages/Homepage.css +++ b/website/src/pages/Homepage.css @@ -23,7 +23,7 @@ } .arrow { - font-family: Arial, Helvetica, sans-serif; + font-family: "AleoSans"; } .headerContainer { diff --git a/website/src/pages/PrivacyPolicy.css b/website/src/pages/PrivacyPolicy.css index 0ae833482..d04741ce8 100644 --- a/website/src/pages/PrivacyPolicy.css +++ b/website/src/pages/PrivacyPolicy.css @@ -1,5 +1,5 @@ body { - font-family: Arial, sans-serif; + font-family:'AleoSans'; line-height: 1.6; margin: 20px; }