Add Google OAuth authentication

This commit is contained in:
Ian Gulliver
2026-02-14 21:11:25 -08:00
parent 45f4332539
commit 23083bf5a8
5 changed files with 337 additions and 4 deletions

View File

@@ -6,7 +6,15 @@
<title>Rooms</title>
</head>
<body>
<h1>Rooms</h1>
<p>Roommate selection for student trips.</p>
<div id="signin" style="display: none; align-items: center; justify-content: center; height: 100vh;"></div>
<div id="main" style="display: none;">
<h1>Rooms</h1>
<p>Signed in as <span data-bind="email"></span></p>
</div>
<script type="module">
import { init } from '/app.js';
const profile = await init();
document.getElementById('main').style.display = 'block';
</script>
</body>
</html>