Skip to content

Commit

Permalink
Changed from React to Vanilla
Browse files Browse the repository at this point in the history
  • Loading branch information
takaneichinose committed Apr 12, 2024
1 parent 33ec3cc commit cb089aa
Show file tree
Hide file tree
Showing 78 changed files with 2,429 additions and 3,448 deletions.
14 changes: 2 additions & 12 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
module.exports = {
root: true,
env: { browser: true, es2020: true },
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
'plugin:react-hooks/recommended',
],
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
ignorePatterns: ['dist', '.eslintrc.cjs'],
parser: '@typescript-eslint/parser',
plugins: ['react-refresh'],
rules: {
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
rules: {},
};
59 changes: 0 additions & 59 deletions README.md

This file was deleted.

22 changes: 19 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,26 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React + TS</title>
<title>Brave Chicky Dice Adventure</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
<div class="bg-pico-1 w-screen h-screen center-element">
<div class="bg-pico-29 w-full max-h-screen relative aspect-video">
<div id="screen" class="size-full">
<canvas id="canvas"></canvas>
<div
id="fade"
class="bg-pico-1 size-full absolute-top-left opacity-0 duration-500"
></div>
</div>
<div id="hud_window"></div>
<div
id="command_window"
class="size-full center-element absolute-top-left"
></div>
<div id="preload_window"></div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
Loading

0 comments on commit cb089aa

Please sign in to comment.