mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-21 01:23:40 +00:00
feat(web): add public landing page and move console to /admin
Serve a public landing page at / with buttons to the docs, GitHub repo, Terms, Privacy and the admin login. Relocate the Nuxt admin console from / to /admin so the root is no longer the private console. - add home-routes.ts (bilingual landing, auto dark mode, configurable DOCS_URL / GITHUB_REPO_URL) mounted at / - move console to admin/pages/admin.vue; redirect / and unknown SPA routes to /admin - point admin login/logout redirects at /admin
This commit is contained in:
6 files changed
+368
-166
No files matched your search
@@ -3,5 +3,5 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
await navigateTo("/", { redirectCode: 302 });
|
||||
await navigateTo("/admin", { redirectCode: 302 });
|
||||
</script>
|
||||
Reference in new issue
Block a user