Commit Graph

5 Commits

Author SHA1 Message Date
averel10
197d9e6e22 Refactor Clash component to use GameModal for game interactions, remove Hello World page, and implement toast notifications for error handling 2025-11-22 09:44:36 +01:00
averel10
15bf0155bb added subpages for helloworld and clash, added game contract to config.json for usage in frontend 2025-11-14 22:49:06 +01:00
averel10
f10da70c48 feat: automate config.json copying and update dependencies
- Added a script (copy_config.js) to copy config.json from the root directory to the frontend's public directory before starting the development server, building, or starting the application.
- Updated package.json scripts to include the config copying step.
- Updated dependencies in package.json, including adding web3 and ensuring tailwindcss is included in devDependencies.
- Modified tsconfig.json to include a path for the config file.
- Added a new config.json file in the public directory with API_URL, CONTRACT_ADDRESS, and ABI details for the smart contract.
2025-11-11 21:48:56 +01:00
averel10
706007db7a fix: update image source paths in Home component and remove assetPrefix from Next.js config 2025-11-11 20:15:26 +01:00
averel10
4d2802ee30 initilized react frontend 2025-11-11 18:34:20 +01:00