Update README.md. Add link to site URL

This commit is contained in:
2026-09-27 07:10:28 +01:00
parent 8ed5fd1845
commit bbf29a5c1a
4 changed files with 21 additions and 12 deletions
+6 -4
View File
@@ -173,10 +173,12 @@ bun run db:schema
## Admin Route Hierarchy ## Admin Route Hierarchy
| Route Pattern | Access | Features | | Route Pattern | Access | Features |
| ------------------- | ------------------------------- | ------------------------------------------------------------------------------------ | | ----------------------------------------------- | ------------ | ------------------------------------------------------------ |
| `/admin/*` | Residents | Access booking, payments, chat, dependants, notifications, events, settings, support | | `/admin` | Admin | Dashboard overview |
| `/admin/admin/*` | Admin / ExCo | User management, payment schemes, documents, chat group management | | `/admin/hosts` | Admin | Host management (add, edit, per-host detail) |
| `/admin/security/*` | Security / ExCo / Manager / ACo | Gate control, guest access monitoring, dependant verification | | `/admin/clients` | Admin | Client management (add, edit, client rules per host) |
| `/admin/settings` | Admin | Account settings |
| `/admin/setup` | Super admin | System setup (hosts, WireGuard tools, update, restart) |
## Development ## Development
+10 -2
View File
@@ -1,5 +1,6 @@
import Row from "@/src/components/twui/layout/Row"; import Row from "@/src/components/twui/layout/Row";
import Span from "@/src/components/twui/layout/Span"; import Span from "@/src/components/twui/layout/Span";
import { SiteData } from "@/src/data/site-data";
import { AppContext } from "@/src/pages/__root"; import { AppContext } from "@/src/pages/__root";
import type { AppContextObject } from "@/src/types"; import type { AppContextObject } from "@/src/types";
import React from "react"; import React from "react";
@@ -15,8 +16,15 @@ export default function Footer() {
<footer className="w-full p-4 h-20"> <footer className="w-full p-4 h-20">
<Row className="h-full"> <Row className="h-full">
<Span size="smaller" variant="faded"> <Span size="smaller" variant="faded">
Copyright © {new Date().getFullYear()}. Wireguard UI. All Copyright © {new Date().getFullYear()}.{" "}
rights reserved <a
href={SiteData["SiteURL"]}
target="_blank"
className="decoration-dotted underline"
>
{SiteData["SiteName"]}
</a>
. All rights reserved
</Span> </Span>
</Row> </Row>
</footer> </footer>
+4 -1
View File
@@ -59,7 +59,10 @@ export default function Footer() {
> >
<span className="text-sm opacity-60"> <span className="text-sm opacity-60">
Copyright {new Date().getFullYear()}{" "} Copyright {new Date().getFullYear()}{" "}
{SiteData["SiteName"]}. All rights reserved <a href={SiteData["SiteURL"]}>
{SiteData["SiteName"]}
</a>
. All rights reserved
</span> </span>
</div> </div>
</Stack> </Stack>
-4
View File
@@ -116,10 +116,6 @@ a {
@apply uppercase font-bold text-secondary/70 tracking-widest; @apply uppercase font-bold text-secondary/70 tracking-widest;
} }
footer a {
@apply text-white/70 hover:text-white hover:opacity-100;
}
header nav a > * { header nav a > * {
@apply transition-transform; @apply transition-transform;
} }