Update README.md. Add link to site URL
This commit is contained in:
@@ -173,10 +173,12 @@ bun run db:schema
|
||||
## Admin Route Hierarchy
|
||||
|
||||
| Route Pattern | Access | Features |
|
||||
| ------------------- | ------------------------------- | ------------------------------------------------------------------------------------ |
|
||||
| `/admin/*` | Residents | Access booking, payments, chat, dependants, notifications, events, settings, support |
|
||||
| `/admin/admin/*` | Admin / ExCo | User management, payment schemes, documents, chat group management |
|
||||
| `/admin/security/*` | Security / ExCo / Manager / ACo | Gate control, guest access monitoring, dependant verification |
|
||||
| ----------------------------------------------- | ------------ | ------------------------------------------------------------ |
|
||||
| `/admin` | Admin | Dashboard overview |
|
||||
| `/admin/hosts` | Admin | Host management (add, edit, per-host detail) |
|
||||
| `/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
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import Row from "@/src/components/twui/layout/Row";
|
||||
import Span from "@/src/components/twui/layout/Span";
|
||||
import { SiteData } from "@/src/data/site-data";
|
||||
import { AppContext } from "@/src/pages/__root";
|
||||
import type { AppContextObject } from "@/src/types";
|
||||
import React from "react";
|
||||
@@ -15,8 +16,15 @@ export default function Footer() {
|
||||
<footer className="w-full p-4 h-20">
|
||||
<Row className="h-full">
|
||||
<Span size="smaller" variant="faded">
|
||||
Copyright © {new Date().getFullYear()}. Wireguard UI. All
|
||||
rights reserved
|
||||
Copyright © {new Date().getFullYear()}.{" "}
|
||||
<a
|
||||
href={SiteData["SiteURL"]}
|
||||
target="_blank"
|
||||
className="decoration-dotted underline"
|
||||
>
|
||||
{SiteData["SiteName"]}
|
||||
</a>
|
||||
. All rights reserved
|
||||
</Span>
|
||||
</Row>
|
||||
</footer>
|
||||
|
||||
@@ -59,7 +59,10 @@ export default function Footer() {
|
||||
>
|
||||
<span className="text-sm opacity-60">
|
||||
Copyright {new Date().getFullYear()}{" "}
|
||||
{SiteData["SiteName"]}. All rights reserved
|
||||
<a href={SiteData["SiteURL"]}>
|
||||
{SiteData["SiteName"]}
|
||||
</a>
|
||||
. All rights reserved
|
||||
</span>
|
||||
</div>
|
||||
</Stack>
|
||||
|
||||
@@ -116,10 +116,6 @@ a {
|
||||
@apply uppercase font-bold text-secondary/70 tracking-widest;
|
||||
}
|
||||
|
||||
footer a {
|
||||
@apply text-white/70 hover:text-white hover:opacity-100;
|
||||
}
|
||||
|
||||
header nav a > * {
|
||||
@apply transition-transform;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user