diff --git a/public/fonts/cantarell.otf b/public/fonts/cantarell.otf new file mode 100644 index 0000000..7306325 Binary files /dev/null and b/public/fonts/cantarell.otf differ diff --git a/src/pages/index.astro b/src/pages/index.astro index e857959..2ed2035 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -24,4 +24,12 @@ main { flex-direction: column; align-items: center; } + +@font-face { + font-family: 'Cantarell'; + src: url('/fonts/cantarell.otf') format('otf'); + font-weight: normal; + font-style: normal; + font-display: swap; +}