major changes, leaving it at that

This commit is contained in:
DarthMooMancer committed 2026-11-04 18:33:38 -05:00
1 parent 8cb4c3556b
commit b55251cfc5
16 files changed
+3280 -302

No files matched your search

+53 -43
View File
@@ -2,6 +2,7 @@
<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" />
@@ -10,61 +11,70 @@
href="https://fonts.googleapis.com/css2?family=Almendra:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet"
/>
<style>
body {
margin: 0;
padding: 0;
display: flex;
flex-direction: column;
min-height: 100vh;
}
button {
min-height: 20vh;
/* flex: 1; */
}
.Content {
flex: 1;
display: flex;
flex-direction: column;
max-width: 600px;
margin: 0 auto;
width: 100%;
}
.part {
flex: 1;
margin: 5px;
display: flex;
flex-direction: column;
row-gap: 10px;
}
input {
padding: 1vh;
}
</style>
</head>
<body>
<body class="page page-join">
<header>
<div class="header-container">
<h1>Escape the Island</h1>
<div class="boat-container">
<img src="assets/boat.png" alt="" class="boat" />
<img src="assets/boat-small.png" alt="" class="boat" />
</div>
</div>
</header>
<div class="Content" style="padding-top: 25px">
<div class="part">
<input type="text" placeholder="Name:" id="name" />
<input type="number" placeholder="Join Code:" id="join-code" />
</div>
<button type="button" id="join-button">Join as Student</button>
<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: 10px 0px 0px 10px">
<h3 style="padding: 0px 0px 0px 10px">
Gamemaker: Mr. J. Walla ~=~ Developer: Andrew H. ~=~ Designer: Logan C.
</h3>
</footer>
<script src="index.js"></script>
<script type="module" src="client/join.js"></script>
</body>
</html>