alpha
Login
or
Join now
xcc.es
/
ananas
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/mrgnw/ananas. learn multiple languages at once
ananas.xcc.es
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
WIP
author
Morgan Williams
date
1 year ago
(May 14, 2025, 10:53 PM +0200)
commit
ddb4186b
ddb4186b2ffdf2b808956ea1384528ba8e39f572
parent
df8c9b9d
df8c9b9ddafb0e93adb27d87abefc25393a9ffab
+3
-3
3 changed files
Expand all
Collapse all
Unified
Split
src
routes
auth
login
+page.svelte
signup
+page.svelte
user
+page.svelte
+1
-1
src/routes/auth/login/+page.svelte
View file
Reviewed
···
38
38
<div class="auth-card">
39
39
<h1>Login</h1>
40
40
41
41
-
<form on:submit={handleLogin} class="auth-form">
41
41
+
<form onsubmit={handleLogin} class="auth-form">
42
42
{#if errorMessage}
43
43
<div class="error-message">{errorMessage}</div>
44
44
{/if}
+1
-1
src/routes/auth/signup/+page.svelte
View file
Reviewed
···
61
61
<div class="auth-card">
62
62
<h1>Create Account</h1>
63
63
64
64
-
<form on:submit={handleSignup} class="auth-form">
64
64
+
<form onsubmit={handleSignup} class="auth-form">
65
65
{#if errorMessage}
66
66
<div class="error-message">{errorMessage}</div>
67
67
{/if}
+1
-1
src/routes/user/+page.svelte
View file
Reviewed
···
38
38
<h3>{user.auth.username || 'User'}</h3>
39
39
<p class="email">{user.auth.email}</p>
40
40
</div>
41
41
-
<button class="logout-button" on:click={handleLogout} disabled={isLoggingOut}>
41
41
+
<button class="logout-button" onclick={handleLogout} disabled={isLoggingOut}>
42
42
<LogOut size={18} />
43
43
<span>{isLoggingOut ? 'Logging out...' : 'Logout'}</span>
44
44
</button>