Skip to content

Commit

Permalink
rename 1 file, delete 3 files, create 4 files and update 9 files
Browse files Browse the repository at this point in the history
  • Loading branch information
Ephenia committed Jun 12, 2024
1 parent ce3c6f8 commit 241b61d
Show file tree
Hide file tree
Showing 17 changed files with 706 additions and 33 deletions.

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion docs/assets/index-Ch7mQ-At.css

This file was deleted.

1 change: 1 addition & 0 deletions docs/assets/index-DGHyry9P.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PokeGen</title>
<script type="module" crossorigin src="/PokeGen/assets/index-ZBTDR-5R.js"></script>
<link rel="stylesheet" crossorigin href="/PokeGen/assets/index-Ch7mQ-At.css">
<script type="module" crossorigin src="/PokeGen/assets/index-23HQwZ82.js"></script>
<link rel="stylesheet" crossorigin href="/PokeGen/assets/index-DGHyry9P.css">
</head>
<body>

Expand Down
10 changes: 8 additions & 2 deletions main.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
import './src/css/Style.css';
import "hacktimer/HackTimer.min";
import { render } from 'inferno';
import { saveData } from './src/components/SaveSystem.jsx';
import { clearSaveData } from './src/components/SaveSystem.jsx';
import { renderCurrency } from './src/components/Currency.jsx';
import { renderContent } from './src/components/Content.jsx';
import { renderForge } from './src/components/Forge.jsx';

export function renderApp() {
render(
<main id="app">
<button
style={`position: absolute; top: 10px; right: 10px;`}
onClick={() => clearSaveData()}>
Clear Data
</button>
{renderCurrency()}
{renderForge()}
</main>,
document.body // Make sure the comma is here
);
Expand Down
Loading

0 comments on commit 241b61d

Please sign in to comment.