💄 Better sidebar

This commit is contained in:
LittleSheep 2024-09-22 20:32:23 +08:00
parent 99522e1001
commit 64316f435c
3 changed files with 6 additions and 12 deletions

View File

@ -47,15 +47,16 @@
<v-navigation-drawer v-model="openDrawer" location="left" width="300" floating>
<v-list density="compact" nav color="primary">
<v-list-item :title="t('navProducts')" prepend-icon="mdi-shape" to="/products" exact />
<v-list-item :title="t('navActivity')" prepend-icon="mdi-newspaper" to="/activity" exact />
<v-list-item :title="t('navGallery')" prepend-icon="mdi-album" to="/gallery" exact />
<v-list-item :title="t('navPosts')" prepend-icon="mdi-note-text" to="/posts" exact />
<v-list-item :title="t('navActivity')" prepend-icon="mdi-newspaper-variant-multiple-outline" to="/activity" exact />
<v-list-item :title="t('navGallery')" prepend-icon="mdi-image-multiple" to="/gallery" exact />
</v-list>
<v-divider class="border-opacity-50 my-1" />
<v-list density="compact" nav color="primary">
<v-list-item title="Developer Portal" prepend-icon="mdi-code-tags" to="/dev" exact />
<v-list-item title="Creator Hub" prepend-icon="mdi-pencil" to="#" exact />
<v-list-item title="Creator Hub" prepend-icon="mdi-pencil" disabled exact />
</v-list>
<v-divider class="border-opacity-50 mb-4 mt-0.5" />

View File

@ -1,11 +1,11 @@
<template>
<v-container class="content-container mx-auto">
<div class="my-3 mx-[3.5ch]">
<div class="my-3 mx-[1.5ch]">
<h1 class="text-2xl">{{ t("navPosts") }}</h1>
<span>{{ t("navPostsCaption") }}</span>
</div>
<post-list />
<post-list class="mx-[-2.5ch]" />
</v-container>
</template>

View File

@ -11,13 +11,6 @@
</div>
</div>
<div class="mb-5 text-xs text-grey flex flex-col">
<span>Solar Network User Web Preview</span>
<span>
To get full view of this user's profile, open it on <a class="underline" :href="externalOpenLink">Solian</a>
</span>
</div>
<div>
<h1 class="text-xl">{{ t("userActivity") }}</h1>
<span>{{ t("userActivityCaption") }}</span>