feat: use new font (#60)

### Explanation

_No response_

### Issue

_No response_

### Attestations

- [ ] I have read and agree to the [Code of Conduct](https://docs.nhcarrigan.com/community/coc/)
- [ ] I have read and agree to the [Community Guidelines](https://docs.nhcarrigan.com/community/guide/).
- [ ] My contribution complies with the [Contributor Covenant](https://docs.nhcarrigan.com/dev/covenant/).

### Dependencies

- [ ] I have pinned the dependencies to a specific patch version.

### Style

- [ ] I have run the linter and resolved any errors.
- [ ] My pull request uses an appropriate title, matching the conventional commit standards.
- [ ] My scope of feat/fix/chore/etc. correctly matches the nature of changes in my pull request.

### Tests

- [ ] My contribution adds new code, and I have added tests to cover it.
- [ ] My contribution modifies existing code, and I have updated the tests to reflect these changes.
- [ ] All new and existing tests pass locally with my changes.
- [ ] Code coverage remains at or above the configured threshold.

### Documentation

_No response_

### Versioning

_No response_

Reviewed-on: https://codeberg.org/nhcarrigan/portfolio/pulls/60
Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Co-committed-by: Naomi Carrigan <commits@nhcarrigan.com>
This commit is contained in:
Naomi Carrigan 2024-12-16 00:39:32 +00:00 committed by Naomi the Technomancer
parent 581334c351
commit c9166a3321
5 changed files with 6 additions and 4 deletions

View File

@ -3,8 +3,8 @@
@tailwind utilities; @tailwind utilities;
@font-face { @font-face {
font-family: "JetBrains Mono"; font-family: "OpenDyslexic Mono";
src: url(../assets/JetBrainsMono-Regular.ttf); src: url(../assets/OpenDyslexicMono-Regular.otf);
} }
:root { :root {
@ -42,7 +42,7 @@ main,
nav { nav {
color: var(--foreground); color: var(--foreground);
background-color: var(--background); background-color: var(--background);
font-family: "JetBrains Mono", monospace; font-family: "OpenDyslexic Mono", monospace;
} }
a { a {

Binary file not shown.

Binary file not shown.

View File

@ -24,6 +24,7 @@ export const Footer = (): JSX.Element | null => {
className="fixed w-full bottom-0 z-50 flex className="fixed w-full bottom-0 z-50 flex
justify-between items-center h-14 px-4 justify-between items-center h-14 px-4
bg-[--background] text-[--foreground]" bg-[--background] text-[--foreground]"
style={{ fontFamily: "OpenDyslexic Mono" }}
> >
<p>{`© Naomi Carrigan`}</p> <p>{`© Naomi Carrigan`}</p>
<a href="https://chat.nhcarrigan.com" rel="noreferrer" target="_blank"> <a href="https://chat.nhcarrigan.com" rel="noreferrer" target="_blank">

View File

@ -49,7 +49,8 @@ export const Navigation = (): JSX.Element | null => {
}, [ isDarkMode ]); }, [ isDarkMode ]);
return ( return (
<div className="fixed w-full top-0 z-50"> <div className="fixed w-full top-0 z-50"
style={{ fontFamily: "OpenDyslexic Mono" }}>
<nav <nav
className="w-full flex justify-between className="w-full flex justify-between
items-center h-14 px-4 bg-[--background] text-[--foreground]" items-center h-14 px-4 bg-[--background] text-[--foreground]"