Tags: reactgular/tetromino
Tags
Fix/deploy-issues (#41) * chore: Update installation and cache actions in GitHub workflows * chore: Update installation and cache actions in GitHub workflows * chore: Fix if condition in GitHub workflows to compare string values * refactor: Optimize GameMusic component for better performance The GameMusic component has been refactored to improve performance. Instead of rendering the GameAudio component conditionally within a fragment, it now directly returns the GameAudio component if the 'music' prop is truthy, and returns null otherwise. This change reduces unnecessary rendering and improves the efficiency of the component. * chore: Remove deprecated code and environment variables This commit removes deprecated code and environment variables that are no longer used in the application. The `.env`, `.env.local`, and `.env.production` files have been updated to remove the `NEXT_PUBLIC_BASE` and `NEXT_PUBLIC_ANALYTICS` variables. Additionally, the `inter` font import in the `layout.tsx` file has been removed, as it is no longer needed. The `useTitle` hook in the `useTitle.tsx` file has been marked as deprecated and a comment has been added to suggest using Next.js metadata instead. Finally, the `base` property in the `environment.ts` file has been removed, as it is no longer used. * Update manifest.json path in index.html to fix broken link * chore: Update font import in layout.tsx for better performance This commit updates the font import in the layout.tsx file to improve performance. The deprecated 'inter' font import has been removed and replaced with a local font import using the 'next/font/local' package. This change reduces unnecessary network requests and improves the efficiency of the component.