diff --git a/index.html b/index.html index 992ea78..1f90d56 100644 --- a/index.html +++ b/index.html @@ -1,34 +1,45 @@ - - - - - - - - - - - - - - - - - - - - - - + + + + - GeneraTOR - - - -
- - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + GeneraTOR + + + + +
+ + + + \ No newline at end of file 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..9c1a19e 100644 --- a/src/styles/_fonts.scss +++ b/src/styles/_fonts.scss @@ -1,24 +1,31 @@ @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'); +} + +@font-face { + font-display: swap; + font-family: 'Libre Franklin'; + font-style: normal; + font-weight: 500; + src: url('/fonts/libre-franklin-500.woff2') format('woff2'); +} + +@font-face { + font-display: swap; + font-family: 'Libre Franklin'; + font-style: normal; + font-weight: 700; + src: url('/fonts/libre-franklin-700.woff2') format('woff2'); +} + +@font-face { + font-display: swap; + font-family: 'Libre Franklin'; + font-style: normal; + font-weight: 800; + src: url('/fonts/libre-franklin-800.woff2') format('woff2'); +} \ No newline at end of file diff --git a/vite.config.ts b/vite.config.ts index 13d8359..d322c4f 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,ico}'], runtimeCaching: [ { urlPattern: /^https:\/\/stacjownik.spythere.eu\/\/api\/getSceneries/i,