Compare commits
No commits in common. "87f4ecc9dc63a5133276a86f54fa74a9e5327ae4" and "0f11e4e54536c9730acb13eba7fbe16c80109d64" have entirely different histories.
87f4ecc9dc
...
0f11e4e545
2 changed files with 4 additions and 34 deletions
|
@ -1,5 +0,0 @@
|
||||||
export default defineAppConfig({
|
|
||||||
title: "Gorb",
|
|
||||||
buildTimeString: new Date().toISOString(),
|
|
||||||
gitHash: process.env.GIT_SHORT_REV || "N/A"
|
|
||||||
})
|
|
|
@ -2,8 +2,8 @@
|
||||||
<div id="settings-page-container">
|
<div id="settings-page-container">
|
||||||
<div id="settings-page">
|
<div id="settings-page">
|
||||||
<div id="sidebar">
|
<div id="sidebar">
|
||||||
|
<h4>(Search bar here)</h4>
|
||||||
<ul>
|
<ul>
|
||||||
<!-- categories and dynamic settings pages -->
|
|
||||||
<div v-for="category in categories" :key="category.displayName">
|
<div v-for="category in categories" :key="category.displayName">
|
||||||
<h2>{{ category.displayName }}</h2>
|
<h2>{{ category.displayName }}</h2>
|
||||||
<li v-for="page in category.pages" :key="page.displayName" @click="selectCategory(page)"
|
<li v-for="page in category.pages" :key="page.displayName" @click="selectCategory(page)"
|
||||||
|
@ -13,22 +13,7 @@
|
||||||
<span class="spacer"></span>
|
<span class="spacer"></span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>
|
|
||||||
<Button text="Log Out" :callback=logout variant="scary"></Button>
|
<Button text="Log Out" :callback=logout variant="scary"></Button>
|
||||||
</p>
|
|
||||||
<span class="spacer"></span>
|
|
||||||
|
|
||||||
<p id="links-and-socials">
|
|
||||||
<NuxtLink href="https://git.gorb.app/gorb/frontend" title="Source"><Icon name="lucide:git-branch-plus" /></NuxtLink>
|
|
||||||
<NuxtLink href="https://docs.gorb.app" title="Backend Documentation"><Icon name="lucide:book-open-text" /></NuxtLink>
|
|
||||||
</p>
|
|
||||||
|
|
||||||
<p style="font-size: .8em; color: var(--secondary-text-color)">
|
|
||||||
Version Hash: {{ appConfig.gitHash }}
|
|
||||||
<br>
|
|
||||||
Build Time: {{ appConfig.buildTimeString }}
|
|
||||||
</p>
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="sub-page">
|
<div id="sub-page">
|
||||||
|
@ -44,8 +29,6 @@ import Button from '~/components/Button.vue';
|
||||||
|
|
||||||
const { logout } = useAuth()
|
const { logout } = useAuth()
|
||||||
|
|
||||||
const appConfig = useAppConfig()
|
|
||||||
|
|
||||||
interface Page {
|
interface Page {
|
||||||
displayName: string;
|
displayName: string;
|
||||||
pageData: any; // is actually Component but TS is yelling at me :(
|
pageData: any; // is actually Component but TS is yelling at me :(
|
||||||
|
@ -120,7 +103,7 @@ function selectCategory(page: Page) {
|
||||||
background-color: var(--sidebar-background-color);
|
background-color: var(--sidebar-background-color);
|
||||||
color: var(--text-color);
|
color: var(--text-color);
|
||||||
padding: 1dvh 1dvw;
|
padding: 1dvh 1dvw;
|
||||||
margin-left: 0;
|
margin-left: auto;
|
||||||
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
|
@ -145,10 +128,6 @@ function selectCategory(page: Page) {
|
||||||
transition: background-color 0.3s;
|
transition: background-color 0.3s;
|
||||||
}
|
}
|
||||||
|
|
||||||
#sidebar p {
|
|
||||||
margin: 2dvh 0.8dvw;
|
|
||||||
}
|
|
||||||
|
|
||||||
.sidebar-focus {
|
.sidebar-focus {
|
||||||
background-color: var(--sidebar-highlighted-background-color);
|
background-color: var(--sidebar-highlighted-background-color);
|
||||||
}
|
}
|
||||||
|
@ -168,15 +147,11 @@ function selectCategory(page: Page) {
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
#links-and-socials * {
|
|
||||||
margin-right: 0.2em;
|
|
||||||
}
|
|
||||||
|
|
||||||
.spacer {
|
.spacer {
|
||||||
height: 0.2dvh;
|
height: 0.2dvh;
|
||||||
display: block;
|
display: block;
|
||||||
margin: 0.8dvh 1dvw;
|
margin: 0.8dvh 1dvw;
|
||||||
background-color: var(--padding-color);
|
background-color: var(--spacing-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* applies to child pages too */
|
/* applies to child pages too */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue