Skip to content

Commit 99304d2

Browse files
committed
Updated fonts
1 parent 87e9edf commit 99304d2

49 files changed

Lines changed: 36 additions & 44 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎src/app/(modal)/secrets/input/secret-input.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use client";
22

33
import React, { ChangeEvent, useCallback, useEffect, useEffectEvent, useRef, useState } from "react";
4-
import { SECRET_INPUT_FONT } from "types/font";
4+
import { SECRET_INPUT_FONT } from "@components/font/font";
55
import { useRouter } from "next/navigation";
66
import { SnackbarVariant, StatDefinition } from "types";
77
import { useSnackbar } from "@context";
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Google_Sans, Mansalva } from 'next/font/google';
44
import localFont from "next/font/local";
55

66
export const pspFont: NextFontWithVariable = localFont({
7-
src: '../../public/fonts/NewRodinPro-L-AlphaNum.woff2',
7+
src: 'fonts/NewRodinPro-L-AlphaNum.woff2',
88
variable: '--font-newrodin-pro-l',
99
style: 'normal',
1010
weight: '400',
@@ -13,7 +13,7 @@ export const pspFont: NextFontWithVariable = localFont({
1313
});
1414

1515
export const dreamcastFont: NextFontWithVariable = localFont({
16-
src: '../../public/fonts/Dreamcast.woff2',
16+
src: 'fonts/Dreamcast.woff2',
1717
variable: '--font-nise-sega-dreamcast',
1818
style: 'normal',
1919
weight: '400',
@@ -24,12 +24,12 @@ export const dreamcastFont: NextFontWithVariable = localFont({
2424
export const exocetFont: NextFontWithVariable = localFont({
2525
src: [
2626
{
27-
path: '../../public/fonts/ExocetLight.woff2',
27+
path: 'fonts/ExocetLight.woff2',
2828
weight: '400',
2929
style: 'normal',
3030
},
3131
{
32-
path: '../../public/fonts/ExocetHeavy.woff2',
32+
path: 'fonts/ExocetHeavy.woff2',
3333
weight: '900',
3434
style: 'normal',
3535
},
@@ -44,22 +44,22 @@ export const exocetFont: NextFontWithVariable = localFont({
4444
export const ps2Font: NextFontWithVariable = localFont({
4545
src: [
4646
{
47-
path: '../../public/fonts/EmotionEngine.woff2',
47+
path: 'fonts/EmotionEngine.woff2',
4848
weight: '400',
4949
style: 'normal',
5050
},
5151
{
52-
path: '../../public/fonts/EmotionEngine-Italic.woff2',
52+
path: 'fonts/EmotionEngine-Italic.woff2',
5353
weight: '400',
5454
style: 'italic',
5555
},
5656
{
57-
path: '../../public/fonts/EmotionEngine-Bold.woff2',
57+
path: 'fonts/EmotionEngine-Bold.woff2',
5858
weight: '700',
5959
style: 'normal',
6060
},
6161
{
62-
path: '../../public/fonts/EmotionEngine-BoldItalic.woff2',
62+
path: 'fonts/EmotionEngine-BoldItalic.woff2',
6363
weight: '700',
6464
style: 'italic',
6565
},
@@ -74,7 +74,7 @@ export const ps2Font: NextFontWithVariable = localFont({
7474
export const ps2BiosFont: NextFontWithVariable = localFont({
7575
src: [
7676
{
77-
path: '../../public/fonts/ps2-bios-font.woff',
77+
path: 'fonts/ps2-bios-font.ttf',
7878
weight: '400',
7979
style: 'normal',
8080
},
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)