Skip to content

Commit

Permalink
feat: style updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tylerodonnell committed Jul 26, 2023
1 parent 300a456 commit 115c610
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ yarn-error.log*
public/*
!public/favicon.png
!public/pgp.txt
!public/fonts*
Binary file added public/fonts/BerkeleyMono-Regular.woff
Binary file not shown.
Binary file added public/fonts/BerkeleyMono-Regular.woff2
Binary file not shown.
2 changes: 1 addition & 1 deletion src/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const COLORS = {
}

export const FONT_FAMILIES = {
MONOSPACE: 'Roboto Mono, monospace'
MONOSPACE: 'Berkeley Mono, monospace'
}

export const FONT_SIZES = {
Expand Down
3 changes: 2 additions & 1 deletion src/containers/hero.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const Title = styled.h2`
line-height: 1.5;
text-align: center;
`

const Hero = styled.section`
align-items: center;
animation: ${animations.fadeInDown} ${TIMINGS.LONG} ease ${TIMINGS.SHORT} 1 forwards;
Expand All @@ -54,7 +55,7 @@ export default () => (
Tyler O'Donnell
</Headline>
<Title>
Senior Infosec Engineering Manager at <Role href='https://articulate.com' target='_blank' rel='noopener noreferrer'>Articulate</Role>
Information Security Leader
</Title>
</Hero>
)
6 changes: 3 additions & 3 deletions src/containers/links.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react'
import styled from 'styled-components'
import { FaEnvelope, FaGithub, FaKeybase, FaLinkedin } from 'react-icons/fa'
import { FaEnvelope, FaGithub, FaKey, FaLinkedin } from 'react-icons/fa'

import { Link } from '../components'
import {
Expand Down Expand Up @@ -31,8 +31,8 @@ export default () => (
<FaLinkedin />
</Link>

<Link href='https://keybase.io/tylerodonnell' target='_blank' rel='noopener noreferrer'>
<FaKeybase />
<Link href='/pgp.txt' target='_blank' rel='noopener noreferrer'>
<FaKey />
</Link>
</Links>
)
11 changes: 5 additions & 6 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,11 @@
/>
<title>Tyler O'Donnell</title>
<link
href="https://fonts.gstatic.com"
rel="preconnect"
>
<link
href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@300;600&display=swap"
rel="stylesheet"
href="/fonts/BerkeleyMono-Regular.woff2"
as="font"
type="font/woff2"
rel="preload"
crossorigin
>
<style>
html {
Expand Down

0 comments on commit 115c610

Please sign in to comment.