@axium/server 0.2.0 → 0.2.2

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@axium/server",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "author": "James Prevett <axium@jamespre.dev> (https://jamespre.dev)",
5
5
  "funding": {
6
6
  "type": "individual",
@@ -11,5 +11,5 @@ export async function load(event: PageServerLoadEvent) {
11
11
 
12
12
  const user = await adapter.getUserByEmail(session.user.email);
13
13
 
14
- return { session, user };
14
+ return { session, user, prefix: web.prefix };
15
15
  }
@@ -1,6 +1,5 @@
1
1
  <script lang="ts">
2
2
  import { getUserImage } from '@axium/core';
3
- import { web } from '../../dist/config.js';
4
3
  import Icon from '../lib/Icon.svelte';
5
4
  import '../lib/styles.css';
6
5
  import type { PageData } from './$types.js';
@@ -8,7 +7,7 @@
8
7
  const {
9
8
  data,
10
9
  children = () => {},
11
- prefix = web.prefix,
10
+ prefix,
12
11
  }: {
13
12
  data: PageData;
14
13
  children: () => any;
@@ -52,6 +51,7 @@
52
51
  display: flex;
53
52
  align-items: center;
54
53
  flex-direction: column;
54
+ gap: 1em;
55
55
  }
56
56
 
57
57
  #pfp {
@@ -59,12 +59,11 @@
59
59
  height: 100px;
60
60
  border-radius: 50%;
61
61
  border: 1px solid #8888;
62
- margin: 3em auto 2em;
62
+ margin-top: 3em;
63
63
  }
64
64
 
65
65
  #greeting {
66
66
  font-size: 2em;
67
- margin-bottom: 1em;
68
67
  }
69
68
 
70
69
  :global(.account-section) {