font in public

This commit is contained in:
Sabrina Hennrich 2025-07-05 11:24:38 +02:00
parent 5c787473f4
commit 7cbb79a174
51 changed files with 12 additions and 5 deletions

View File

@ -16,35 +16,35 @@ $breakPointXXL: 1400px
@font-face
font-family: 'Mainfont'
src: url('@/assets/fonts/woff2/Montserrat-Light.woff2') format("woff2")
src: url('/assets/fonts/woff2/Montserrat-Light.woff2') format("woff2")
font-weight: normal
font-style: normal
font-display: swap
@font-face
font-family: 'Mainfont-Bold'
src: url('@/assets/fonts/woff2/Montserrat-Medium.woff2') format("woff2")
src: url('/assets/fonts/woff2/Montserrat-Medium.woff2') format("woff2")
font-weight: normal
font-style: normal
font-display: swap
@font-face
font-family: 'Comfortaa'
src: url('@/assets/fonts/woff2/Comfortaa-Light.woff2') format("woff2")
src: url('/assets/fonts/woff2/Comfortaa-Light.woff2') format("woff2")
font-weight: normal
font-style: normal
font-display: swap
@font-face
font-family: 'Comfortaa-Bold'
src: url('@/assets/fonts/woff2/Comfortaa-Bold.woff2') format("woff2")
src: url('/assets/fonts/woff2/Comfortaa-Bold.woff2') format("woff2")
font-weight: normal
font-style: normal
font-display: swap
/*@font-face
font-family: 'Typewriter'
src: url('@/assets/fonts/ttf/JMH_Typewriter.woff2') format("woff2")
src: url('/assets/fonts/ttf/JMH_Typewriter.woff2') format("woff2")
font-weight: normal
font-style: normal
font-display: swap*/

View File

@ -10,6 +10,13 @@ const isLocalhost = window.location.hostname === 'localhost'
// Umami nur aktivieren, wenn NICHT localhost
if (import.meta.client && !isLocalhost) {
useHead({
link: [
{
rel: 'preconnect',
href: 'https://umami.digimedialoop.de',
crossorigin: ''
}
],
meta: [
{
name: 'google-site-verification',