Skip to content

Commit 313da49

Browse files
committed
Replace Google Fonts link with self-hosted font
1 parent 09e9418 commit 313da49

File tree

9 files changed

+37
-2
lines changed

9 files changed

+37
-2
lines changed
17.1 KB
Binary file not shown.
13.9 KB
Binary file not shown.
16.8 KB
Binary file not shown.
13.6 KB
Binary file not shown.
17 KB
Binary file not shown.
13.7 KB
Binary file not shown.

resources/css/app.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@import '../../vendor/filament/filament/resources/css/app.css';
22
@import 'tippy.js/dist/tippy.css';
33
@import 'tribute.css';
4+
@import 'fonts.css';
45

56
body {
67
font-family: 'Nunito', sans-serif;

resources/css/fonts.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/*
2+
* Generated with: https://google-webfonts-helper.herokuapp.com/fonts/nunito?subsets=latin
3+
* Styles: regular (400), 600 & 700
4+
* CSS: Modern Browsers
5+
*/
6+
7+
/* nunito-regular - latin */
8+
@font-face {
9+
font-family: 'Nunito';
10+
font-style: normal;
11+
font-weight: 400;
12+
font-display: swap;
13+
src: local(''),
14+
url('/fonts/nunito-v24-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
15+
url('/fonts/nunito-v24-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
16+
}
17+
/* nunito-600 - latin */
18+
@font-face {
19+
font-family: 'Nunito';
20+
font-style: normal;
21+
font-weight: 600;
22+
font-display: swap;
23+
src: local(''),
24+
url('/fonts/nunito-v24-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
25+
url('/fonts/nunito-v24-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
26+
}
27+
/* nunito-700 - latin */
28+
@font-face {
29+
font-family: 'Nunito';
30+
font-style: normal;
31+
font-weight: 700;
32+
font-display: swap;
33+
src: local(''),
34+
url('/fonts/nunito-v24-latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
35+
url('/fonts/nunito-v24-latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
36+
}

resources/views/components/app.blade.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66

77
<title>@yield('title', 'Welcome') - {{ config('app.name') }}</title>
88

9-
<link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet">
10-
119
{!! $brandColors !!}
1210

1311
<link rel="stylesheet" href="{{ mix('css/app.css') }}">

0 commit comments

Comments
 (0)