summaryrefslogtreecommitdiffhomepage
path: root/app/javascript/components/Home.jsx
diff options
context:
space:
mode:
authorTradam <[email protected]>2024-05-16 12:18:04 -0400
committerTradam <[email protected]>2024-05-16 12:18:04 -0400
commit519568969b9ff3a47e595073a40fef099586e3c9 (patch)
treeb3d1636d4a793228635daeaf88355be9b623dc6b /app/javascript/components/Home.jsx
parent181fdfa158cb4e35303417980541a8c6904b5dc5 (diff)
downloadgameHolster-519568969b9ff3a47e595073a40fef099586e3c9.tar.gz
gameHolster-519568969b9ff3a47e595073a40fef099586e3c9.zip
rendering an uploaded HTML file
Diffstat (limited to 'app/javascript/components/Home.jsx')
-rw-r--r--app/javascript/components/Home.jsx19
1 files changed, 0 insertions, 19 deletions
diff --git a/app/javascript/components/Home.jsx b/app/javascript/components/Home.jsx
index b67571c..5f79834 100644
--- a/app/javascript/components/Home.jsx
+++ b/app/javascript/components/Home.jsx
@@ -33,27 +33,8 @@ export default function Home () {
Ea optio vitae culpa voluptatem consectetur. Ab quisquam sed ipsum. Perspiciatis minus odit quas qui consequuntur dicta reiciendis a. Nihil minima sed aliquam.
</p>
<hr className="my-4" />
- <form onSubmit={handleSubmit} action="/upload" method="post" className="flex flex-col gap-4">
- <div>
- <label>Title</label>
- <input type="text" name="title" />
</div>
- <div>
- <label>File</label>
- <input type="file" name="game_file" />
</div>
- <button type="submit" className="w-32 bg-stone-900 text-stone-50 rounded">submit</button>
- </form>
- </div>
- </div>
- </div>
- <div className="flex flex-row flex-wrap gap-20 justify-around">
- <GameCard />
- <GameCard />
- <GameCard />
- <GameCard />
- <GameCard />
- <GameCard />
</div>
</div>
</div>