From cd6f8bee42aff4734c2f9dbf153ed3cd5ad8f484 Mon Sep 17 00:00:00 2001 From: nomad Date: Thu, 5 Jun 2025 23:39:35 +0300 Subject: [PATCH] fonts optimization --- ...nds-Regular-400.otf => font-awesome6-brands.otf} | Bin static/fonts/fontawesome.css | 9 ++++----- 2 files changed, 4 insertions(+), 5 deletions(-) rename static/fonts/{Font Awesome 6 Brands-Regular-400.otf => font-awesome6-brands.otf} (100%) diff --git a/static/fonts/Font Awesome 6 Brands-Regular-400.otf b/static/fonts/font-awesome6-brands.otf similarity index 100% rename from static/fonts/Font Awesome 6 Brands-Regular-400.otf rename to static/fonts/font-awesome6-brands.otf diff --git a/static/fonts/fontawesome.css b/static/fonts/fontawesome.css index 6835997..624cd58 100644 --- a/static/fonts/fontawesome.css +++ b/static/fonts/fontawesome.css @@ -1,16 +1,15 @@ -@font-face { +/* @font-face { font-family: 'Font-Awesome'; font-style: normal; font-weight: 400; - src: url('/fonts/fa-brands-400.woff2') format('woff2'), - url('/fonts/fa-brands-400.ttf') format('truetype'); + src: url('/fonts/fa-brands-400.woff2') format('woff2'); font-display: swap; -} +} */ @font-face { font-family: 'Font-Awesome-brands'; font-style: normal; font-weight: 400; - src: url('/fonts/Font Awesome 6 Brands-Regular-400.otf') format('opentype'); + src: url('/fonts/font-awesome6-brands.otf') format('opentype'); font-display: swap; } \ No newline at end of file