From 51d40fc9062ac1a638f6627abfef71d0dfc35869 Mon Sep 17 00:00:00 2001 From: Jonathan Sick Date: Fri, 30 Apr 2021 12:19:35 -0400 Subject: [PATCH] Load Source Sans Pro via Font Source --- components/meta.js | 6 ------ pages/_app.js | 8 ++++++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/components/meta.js b/components/meta.js index f49de6b7..34e1d0fe 100644 --- a/components/meta.js +++ b/components/meta.js @@ -33,12 +33,6 @@ const Meta = () => { key="ogdescription" content={siteDescription} /> - - - ); }; diff --git a/pages/_app.js b/pages/_app.js index 72022a1b..8b4d793e 100644 --- a/pages/_app.js +++ b/pages/_app.js @@ -2,14 +2,22 @@ import PropTypes from 'prop-types'; import getConfig from 'next/config'; import { ThemeProvider } from 'next-themes'; +// Icons from Font Awesome import { library } from '@fortawesome/fontawesome-svg-core'; import { faAngleDown } from '@fortawesome/free-solid-svg-icons'; import '@fortawesome/fontawesome-svg-core/styles.css'; +// Source Sans Pro Font from Font Source +import '@fontsource/source-sans-pro/400.css'; +import '@fontsource/source-sans-pro/400-italic.css'; +import '@fontsource/source-sans-pro/700.css'; + +// Global CSS import 'normalize.css'; import '@lsst-sqre/rubin-style-dictionary/dist/tokens.css'; import '@lsst-sqre/rubin-style-dictionary/dist/tokens.dark.css'; import '../styles/globals.css'; + import { useLogin } from '../hooks/login'; import Page from '../components/page';