diff --git a/index.html b/index.html index 992ea78..ade6cf0 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ - + @@ -24,6 +24,36 @@ + + + + + + GeneraTOR diff --git a/public/fonts/LibreFranklin-Bold.woff2 b/public/fonts/LibreFranklin-Bold.woff2 deleted file mode 100644 index 80b50c1..0000000 Binary files a/public/fonts/LibreFranklin-Bold.woff2 and /dev/null differ diff --git a/public/fonts/LibreFranklin-Regular.woff2 b/public/fonts/LibreFranklin-Regular.woff2 deleted file mode 100644 index e382c58..0000000 Binary files a/public/fonts/LibreFranklin-Regular.woff2 and /dev/null differ diff --git a/public/fonts/LibreFranklin-SemiBold.woff2 b/public/fonts/LibreFranklin-SemiBold.woff2 deleted file mode 100644 index 05e7880..0000000 Binary files a/public/fonts/LibreFranklin-SemiBold.woff2 and /dev/null differ diff --git a/public/fonts/libre-franklin-500.woff2 b/public/fonts/libre-franklin-500.woff2 new file mode 100644 index 0000000..c0f23e2 Binary files /dev/null and b/public/fonts/libre-franklin-500.woff2 differ diff --git a/public/fonts/libre-franklin-700.woff2 b/public/fonts/libre-franklin-700.woff2 new file mode 100644 index 0000000..ad5cca2 Binary files /dev/null and b/public/fonts/libre-franklin-700.woff2 differ diff --git a/public/fonts/libre-franklin-800.woff2 b/public/fonts/libre-franklin-800.woff2 new file mode 100644 index 0000000..6784af0 Binary files /dev/null and b/public/fonts/libre-franklin-800.woff2 differ diff --git a/public/fonts/libre-franklin-regular.woff2 b/public/fonts/libre-franklin-regular.woff2 new file mode 100644 index 0000000..d8fd680 Binary files /dev/null and b/public/fonts/libre-franklin-regular.woff2 differ diff --git a/src/styles/_fonts.scss b/src/styles/_fonts.scss index c795000..8cc240b 100644 --- a/src/styles/_fonts.scss +++ b/src/styles/_fonts.scss @@ -1,24 +1,33 @@ +/* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */ +/* libre-franklin-regular - latin_latin-ext */ @font-face { - font-family: 'Libre Franklin'; - src: url('/fonts/LibreFranklin-Bold.woff2') format('woff2'); - font-weight: 800; - font-style: normal; - font-display: swap; - } - - @font-face { - font-family: 'Libre Franklin'; - src: url('/fonts/LibreFranklin-Regular.woff2') format('woff2'); - font-weight: 500; - font-style: normal; - font-display: swap; - } - - @font-face { - font-family: 'Libre Franklin'; - src: url('/fonts/LibreFranklin-SemiBold.woff2') format('woff2'); - font-weight: 700; - font-style: normal; - font-display: swap; - } - \ No newline at end of file + font-display: swap; + font-family: 'Libre Franklin'; + font-style: normal; + font-weight: 400; + src: url('/fonts/libre-franklin-regular.woff2') format('woff2'); +} +/* libre-franklin-500 - latin_latin-ext */ +@font-face { + font-display: swap; + font-family: 'Libre Franklin'; + font-style: normal; + font-weight: 500; + src: url('/fonts/libre-franklin-500.woff2') format('woff2'); +} +/* libre-franklin-700 - latin_latin-ext */ +@font-face { + font-display: swap; + font-family: 'Libre Franklin'; + font-style: normal; + font-weight: 700; + src: url('/fonts/libre-franklin-700.woff2') format('woff2'); +} +/* libre-franklin-800 - latin_latin-ext */ +@font-face { + font-display: swap; + font-family: 'Libre Franklin'; + font-style: normal; + font-weight: 800; + src: url('/fonts/libre-franklin-800.woff2') format('woff2'); +} diff --git a/vite.config.ts b/vite.config.ts index 13d8359..a7b5203 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -23,7 +23,7 @@ export default defineConfig({ VitePWA({ registerType: 'prompt', workbox: { - globPatterns: ['**/*.{js,css,html,png,svg,img}'], + globPatterns: ['**/*.{js,css,html,png,svg,img,woff2}'], runtimeCaching: [ { urlPattern: /^https:\/\/stacjownik.spythere.eu\/\/api\/getSceneries/i,