Compare commits

...

2 Commits

Author SHA1 Message Date
ponas f536cfc591 web: add lightspeed tools 2026-05-20 01:02:02 +02:00
ponas 80f7641e74 web: fix typo in media query for venue items 2026-05-20 01:01:35 +02:00
4 changed files with 2679 additions and 10 deletions
+1
View File
@@ -1,3 +1,4 @@
.vscode .vscode
.DS_Store .DS_Store
*.swp *.swp
scratch/
+2668 -7
View File
File diff suppressed because it is too large Load Diff
+9 -2
View File
@@ -7,7 +7,12 @@
"build": "next build", "build": "next build",
"start": "next start", "start": "next start",
"lint": "next lint", "lint": "next lint",
"codegen": "graphql-codegen" "codegen": "graphql-codegen",
"perf:build": "next build",
"perf:serve": "next start -p 3100",
"perf:lh:desktop": "lighthouse http://localhost:3100/ --preset=desktop --output=html --output=json --output-path=../scratch/lighthouse/home-desktop --only-categories=performance --chrome-flags=\"--headless=new\" --quiet",
"perf:lh:mobile": "lighthouse http://localhost:3100/ --output=html --output=json --output-path=../scratch/lighthouse/home-mobile --only-categories=performance --chrome-flags=\"--headless=new\" --quiet",
"perf:lh": "wait-on http://localhost:3100/ && npm run perf:lh:desktop && npm run perf:lh:mobile"
}, },
"dependencies": { "dependencies": {
"@graphql-codegen/cli": "^7.0.0", "@graphql-codegen/cli": "^7.0.0",
@@ -36,7 +41,9 @@
"baseline-browser-mapping": "^2.10.29", "baseline-browser-mapping": "^2.10.29",
"eslint": "^9", "eslint": "^9",
"eslint-config-next": "16.2.6", "eslint-config-next": "16.2.6",
"typescript": "^6" "lighthouse": "^13.3.0",
"typescript": "^6",
"wait-on": "^9.0.10"
}, },
"overrides": { "overrides": {
"@types/react": "19.2.14", "@types/react": "19.2.14",
+1 -1
View File
@@ -26,7 +26,7 @@ export const VenueItem = ({ venue }: { venue: VenueFragment }) => {
alt={featuredImage.alt} alt={featuredImage.alt}
width={0} width={0}
height={0} height={0}
sizes="(max-width: 600px) 100vw, (max-width: 900xpx) 50vw, 35vw" sizes="(max-width: 600px) 100vw, (max-width: 900px) 50vw, 35vw"
/> />
)} )}
</div> </div>