Skip to content

Commit ed71064

Browse files
committed
optiimise
1 parent 1e1522c commit ed71064

File tree

26 files changed

+155
-77
lines changed

26 files changed

+155
-77
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"start": "webpack serve --mode development --open",
1010
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,scss}\"",
1111
"lint": "npm run format && eslint \"src/**/*.{ts,tsx}\" --fix",
12-
"compress-images": "node scripts/compress-images.js"
12+
"compress-images": "node scripts/compress-images.js",
13+
"analyze": "webpack --mode production --profile --json > stats.json",
14+
"analyze:visualize": "webpack-bundle-analyzer stats.json dist"
1315
},
1416
"dependencies": {
1517
"chart.js": "^4.5.1",

public/index.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,12 @@
99
content="A toolkit with exercises and activities to help you on your personal development and growth."
1010
/>
1111
<link rel="preconnect" href="https://fonts.googleapis.com" />
12+
<link rel="dns-prefetch" href="https://fonts.googleapis.com" />
13+
<link rel="dns-prefetch" href="https://fonts.gstatic.com" />
14+
<link rel="dns-prefetch" href="https://umami.kutavi.org" />
1215
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
1316
<link
14-
href="https://fonts.googleapis.com/css2?family=Nunito&display=swap"
17+
href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;700&display=swap"
1518
rel="stylesheet"
1619
/>
1720
<script defer src="https://umami.kutavi.org/script.js" data-website-id="6876f6e2-d053-47d6-93e6-23cb73ab499f"></script>

src/assets.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
declare module '*.png' {
1+
declare module '*.webp' {
22
const value: string;
33
export = value;
44
}

src/assets/acceptance.jpeg

-299 KB
Binary file not shown.

src/assets/curiosity.jpeg

-250 KB
Binary file not shown.

src/assets/freedom.jpeg

-254 KB
Binary file not shown.

src/assets/github.png

-8.44 KB
Binary file not shown.

src/assets/github.webp

-7.51 KB
Binary file not shown.

src/assets/goal.jpeg

-234 KB
Binary file not shown.

src/assets/honor.jpeg

-179 KB
Binary file not shown.

0 commit comments

Comments
 (0)