diff --git a/assets/components/auth/login.vue b/assets/components/auth/login.vue
index d02ea3d9..bfaf0ba3 100644
--- a/assets/components/auth/login.vue
+++ b/assets/components/auth/login.vue
@@ -49,7 +49,7 @@ async function login() {
this.success = false;
try {
- await this.$store.dispatch('login', {
+ const user = await this.$store.dispatch('login', {
username: this.username,
password: this.password,
});
@@ -57,7 +57,7 @@ async function login() {
this.success = true;
setTimeout(() => {
- this.$router.replace(this.$route.query.ref || { name: 'home' });
+ this.$router.replace(this.$route.query.ref || { name: 'user', params: { username: user.username } });
}, 1000);
} catch (error) {
this.error = error.message;
diff --git a/assets/components/header/header.vue b/assets/components/header/header.vue
index 4fd221d9..66b73ccb 100644
--- a/assets/components/header/header.vue
+++ b/assets/components/header/header.vue
@@ -93,82 +93,7 @@
-
+
@@ -201,34 +126,14 @@
@@ -414,51 +308,6 @@ export default {
}
}
-.menu-items {
- list-style: none;
- padding: 0;
- margin: 0;
-}
-
-.menu-item {
- display: flex;
- padding: .75rem 1rem .75rem .75rem;
- color: inherit;
- text-decoration: none;
-
- .icon {
- fill: var(--darken);
- margin: 0 1rem 0 0;
- }
-
- &.disabled {
- color: var(--darken-weak);
- cursor: default;
-
- .icon {
- fill: var(--darken-weak);
- }
- }
-
- &:hover:not(.disabled) {
- cursor: pointer;
- color: var(--primary);
-
- .icon {
- fill: var(--primary);
- }
- }
-}
-
-.menu-username {
- font-weight: bold;
- color: var(--shadow-strong);
- font-size: .9rem;
- padding: .75rem 1rem;
- border-bottom: solid 1px var(--shadow-hint);
- text-align: center;
-}
-
.search-compact {
display: none;
height: 100%;
diff --git a/assets/components/header/menu.vue b/assets/components/header/menu.vue
new file mode 100644
index 00000000..50b96179
--- /dev/null
+++ b/assets/components/header/menu.vue
@@ -0,0 +1,168 @@
+
+
+
+
+
+
+
diff --git a/assets/components/releases/scene-tile.vue b/assets/components/releases/scene-tile.vue
index 5fd595a4..f20d7dc8 100644
--- a/assets/components/releases/scene-tile.vue
+++ b/assets/components/releases/scene-tile.vue
@@ -73,7 +73,10 @@
>{{ release.entity.name }}
-
+