@axium/server 0.3.11 → 0.3.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/lib/styles.css +8 -0
- package/web/routes/+page.svelte +7 -15
package/package.json
CHANGED
package/web/lib/styles.css
CHANGED
package/web/routes/+page.svelte
CHANGED
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
<title>Account</title>
|
|
19
19
|
</svelte:head>
|
|
20
20
|
|
|
21
|
-
<div
|
|
22
|
-
<img
|
|
23
|
-
<p
|
|
21
|
+
<div class="flex-content">
|
|
22
|
+
<img class="pfp" src={image} alt="User profile" />
|
|
23
|
+
<p class="greeting">Welcome, {user.name}</p>
|
|
24
24
|
<div class="account-section main">
|
|
25
25
|
<div class="account-item">
|
|
26
26
|
<p class="subtle">Name</p>
|
|
@@ -36,21 +36,13 @@
|
|
|
36
36
|
<p class="subtle">User ID <dfn title="This is your UUID."><Icon id="regular/circle-info" /></dfn></p>
|
|
37
37
|
<p>{user.id}</p>
|
|
38
38
|
</div>
|
|
39
|
-
<a
|
|
39
|
+
<a class="signout" href="/auth/signout"><button>Sign out</button></a>
|
|
40
40
|
</div>
|
|
41
41
|
{@render children()}
|
|
42
42
|
</div>
|
|
43
43
|
|
|
44
44
|
<style>
|
|
45
|
-
|
|
46
|
-
display: flex;
|
|
47
|
-
align-items: center;
|
|
48
|
-
flex-direction: column;
|
|
49
|
-
gap: 1em;
|
|
50
|
-
overflow-y: scroll;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
#pfp {
|
|
45
|
+
.pfp {
|
|
54
46
|
width: 100px;
|
|
55
47
|
height: 100px;
|
|
56
48
|
border-radius: 50%;
|
|
@@ -58,11 +50,11 @@
|
|
|
58
50
|
margin-top: 3em;
|
|
59
51
|
}
|
|
60
52
|
|
|
61
|
-
|
|
53
|
+
.greeting {
|
|
62
54
|
font-size: 2em;
|
|
63
55
|
}
|
|
64
56
|
|
|
65
|
-
|
|
57
|
+
.signout {
|
|
66
58
|
margin-top: 2em;
|
|
67
59
|
}
|
|
68
60
|
</style>
|