AVGVSTVS96 / astroSite

Built with Astro and TailwindCSS, this MPA portfolio & blog site is version 3 of my personal website, my first MPA.
https://astrosite-aid.pages.dev/
GNU Affero General Public License v3.0
0 stars 0 forks source link

Add Plus Jakarta Sans font via FontSource #297

Closed AVGVSTVS96 closed 6 months ago

AVGVSTVS96 commented 6 months ago

Import and preload Jakarta font

font-family: 'Plus Jakarta Sans Variable', Tahoma;
import '@fontsource-variable/plus-jakarta-sans';
import jakarta from '@fontsource-variable/plus-jakarta-sans/files/plus-jakarta-sans-latin-wght-normal.woff2?url';
<link
  rel="preload"
  href={jakarta}
  as="font"
  type="font/woff2"
  crossorigin
/>
cloudflare-workers-and-pages[bot] commented 6 months ago

Deploying astrosite with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1772c66
Status: ✅  Deploy successful!
Preview URL: https://1945ee5c.astrosite-aid.pages.dev
Branch Preview URL: https://addfontsourcefont.astrosite-aid.pages.dev

View logs

codesandbox[bot] commented 6 months ago

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders
Open Preview

AVGVSTVS96 commented 6 months ago

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @AVGVSTVS96 and the rest of your teammates on Graphite Graphite