From 70c223f37861994337749a8d680536632996cca0 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Sun, 18 Jun 2023 18:10:10 +0400 Subject: [PATCH] Icon font-display:swap, added pages --- src/components/Icon.astro | 8 ++++---- src/pages/projects.astro | 7 +++++++ src/pages/services.astro | 11 +++++++++++ 3 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 src/pages/projects.astro create mode 100644 src/pages/services.astro diff --git a/src/components/Icon.astro b/src/components/Icon.astro index c468ca1..ef4ebf4 100644 --- a/src/components/Icon.astro +++ b/src/components/Icon.astro @@ -15,21 +15,21 @@ const { code } = Astro.props; font-family: 'Line Awesome Regular'; font-style: normal; font-weight: 400; - font-display: auto; + font-display: swap; src: url("/fonts/la-regular-400.eot?#iefix") format("embedded-opentype"), url("/fonts/la-regular-400.woff2") format("woff2"), url("/fonts/la-regular-400.woff") format("woff"), url("/fonts/la-regular-400.ttf") format("truetype"); } @font-face { font-family: 'Line Awesome Solid'; font-style: normal; font-weight: 900; - font-display: auto; + font-display: swap; src: url("/fonts/la-solid-900.eot?#iefix") format("embedded-opentype"), url("/fonts/la-solid-900.woff2") format("woff2"), url("/fonts/la-solid-900.woff") format("woff"), url("/fonts/la-solid-900.ttf") format("truetype"); } @font-face { font-family: 'Line Awesome Brands'; font-style: normal; - font-weight: normal; - font-display: auto; + font-weight: 400; + font-display: swap; src: url("/fonts/la-brands-400.eot?#iefix") format("embedded-opentype"), url("/fonts/la-brands-400.woff2") format("woff2"), url("/fonts/la-brands-400.woff") format("woff"), url("/fonts/la-brands-400.ttf") format("truetype"); } diff --git a/src/pages/projects.astro b/src/pages/projects.astro new file mode 100644 index 0000000..28337b9 --- /dev/null +++ b/src/pages/projects.astro @@ -0,0 +1,7 @@ +--- +import MainLayout from "../layouts/MainLayout.astro"; +--- + + + // + diff --git a/src/pages/services.astro b/src/pages/services.astro new file mode 100644 index 0000000..e6bc555 --- /dev/null +++ b/src/pages/services.astro @@ -0,0 +1,11 @@ +--- +import MainLayout from "../layouts/MainLayout.astro"; + +const description = + "Status and description of services " + + "hosted on my VPS on *.dc09.ru"; +--- + + + // +