Files

81 lines
2.6 KiB
HTML

<!doctype html>
<html>
<head>
<title>Escape the Island</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="assets/shipwreck.png" />
<link rel="stylesheet" href="styles.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Almendra:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet"
/>
</head>
<body class="page page-join">
<header>
<div class="header-container">
<h1>Escape the Island</h1>
<div class="boat-container">
<img src="assets/boat-small.png" alt="" class="boat" />
</div>
</div>
</header>
<div class="Content">
<section class="panel">
<p class="eyebrow">Join The Expedition</p>
<h2>Join the crew</h2>
<p class="panel-subtitle">
Enter your name and the room code from your teacher. You will wait on
the shore until the game begins.
</p>
<form class="join-form" id="join-form" autocomplete="off" novalidate>
<div class="form-grid">
<label class="field">
<span class="field-label">Player Name</span>
<input
type="text"
placeholder="e.g. Captain Milo"
id="name"
maxlength="24"
autocomplete="off"
/>
</label>
<label class="field">
<span class="field-label">Room Code</span>
<input
type="text"
inputmode="numeric"
pattern="[0-9]*"
placeholder="0000"
id="join-code"
maxlength="4"
autocomplete="off"
/>
</label>
</div>
<p id="join-status" class="lobby-status" role="status" aria-live="polite">
Connecting...
</p>
<button type="submit" id="join-button" class="btn-primary" disabled>
Connecting...
</button>
</form>
<p class="panel-footnote">
No downloads needed. Just join from your browser and wait for your
teacher to start the day.
</p>
</section>
</div>
<footer>
<h3 style="padding: 0px 0px 0px 10px">
Gamemaker: Mr. J. Walla ~=~ Developer: Andrew H. ~=~ Designer: Logan C.
</h3>
</footer>
<script type="module" src="client/join.js"></script>
</body>
</html>