ISSUE-010 - Added TTF and Woff2 format fonts for Formula 1's typeface and updated the Menu bar's fonts to use them.

I incorporated the new fonts through Styled-Components just to be real cool that way.
This commit is contained in:
Kyle Geib committed 2022-01-04 16:33:26 -05:00
1 parent 03321e3cdb
commit 2d3e34b111
16 files changed
+80 -6

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@ import { NavLink } from "react-router-dom";
import { InlineCluster } from "@bedrock-layout/inline-cluster";
import useForwardedRef from "@bedrock-layout/use-forwarded-ref";
import { MenuBar, MenuItem } from "./styles";
import { MenuBar, MenuItem, Title } from "./styles";
import f1Logo from "../../public/images/logos/f1-logo-red.svg";
@@ -48,7 +48,7 @@ export const Menu = React.forwardRef<HTMLDivElement, MenuProps>(
return (
<MenuBar ref={innerRef}>
<img src={f1Logo} alt="Formula One logo" height="20px" />
<h3>{props.title}</h3>
<Title>{props.title}</Title>
<nav>
<InlineCluster as="ul" gutter="sm" justify="end">
{newChildren.map((child, i) => (