diff --git a/src/assets/Blinker-SemiBold.ttf b/public/fonts/Blinker-SemiBold.ttf similarity index 100% rename from src/assets/Blinker-SemiBold.ttf rename to public/fonts/Blinker-SemiBold.ttf diff --git a/src/assets/DMSans-Medium.ttf b/public/fonts/DMSans-Medium.ttf similarity index 100% rename from src/assets/DMSans-Medium.ttf rename to public/fonts/DMSans-Medium.ttf diff --git a/src/assets/MesloLGS-NF-Bold.ttf b/public/fonts/MesloLGS-NF-Bold.ttf similarity index 100% rename from src/assets/MesloLGS-NF-Bold.ttf rename to public/fonts/MesloLGS-NF-Bold.ttf diff --git a/src/styles/globals.ts b/src/styles/globals.ts index df74fc4..089128e 100644 --- a/src/styles/globals.ts +++ b/src/styles/globals.ts @@ -5,18 +5,18 @@ export const GlobalStyle = createGlobalStyle` @font-face { font-family: "MesloLGS NF Bold"; - src: url("/src/assets/MesloLGS-NF-Bold.ttf") format("truetype"); + src: url("fonts/MesloLGS-NF-Bold.ttf") format("truetype"); } @font-face { font-family: "Blinker SemiBold"; - src: url("/src/assets/Blinker-SemiBold.ttf") format("truetype"); + src: url("fonts/Blinker-SemiBold.ttf") format("truetype"); } @font-face { font-family: "DM Sans"; - src: url("/src/assets/DMSans-Medium.ttf") format("truetype"); + src: url("fonts/DMSans-Medium.ttf") format("truetype"); } body {