1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 04:45:22 -04:00

geist fonts are now on google

This commit is contained in:
Jake Jarvis 2024-11-22 10:34:55 -05:00
parent 0542937db5
commit 8f987be75e
Signed by: jake
SSH Key Fingerprint: SHA256:nCkvAjYA6XaSPUqc4TfbBQTpzr8Xj7ritg/sGInCdkc
6 changed files with 17 additions and 33 deletions

View File

@ -39,7 +39,7 @@ const Icon = styled("svg", {
const Label = styled("span", {
fontSize: "0.925em",
fontWeight: 500,
letterSpacing: "0.02em",
letterSpacing: "0.025em",
marginLeft: "0.7em",
"@medium": {

View File

@ -40,7 +40,7 @@ const Name = styled("span", {
margin: "0 0.6em",
fontSize: "1.15em",
fontWeight: 500,
letterSpacing: "0.01em",
letterSpacing: "0.02em",
lineHeight: 1,
"@medium": {

View File

@ -1,9 +1,7 @@
import localFont from "next/font/local";
import { Geist_Mono as GeistMonoLoader } from "next/font/google";
const GeistMono = localFont({
src: "../../../../node_modules/geist/dist/fonts/geist-mono/GeistMono-Variable.woff2",
weight: "100 900",
style: "normal",
const GeistMono = GeistMonoLoader({
subsets: ["latin"],
display: "swap",
fallback: [
// https://github.com/system-fonts/modern-font-stacks#monospace-code

View File

@ -1,9 +1,7 @@
import localFont from "next/font/local";
import { Geist as GeistSansLoader } from "next/font/google";
const GeistSans = localFont({
src: "../../../../node_modules/geist/dist/fonts/geist-sans/Geist-Variable.woff2",
weight: "100 900",
style: "normal",
const GeistSans = GeistSansLoader({
subsets: ["latin"],
display: "swap",
fallback: [
// https://github.com/system-fonts/modern-font-stacks#system-ui

View File

@ -36,7 +36,6 @@
"fast-glob": "^3.3.2",
"feed": "^4.2.2",
"formik": "^2.4.6",
"geist": "^1.3.1",
"gray-matter": "^4.0.3",
"next": "14.2.18",
"next-mdx-remote": "^5.0.0",

29
pnpm-lock.yaml generated
View File

@ -56,9 +56,6 @@ importers:
formik:
specifier: ^2.4.6
version: 2.4.6(react@18.3.1)
geist:
specifier: ^1.3.1
version: 1.3.1(next@14.2.18(react-dom@18.3.1(react@18.3.1))(react@18.3.1))
gray-matter:
specifier: ^4.0.3
version: 4.0.3
@ -1025,8 +1022,8 @@ packages:
resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==}
engines: {node: '>=6'}
caniuse-lite@1.0.30001680:
resolution: {integrity: sha512-rPQy70G6AGUMnbwS1z6Xg+RkHYPAi18ihs47GH0jcxIG7wArmPgY3XbS2sRdBbxJljp3thdT8BIqv9ccCypiPA==}
caniuse-lite@1.0.30001683:
resolution: {integrity: sha512-iqmNnThZ0n70mNwvxpEC2nBJ037ZHZUoBI5Gorh1Mw6IlEAZujEoU1tXA628iZfzm7R9FvFzxbfdgml82a3k8Q==}
ccount@2.0.1:
resolution: {integrity: sha512-eyrF0jiFpY+3drT6383f1qhkbGsLSifNAjA61IUjZjmLCWjItY6LB9ft9YhoDgwfmclB2zhu51Lc7+95b8NRAg==}
@ -1572,11 +1569,6 @@ packages:
functions-have-names@1.2.3:
resolution: {integrity: sha512-xckBUXyTIqT97tq2x2AMb+g163b5JFysYk0x4qxNFwbfQkmNZoiRHb6sPzI9/QV33WeuvVYBUIiD4NzNIyqaRQ==}
geist@1.3.1:
resolution: {integrity: sha512-Q4gC1pBVPN+D579pBaz0TRRnGA4p9UK6elDY/xizXdFk/g4EKR5g0I+4p/Kj6gM0SajDBZ/0FvDV9ey9ud7BWw==}
peerDependencies:
next: '>=13.2.0'
get-east-asian-width@1.3.0:
resolution: {integrity: sha512-vpeMIQKxczTD/0s2CdEWHcb0eeJe6TFjxb+J5xgX7hScxqrGuyjmv4c1D4A/gelKfyox0gJJwIHF+fLjeaM8kQ==}
engines: {node: '>=18'}
@ -3067,8 +3059,8 @@ packages:
resolution: {integrity: sha512-3iMJ9q0ao7WE9tWcaYKIptkNBuOIcZCCT0d4MRvuuH88fEoEH62IuQe0OtraD3ebQEoTRk8XCBoknUNc1Y67pw==}
engines: {node: '>= 0.4'}
typed-array-byte-offset@1.0.2:
resolution: {integrity: sha512-Ous0vodHa56FviZucS2E63zkgtgrACj7omjwd/8lTEMEPFFyjfixMZ1ZXenpgCFBBt4EC1J2XsyVS2gkG0eTFA==}
typed-array-byte-offset@1.0.3:
resolution: {integrity: sha512-GsvTyUHTriq6o/bHcTd0vM7OQ9JEdlvluu9YISaA7+KzDzPaIzEeDFNkTfhdE3MYcNhNi0vq/LlegYgIs5yPAw==}
engines: {node: '>= 0.4'}
typed-array-length@1.0.6:
@ -4111,7 +4103,7 @@ snapshots:
callsites@3.1.0: {}
caniuse-lite@1.0.30001680: {}
caniuse-lite@1.0.30001683: {}
ccount@2.0.1: {}
@ -4348,7 +4340,7 @@ snapshots:
string.prototype.trimstart: 1.0.8
typed-array-buffer: 1.0.2
typed-array-byte-length: 1.0.1
typed-array-byte-offset: 1.0.2
typed-array-byte-offset: 1.0.3
typed-array-length: 1.0.6
unbox-primitive: 1.0.2
which-typed-array: 1.1.15
@ -4821,10 +4813,6 @@ snapshots:
functions-have-names@1.2.3: {}
geist@1.3.1(next@14.2.18(react-dom@18.3.1(react@18.3.1))(react@18.3.1)):
dependencies:
next: 14.2.18(react-dom@18.3.1(react@18.3.1))(react@18.3.1)
get-east-asian-width@1.3.0: {}
get-intrinsic@1.2.4:
@ -5928,7 +5916,7 @@ snapshots:
'@next/env': 14.2.18
'@swc/helpers': 0.5.5
busboy: 1.6.0
caniuse-lite: 1.0.30001680
caniuse-lite: 1.0.30001683
graceful-fs: 4.2.11
postcss: 8.4.31
react: 18.3.1
@ -6823,7 +6811,7 @@ snapshots:
has-proto: 1.0.3
is-typed-array: 1.1.13
typed-array-byte-offset@1.0.2:
typed-array-byte-offset@1.0.3:
dependencies:
available-typed-arrays: 1.0.7
call-bind: 1.0.7
@ -6831,6 +6819,7 @@ snapshots:
gopd: 1.0.1
has-proto: 1.0.3
is-typed-array: 1.1.13
reflect.getprototypeof: 1.0.6
typed-array-length@1.0.6:
dependencies: