Site/Game for Harvest Hackathon Haunted House.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

:chart_with_upwards_trend: Add @vercel/analytics

+22 -8
+2 -1
package.json
··· 1 1 { 2 - "name": "harvest-site", 2 + "name": "harvest-hackathon-game", 3 3 "version": "0.0.1", 4 4 "private": true, 5 5 "scripts": { ··· 32 32 "dependencies": { 33 33 "@sveltejs/adapter-vercel": "^3.0.3", 34 34 "@upstash/redis": "^1.24.1", 35 + "@vercel/analytics": "^1.1.1", 35 36 "firebase": "^10.5.2", 36 37 "open-props": "^1.6.10", 37 38 "partysocket": "0.0.12",
-5
partykit.json
··· 1 - { 2 - "name": "harvest-site-party", 3 - "main": "party/index.ts", 4 - "compatibilityDate": "2023-10-28" 5 - }
+13
pnpm-lock.yaml
··· 11 11 '@upstash/redis': 12 12 specifier: ^1.24.1 13 13 version: 1.24.1 14 + '@vercel/analytics': 15 + specifier: ^1.1.1 16 + version: 1.1.1 14 17 firebase: 15 18 specifier: ^10.5.2 16 19 version: 10.5.2 ··· 1467 1470 dependencies: 1468 1471 '@biomejs/biome': 1.3.1 1469 1472 crypto-js: 4.2.0 1473 + dev: false 1474 + 1475 + /@vercel/analytics@1.1.1: 1476 + resolution: {integrity: sha512-+NqgNmSabg3IFfxYhrWCfB/H+RCUOCR5ExRudNG2+pcRehq628DJB5e1u1xqwpLtn4pAYii4D98w7kofORAGQA==} 1477 + dependencies: 1478 + server-only: 0.0.1 1470 1479 dev: false 1471 1480 1472 1481 /@vercel/nft@0.23.1: ··· 3007 3016 hasBin: true 3008 3017 dependencies: 3009 3018 lru-cache: 6.0.0 3019 + 3020 + /server-only@0.0.1: 3021 + resolution: {integrity: sha512-qepMx2JxAa5jjfzxG79yPPq+8BuFToHd1hm7kI+Z4zAq1ftQiP7HcxMhDDItrbtwVeLg/cY2JnKnrcFkmiswNA==} 3022 + dev: false 3010 3023 3011 3024 /set-blocking@2.0.0: 3012 3025 resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==}
+6 -1
src/routes/+layout.svelte
··· 1 1 <script> 2 + import { dev } from '$app/environment'; 3 + import { inject } from '@vercel/analytics'; 4 + 5 + inject({ mode: dev ? 'development' : 'production' }); 6 + 2 7 import '../global.css'; 3 8 </script> 4 9 5 10 <svelte:head> 6 - <title>SvelteKit Edge Guest Book</title> 11 + <title>Harvest Hackathon Game</title> 7 12 </svelte:head> 8 13 9 14 <main>
+1 -1
src/routes/+page.svelte
··· 11 11 </script> 12 12 13 13 <div class="box"> 14 - <h1 class="title">Harvest Teamwork Challange</h1> 14 + <h1 class="title">Harvest Hackathon Game</h1> 15 15 16 16 {#if form?.signed} 17 17 <!-- redirect to /game -->