File tree Expand file tree Collapse file tree 6 files changed +54
-47
lines changed Expand file tree Collapse file tree 6 files changed +54
-47
lines changed Original file line number Diff line number Diff line change 1
- name : " 📦 Deploy to GitHub Pages "
1
+ name : ' 📦 CD '
2
2
3
3
on :
4
4
# Runs on pushes targeting the default branch
5
5
push :
6
- branches : [" master" ]
6
+ branches : [' master' ]
7
7
8
8
# Allows you to run this workflow manually from the Actions tab
9
9
workflow_dispatch :
@@ -17,36 +17,36 @@ permissions:
17
17
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
18
18
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
19
19
concurrency :
20
- group : " pages"
20
+ group : ' pages'
21
21
cancel-in-progress : false
22
22
23
23
jobs :
24
24
deploy :
25
25
runs-on : ubuntu-latest
26
26
27
27
steps :
28
- - name : " 📦 Checkout"
28
+ - name : ' 📦 Checkout'
29
29
uses : actions/checkout@v3
30
30
31
- - name : " 🍔 Set up Bun"
31
+ - name : ' 🍔 Set up Bun'
32
32
uses : oven-sh/setup-bun@v1
33
33
with :
34
34
bun-version : latest
35
35
36
- - name : " ✅ Install dependencies"
36
+ - name : ' ✅ Install dependencies'
37
37
run : bun install
38
38
39
- - name : " 🧰 Build"
39
+ - name : ' 🧰 Build'
40
40
run : bun run build
41
41
42
- - name : " 🛠️ Setup Pages"
42
+ - name : ' 🛠️ Setup Pages'
43
43
uses : actions/configure-pages@v4
44
44
45
- - name : " 📤 Upload artifact"
45
+ - name : ' 📤 Upload artifact'
46
46
uses : actions/upload-pages-artifact@v2
47
47
with :
48
48
path : ' ./dist'
49
-
50
- - name : " 🌎 Deploy to GitHub Pages"
49
+
50
+ - name : ' 🌎 Deploy to GitHub Pages'
51
51
id : deployment
52
52
uses : actions/deploy-pages@v3
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ function Nav() {
9
9
< img
10
10
src = { '/img/logo.svg' }
11
11
alt = "Krim Labs Logo Purple"
12
- width = { 216 }
12
+ width = { 160 }
13
+ height = { 46.3 }
13
14
/>
14
15
</ div >
15
16
</ a >
Original file line number Diff line number Diff line change 1
1
<head >
2
+
3
+ <!-- boring stuff -->
2
4
<meta charset =" UTF-8" />
3
5
4
6
<link rel =" icon" type =" image/webp" href =" /favicon.webp" />
5
7
<meta name =" viewport" content =" width=device-width" />
6
8
7
9
<link rel =" preconnect" href =" https://fonts.googleapis.com" />
8
10
<link rel =" preconnect" href =" https://fonts.gstatic.com" crossorigin />
9
- <link
10
- href =" https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap"
11
- rel =" stylesheet"
12
- />
11
+
12
+ <!-- https://pagespeedchecklist.com/asynchronous-google-fonts->
13
+ <!-- connect to domain of font files -->
14
+ <link rel =" preconnect" href =" https://fonts.gstatic.com" crossorigin >
15
+
16
+ <!-- optionally increase loading priority -->
17
+ <link rel =" preload" as =" style" href =" https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap" >
18
+
19
+ <!-- async CSS -->
20
+ <link rel =" stylesheet" media =" print" onload =" this .onload = null ;this .removeAttribute (' media' );" href =" https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap" >
21
+
22
+ <!-- no-JS fallback -->
23
+ <noscript >
24
+ <link
25
+ href =" https://fonts.googleapis.com/css2?family=Inter:wght@400;700;800&display=swap"
26
+ rel =" stylesheet"
27
+ />
28
+ </noscript >
29
+
30
+
31
+ <!-- Page specific SEO -->
13
32
<slot />
14
33
</head >
You can’t perform that action at this time.
0 commit comments