diff --git a/assets/css/fonts/Danzza-Bold.woff b/assets/css/fonts/Danzza-Bold.woff deleted file mode 100644 index 784a004..0000000 Binary files a/assets/css/fonts/Danzza-Bold.woff and /dev/null differ diff --git a/assets/css/fonts/Danzza-Light.woff b/assets/css/fonts/Danzza-Light.woff deleted file mode 100644 index ca55417..0000000 Binary files a/assets/css/fonts/Danzza-Light.woff and /dev/null differ diff --git a/assets/css/fonts/Danzza-Medium.woff b/assets/css/fonts/Danzza-Medium.woff deleted file mode 100644 index 7a0782a..0000000 Binary files a/assets/css/fonts/Danzza-Medium.woff and /dev/null differ diff --git a/assets/css/fonts/Danzza-Regular.woff b/assets/css/fonts/Danzza-Regular.woff deleted file mode 100644 index 3a8b2cc..0000000 Binary files a/assets/css/fonts/Danzza-Regular.woff and /dev/null differ diff --git a/assets/css/fonts/PixelifySans-Regular.ttf b/assets/css/fonts/PixelifySans-Regular.ttf deleted file mode 100644 index 81993b9..0000000 Binary files a/assets/css/fonts/PixelifySans-Regular.ttf and /dev/null differ diff --git a/assets/css/fonts/terminal-grotesque.ttf b/assets/css/fonts/terminal-grotesque.ttf deleted file mode 100644 index 3786710..0000000 Binary files a/assets/css/fonts/terminal-grotesque.ttf and /dev/null differ diff --git a/assets/fonts/Danzza-Bold.otf b/assets/fonts/Danzza Bold.otf similarity index 100% rename from assets/fonts/Danzza-Bold.otf rename to assets/fonts/Danzza Bold.otf diff --git a/assets/fonts/Danzza-Medium.otf b/assets/fonts/Danzza Medium.otf similarity index 100% rename from assets/fonts/Danzza-Medium.otf rename to assets/fonts/Danzza Medium.otf diff --git a/assets/fonts/Danzza-Regular.otf b/assets/fonts/Danzza Regular.otf similarity index 100% rename from assets/fonts/Danzza-Regular.otf rename to assets/fonts/Danzza Regular.otf diff --git a/assets/fonts/Danzza-Bold.woff b/assets/fonts/Danzza-Bold.woff deleted file mode 100644 index 784a004..0000000 Binary files a/assets/fonts/Danzza-Bold.woff and /dev/null differ diff --git a/assets/fonts/Danzza-Light.otf b/assets/fonts/Danzza-Light.otf deleted file mode 100644 index 7f14f9c..0000000 Binary files a/assets/fonts/Danzza-Light.otf and /dev/null differ diff --git a/assets/fonts/Danzza-Light.woff b/assets/fonts/Danzza-Light.woff deleted file mode 100644 index ca55417..0000000 Binary files a/assets/fonts/Danzza-Light.woff and /dev/null differ diff --git a/assets/fonts/Danzza-Medium.woff b/assets/fonts/Danzza-Medium.woff deleted file mode 100644 index 7a0782a..0000000 Binary files a/assets/fonts/Danzza-Medium.woff and /dev/null differ diff --git a/assets/fonts/Danzza-Regular.woff b/assets/fonts/Danzza-Regular.woff deleted file mode 100644 index 3a8b2cc..0000000 Binary files a/assets/fonts/Danzza-Regular.woff and /dev/null differ diff --git a/src/styles/fonts.css b/src/styles/fonts.css index a71d638..3be7061 100644 --- a/src/styles/fonts.css +++ b/src/styles/fonts.css @@ -3,27 +3,27 @@ font-family: "Terminal"; font-weight: bold; src: local("terminal-grotesque"), - url("/assets/css/fonts/terminal-grotesque.ttf") format("truetype"); + url("/assets/fonts/terminal-grotesque.ttf") format("truetype"); } @font-face { font-family: "Danzza"; src: local("Danzza Regular"), - url("/assets/css/fonts/Danzza%20Regular.otf") format("opentype"); + url("/assets/fonts/Danzza%20Regular.otf") format("opentype"); font-display: swap; } @font-face { font-family: "Danzza Medium"; src: local("Danzza Medium"), - url("/assets/css/fonts/Danzza%20Medium.otf") format("opentype"); + url("/assets/fonts/Danzza%20Medium.otf") format("opentype"); font-display: swap; } @font-face { font-family: "Danzza Bold"; src: local("Danzza Bold"), - url("/assets/css/fonts/Danzza%20Bold.otf") format("opentype"); + url("/assets/fonts/Danzza%20Bold.otf") format("opentype"); font-display: swap; } @@ -52,3 +52,10 @@ .green { color: var(--color-primary); } + +.gradient-blue { + -webkit-text-fill-color: transparent; + background: linear-gradient(90deg, #2c85f3 0, #68e0cf 50%); + background-clip: text; + -webkit-background-clip: text; +} diff --git a/vite.config.js b/vite.config.js index c924c65..4af66a3 100644 --- a/vite.config.js +++ b/vite.config.js @@ -21,7 +21,7 @@ function keepFontsInPlace() { if (chunk.type === 'asset' && chunk.fileName.endsWith('.css')) { chunk.source = chunk.source.replace( /url\((['"]?)([^'")\s]*\.(woff2?|ttf|otf))\1\)/gi, - (_, _q, p) => `url("/assets/css/fonts/${decodeURIComponent(p.split('/').pop())}")` + (_, _q, p) => `url("/assets/fonts/${decodeURIComponent(p.split('/').pop())}")` ) } }