Merged in feature/copy-static-files-via-build-scripts (pull request #2798)
SW-3467 Copy static files via build scripts * add file copy script and add all fonts to design-system * add file copy script and add all fonts to design-system * add file copy script and add all fonts to design-system * remove fonts that will be copied via build scripts * wip * update paths to shared files * update material-symbol script * merge * fix missing shared segment for path in fonts.css Approved-by: Linus Flood
This commit is contained in:
@@ -3,28 +3,28 @@ export function FontPreload() {
|
||||
<>
|
||||
<link
|
||||
rel="preload"
|
||||
href="/_static/fonts/biro-script-plus/regular.woff2"
|
||||
href="/_static/shared/fonts/biro-script-plus/regular.woff2"
|
||||
as="font"
|
||||
type="font/woff2"
|
||||
crossOrigin="anonymous"
|
||||
/>
|
||||
<link
|
||||
rel="preload"
|
||||
href="/_static/fonts/brandon-text/bold.woff2"
|
||||
href="/_static/shared/fonts/brandon-text/bold.woff2"
|
||||
as="font"
|
||||
type="font/woff2"
|
||||
crossOrigin="anonymous"
|
||||
/>
|
||||
<link
|
||||
rel="preload"
|
||||
href="/_static/fonts/fira-sans/medium.woff2"
|
||||
href="/_static/shared/fonts/fira-sans/medium.woff2"
|
||||
as="font"
|
||||
type="font/woff2"
|
||||
crossOrigin="anonymous"
|
||||
/>
|
||||
<link
|
||||
rel="preload"
|
||||
href="/_static/fonts/fira-sans/regular.woff2"
|
||||
href="/_static/shared/fonts/fira-sans/regular.woff2"
|
||||
as="font"
|
||||
type="font/woff2"
|
||||
crossOrigin="anonymous"
|
||||
|
||||
Reference in New Issue
Block a user