Skip to content

Commit a9bd1ab

Browse files
authored
perf: optimize via swap to sveltekit(#1)
* feat: add title, lazy load images * feat: swap png with webp * refactor: optimizations, add some missing images * perf: re-write to use static generation to build page, update dr mario image * build: add unpic * chore: ignore lighthouse reports, add robots.txt * perf: further optimize performance by taking first 20 carts, add href to nescartdb
1 parent 540acf6 commit a9bd1ab

File tree

1,584 files changed

+5659
-5635
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,584 files changed

+5659
-5635
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ node_modules
88
!.env.example
99
vite.config.js.timestamp-*
1010
vite.config.ts.timestamp-*
11+
*.report.html

package-lock.json

+32
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
},
4747
"type": "module",
4848
"dependencies": {
49+
"@unpic/svelte": "^0.0.53",
4950
"bits-ui": "^0.21.1",
5051
"clsx": "^2.1.0",
5152
"lucide-svelte": "^0.363.0",

src/app.html

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
<meta charset="utf-8" />
55
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
66
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<meta name="description" content="A site to browser NES games by their art" />
8+
<title>NES Cart Browser</title>
79
%sveltekit.head%
810
</head>
911
<body data-sveltekit-preload-data="hover">

0 commit comments

Comments
 (0)