Merge pull request 'preload fonts' (#15) from dev into main

Reviewed-on: BornDeleuze/coop-cloud-front#15
This commit is contained in:
2026-05-17 02:20:45 +00:00
7 changed files with 9 additions and 4 deletions
+1
View File
@@ -8,6 +8,7 @@ pnpm-debug.log*
lerna-debug.log*
node_modules
pnpm-lock.yaml
dist
dist-ssr
*.local
+4
View File
@@ -5,6 +5,10 @@
<link rel="shortcut icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>coopcloud-frontend</title>
<link rel="preload" href="/fonts/manrope.light.woff2" as="font" type="font/woff2">
<link rel="preload" href="/fonts/manrope.medium.woff2" as="font" type="font/woff2">
<link rel="preload" href="/fonts/manrope.bold.woff2" as="font" type="font/woff2">
<link rel="preload" href="/fonts/Lora-Italic.woff2" as="font" type="font/woff2">
</head>
<body>
<div id="root"></div>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+4 -4
View File
@@ -1,6 +1,6 @@
@font-face {
font-family: 'Lora';
src: url('https://coopcloud.tech/font/Lora-Italic.woff2') format('woff2');
src: url('/fonts/Lora-Italic.woff2') format('woff2');
font-style: italic;
font-weight: 400;
font-display: swap;
@@ -8,7 +8,7 @@
@font-face {
font-family: 'Manrope';
src: url('https://coopcloud.tech/font/manrope.light.woff2') format('woff2');
src: url('/fonts/manrope.light.woff2') format('woff2');
font-weight: 300;
font-style: normal;
font-display: swap;
@@ -16,7 +16,7 @@
@font-face {
font-family: 'Manrope';
src: url('https://coopcloud.tech/font/manrope.medium.woff2') format('woff2');
src: url('/fonts/manrope.medium.woff2') format('woff2');
font-weight: 500;
font-style: normal;
font-display: swap;
@@ -24,7 +24,7 @@
@font-face {
font-family: 'Manrope';
src: url('https://coopcloud.tech/font/manrope.bold.woff2') format('woff2');
src: url('/fonts/manrope.bold.woff2') format('woff2');
font-weight: 700;
font-style: normal;
font-display: swap;