Skip to content

Commit 961404c

Browse files
committed
Эксперементирует с предзагрузкой
1 parent 1562426 commit 961404c

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<link rel="canonical" href="https://inventoris.github.io/severnee/">
1212
<link rel="stylesheet" type="text/css" href="styles/style.css">
1313
<link rel="icon" href="favicon.svg" type="image/svg+xml">
14+
<link rel="preload" href="./fonts/NotoSans-Regular.woff2" as="font" type="font/woff2" crossorigin>
15+
<link rel="preload" href="./fonts/RobotoMono-Regular.woff2" as="font" type="font/woff2" crossorigin>
1416
<link rel="preconnect" href="https://services.swpc.noaa.gov" crossorigin>
1517
</head>
1618

src/styles/common/fonts.css

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,25 @@
33
src: url('../../fonts/NotoSans-Regular.woff2') format('woff2');
44
font-weight: 400;
55
font-style: normal;
6-
font-display: swap;
76
}
87

98
@font-face {
109
font-family: 'Noto Sans';
1110
src: url('../../fonts/NotoSans-Medium.woff2') format('woff2');
1211
font-weight: 500;
1312
font-style: normal;
14-
font-display: swap;
1513
}
1614

1715
@font-face {
1816
font-family: 'Noto Sans';
1917
src: url('../../fonts/NotoSans-SemiBold.woff2') format('woff2');
2018
font-weight: 600;
2119
font-style: normal;
22-
font-display: swap;
2320
}
2421

2522
@font-face {
2623
font-family: 'Roboto Mono';
2724
src: url('../../fonts/RobotoMono-Regular.woff2') format('woff2');
2825
font-weight: 400;
2926
font-style: normal;
30-
font-display: swap;
3127
}

0 commit comments

Comments
 (0)