diff --git a/astro.config.mjs b/astro.config.mjs index ea6317a..882e651 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,19 +1,4 @@ import { defineConfig } from 'astro/config'; -import Unfonts from 'unplugin-fonts/astro' // https://astro.build/config -export default defineConfig({ - integrations: [ - Unfonts({ - google: { - families: [ - 'Cabin', - { - name: 'Open Sans', - styles: 'wght@300;400', - }, - ], - }, - }) - ] -}); +export default defineConfig({}); diff --git a/package.json b/package.json index 64db7df..64a9f32 100644 --- a/package.json +++ b/package.json @@ -36,6 +36,8 @@ "simplebar": "6.2.5" }, "devDependencies": { + "@fontsource-variable/cabin": "^5.0.9", + "@fontsource-variable/open-sans": "^5.0.13", "autoprefixer": "10.4.15", "npm-run-all": "4.1.5", "unplugin-fonts": "^1.0.3" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 51eb133..05858e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -54,6 +54,12 @@ dependencies: version: 6.2.5 devDependencies: + '@fontsource-variable/cabin': + specifier: ^5.0.9 + version: 5.0.9 + '@fontsource-variable/open-sans': + specifier: ^5.0.13 + version: 5.0.13 autoprefixer: specifier: 10.4.15 version: 10.4.15(postcss@8.4.29) @@ -742,6 +748,14 @@ packages: dev: false optional: true + /@fontsource-variable/cabin@5.0.9: + resolution: {integrity: sha512-9h0hjK8+U2CC0KzNeqItcY354s4do8iXRgqqM6+YMFaMqix75RUgr9mQwXwU0KErjssLJTEjKI8HUT/arD262w==} + dev: true + + /@fontsource-variable/open-sans@5.0.13: + resolution: {integrity: sha512-G/lTR5vVBcwRU0vkeYqFfX1UEqHfCG52ccdVgcjwSOcDvi5jQEL3ta212qA2rKwSdhmdei600yNburmYoT1wsg==} + dev: true + /@iconify/iconify@3.1.1: resolution: {integrity: sha512-1nemfyD/OJzh9ALepH7YfuuP8BdEB24Skhd8DXWh0hzcOxImbb1ZizSZkpCzAwSZSGcJFmscIBaBQu+yLyWaxQ==} dependencies: diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 20243e9..edf219e 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -65,7 +65,7 @@ - +

diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index f0d439f..6a6d9cc 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -45,23 +45,23 @@