refactor: move the homepage to /me from /
All checks were successful
ci/woodpecker/push/build-and-publish Pipeline was successful

This commit is contained in:
Twig 2025-07-10 21:53:25 +02:00
parent 71242d0543
commit a90f062181
No known key found for this signature in database
3 changed files with 33 additions and 15 deletions

View file

@ -10,7 +10,7 @@
</div>
<div id = "page-content">
<div id="left-column">
<NuxtLink id="home-button" href="/">
<NuxtLink id="home-button" href="/me">
<img class="sidebar-icon" src="/public/icon.svg"/>
</NuxtLink>
<div id="servers-list">

View file

@ -1,23 +1,11 @@
<template>
<NuxtLayout>
<div id="left-bar">
</div>
<div id="middle-bar">
<h1>
Welcome to gorb :3
</h1>
<p>
Click on a guild to the left to view a guild.
<br>
Or click the button in the bottom left to join a guild.
</p>
</div>
<div id="right-bar">
</div>
</NuxtLayout>
</template>
<script lang="ts" setup>
await navigateTo("/me/", { replace: true })
definePageMeta({
layout: "client"

30
pages/me/index.vue Normal file
View file

@ -0,0 +1,30 @@
<template>
<NuxtLayout>
<div id="left-bar">
</div>
<div id="middle-bar">
<h1>
Welcome to gorb :3
</h1>
<p>
Click on a guild to the left to view a guild.
<br>
Or click the button in the bottom left to join a guild.
</p>
</div>
<div id="right-bar">
</div>
</NuxtLayout>
</template>
<script lang="ts" setup>
definePageMeta({
layout: "client"
});
</script>
<style>
</style>