From 591abc9ac173df7558fdae89f1393f7223012460 Mon Sep 17 00:00:00 2001 From: rebeccahongsf Date: Thu, 11 Apr 2024 15:18:01 -0700 Subject: [PATCH] add roboto font, adjust lockup for mobile, add arrow right link option, adjust footer styles --- src/components/config-pages/local-footer.tsx | 26 ++++++++++---------- src/components/elements/link.tsx | 4 +++ src/styles/fonts.tsx | 11 +++++++-- 3 files changed, 26 insertions(+), 15 deletions(-) diff --git a/src/components/config-pages/local-footer.tsx b/src/components/config-pages/local-footer.tsx index f37fdea8..14a4caf0 100644 --- a/src/components/config-pages/local-footer.tsx +++ b/src/components/config-pages/local-footer.tsx @@ -63,13 +63,13 @@ const LocalFooter = ({ return (
-
+
-
+
-
+
{suLocalFootAddress &&
@@ -90,7 +90,7 @@ const LocalFooter = ({ } - + {suLocalFootSocial &&
    @@ -98,7 +98,7 @@ const LocalFooter = ({ if (!link.url) return; return (
  • - + {link.title} @@ -109,16 +109,16 @@ const LocalFooter = ({ }
-
+
{suLocalFootPrimeH && -

{suLocalFootPrimeH}

} +

{suLocalFootPrimeH}

} {suLocalFootPrimary &&
    {suLocalFootPrimary.map((link, index) => { if (!link.url) return; return (
  • - + {link.title}
  • @@ -130,9 +130,9 @@ const LocalFooter = ({
-
+
{suLocalFootSecondH && -

{suLocalFootSecondH}

} +

{suLocalFootSecondH}

} {suLocalFootSecond &&
    @@ -140,7 +140,7 @@ const LocalFooter = ({ if (!link.url) return; return (
  • - + {link.title}
  • @@ -194,7 +194,7 @@ const FooterLockup = ({useDefault = true, siteName, lockupOption, ...props}: Foo return (
    + className="flex flex-row gap-4 no-underline font-roboto">
    @@ -240,7 +240,7 @@ const FooterLockup = ({useDefault = true, siteName, lockupOption, ...props}: Foo return (
    - +
    diff --git a/src/components/elements/link.tsx b/src/components/elements/link.tsx index e754e9af..4f2caac5 100644 --- a/src/components/elements/link.tsx +++ b/src/components/elements/link.tsx @@ -4,6 +4,7 @@ import {EnvelopeIcon} from "@heroicons/react/24/outline"; import ActionLink from "@components/elements/action-link"; import Button from "@components/elements/button"; import {LinkProps} from "next/dist/client/link"; +import { ArrowRightIcon } from "@heroicons/react/20/solid"; type Props = HtmlHTMLAttributes & LinkProps & { /** @@ -48,6 +49,9 @@ const DrupalLink = ({href, className, children, ...props}: Props) => { {href.startsWith("mailto") && } + {className?.includes("link--arrow-right") && + + } ) } diff --git a/src/styles/fonts.tsx b/src/styles/fonts.tsx index 7f897512..1c91e068 100644 --- a/src/styles/fonts.tsx +++ b/src/styles/fonts.tsx @@ -1,7 +1,14 @@ -import {Source_Sans_3} from "next/font/google"; +import {Roboto, Source_Sans_3} from "next/font/google"; export const sourceSans3 = Source_Sans_3({ subsets: ["latin"], display: "swap", variable: "--font-sans", -}) \ No newline at end of file +}) + +export const roboto = Roboto({ + subsets: ["latin"], + display: "swap", + variable: "--font-roboto", + weight: "100" +})