@axium/server 0.4.3 → 0.4.4
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/Icon.svelte +2 -2
- package/web/routes/+page.svelte +3 -3
package/package.json
CHANGED
package/web/lib/Icon.svelte
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { onMount } from 'svelte';
|
|
3
3
|
|
|
4
|
-
const {
|
|
4
|
+
const { i } = $props();
|
|
5
5
|
|
|
6
|
-
const withStyle =
|
|
6
|
+
const withStyle = i.includes('/') ? i : 'solid/' + i;
|
|
7
7
|
const href = `https://site-assets.fontawesome.com/releases/v6.7.2/svgs/${withStyle}.svg`;
|
|
8
8
|
|
|
9
9
|
let content = $state('');
|
package/web/routes/+page.svelte
CHANGED
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
<div class="account-item">
|
|
26
26
|
<p class="subtle">Name</p>
|
|
27
27
|
<p>{user.name}</p>
|
|
28
|
-
<a class="change" href="{data.prefix}/name"><Icon
|
|
28
|
+
<a class="change" href="{data.prefix}/name"><Icon i="chevron-right" /></a>
|
|
29
29
|
</div>
|
|
30
30
|
<div class="account-item">
|
|
31
31
|
<p class="subtle">Email</p>
|
|
32
32
|
<p>{user.email}</p>
|
|
33
|
-
<a class="change" href="{data.prefix}/email"><Icon
|
|
33
|
+
<a class="change" href="{data.prefix}/email"><Icon i="chevron-right" /></a>
|
|
34
34
|
</div>
|
|
35
35
|
<div class="account-item">
|
|
36
|
-
<p class="subtle">User ID <dfn title="This is your UUID."><Icon
|
|
36
|
+
<p class="subtle">User ID <dfn title="This is your UUID."><Icon i="regular/circle-info" /></dfn></p>
|
|
37
37
|
<p>{user.id}</p>
|
|
38
38
|
</div>
|
|
39
39
|
<a class="signout" href="/auth/signout"><button>Sign out</button></a>
|