From de491d18b7e4644e7799ad186cec7e79519aa562 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20Schr=C3=B6tler?= <niklas@allround.digital> Date: Thu, 11 Jan 2024 16:25:48 +0100 Subject: [PATCH] index.css: Fixed font links --- src/index.css | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/index.css b/src/index.css index 2ff9386..c3d48c6 100644 --- a/src/index.css +++ b/src/index.css @@ -23,7 +23,7 @@ font-family: 'Inter'; font-style: normal; font-weight: 100; - src: url('/fonts/inter/inter-v13-latin_latin-ext-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + src: url('./../public/fonts/inter/inter-v13-latin_latin-ext-100.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* inter-200 - latin_latin-ext */ @font-face { @@ -31,7 +31,7 @@ font-family: 'Inter'; font-style: normal; font-weight: 200; - src: url('/fonts/inter/inter-v13-latin_latin-ext-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + src: url('./../public/fonts/inter/inter-v13-latin_latin-ext-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* inter-300 - latin_latin-ext */ @font-face { @@ -39,7 +39,7 @@ font-family: 'Inter'; font-style: normal; font-weight: 300; - src: url('/fonts/inter/inter-v13-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + src: url('./../public/fonts/inter/inter-v13-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* inter-regular - latin_latin-ext */ @font-face { @@ -47,7 +47,7 @@ font-family: 'Inter'; font-style: normal; font-weight: 400; - src: url('/fonts/inter/inter-v13-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + src: url('./../public/fonts/inter/inter-v13-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* inter-500 - latin_latin-ext */ @font-face { @@ -55,7 +55,7 @@ font-family: 'Inter'; font-style: normal; font-weight: 500; - src: url('/fonts/inter/inter-v13-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + src: url('./../public/fonts/inter/inter-v13-latin_latin-ext-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* inter-600 - latin_latin-ext */ @font-face { @@ -63,7 +63,7 @@ font-family: 'Inter'; font-style: normal; font-weight: 600; - src: url('/fonts/inter/inter-v13-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + src: url('./../public/fonts/inter/inter-v13-latin_latin-ext-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* inter-700 - latin_latin-ext */ @font-face { @@ -71,7 +71,7 @@ font-family: 'Inter'; font-style: normal; font-weight: 700; - src: url('/fonts/inter/inter-v13-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + src: url('./../public/fonts/inter/inter-v13-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* inter-800 - latin_latin-ext */ @font-face { @@ -79,7 +79,7 @@ font-family: 'Inter'; font-style: normal; font-weight: 800; - src: url('/fonts/inter/inter-v13-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + src: url('./../public/fonts/inter/inter-v13-latin_latin-ext-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } /* inter-900 - latin_latin-ext */ @font-face { @@ -87,5 +87,5 @@ font-family: 'Inter'; font-style: normal; font-weight: 900; - src: url('/fonts/inter/inter-v13-latin_latin-ext-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ + src: url('./../public/fonts/inter/inter-v13-latin_latin-ext-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ } -- GitLab