Add game website URL input to suggest form

This commit is contained in:
2026-01-28 20:30:11 +01:00
parent 1d263b1ca9
commit 4774507142

View File

@@ -31,15 +31,16 @@
<p class="hint">Only you can see your suggestions until Reveal.</p> <p class="hint">Only you can see your suggestions until Reveal.</p>
<form id="suggest-form" class="stack"> <form id="suggest-form" class="stack">
<input name="name" required maxlength="100" placeholder="Game name *" /> <input name="name" required maxlength="100" placeholder="Game name *" />
<input name="genre" maxlength="50" placeholder="Genre" /> <input name="genre" maxlength="50" placeholder="Genre" />
<textarea name="description" maxlength="500" placeholder="Short description"></textarea> <textarea name="description" maxlength="500" placeholder="Short description"></textarea>
<div class="stack horizontal"> <div class="stack horizontal">
<input name="screenshotUrl" maxlength="2048" placeholder="Screenshot URL" /> <input name="screenshotUrl" maxlength="2048" placeholder="Screenshot URL" />
<input name="youtubeUrl" maxlength="2048" placeholder="YouTube URL" /> <input name="youtubeUrl" maxlength="2048" placeholder="YouTube URL" />
</div> <input name="gameUrl" maxlength="2048" placeholder="Game website URL" />
<button type="submit">Submit</button> </div>
</form> <button type="submit">Submit</button>
</div> </form>
</div>
<div class="card subcard"> <div class="card subcard">
<h3>Your suggestions</h3> <h3>Your suggestions</h3>
<div id="my-suggestions" class="card-grid"></div> <div id="my-suggestions" class="card-grid"></div>