Add the CoffeyLabs.org copyright beside the licence link
A Legal component renders "© <year> CoffeyLabs.org · AGPL-3.0 source" with both linked. It replaces the bare licence link in the sidebar footer and on the login and setup pages, and sits at the foot of the user menu on phones, where the sidebar is hidden. The sidebar and menu stack the two halves; the auth pages keep one centred line. Screenshots retaken.
This commit is contained in:
@@ -3,6 +3,7 @@ import { api } from "../api";
|
||||
import { errorMessage, useAuth } from "../state";
|
||||
import { Field } from "../components/ui";
|
||||
import { Mark } from "../components/Mark";
|
||||
import { Legal } from "../components/Legal";
|
||||
|
||||
export function Login() {
|
||||
const { refresh } = useAuth();
|
||||
@@ -64,11 +65,7 @@ export function Login() {
|
||||
<button className="btn primary" type="submit" disabled={busy} style={{ width: "100%", justifyContent: "center" }}>
|
||||
{busy ? "…" : stage === "password" ? "Sign in" : "Verify"}
|
||||
</button>
|
||||
<p className="small faint" style={{ textAlign: "center", margin: "14px 0 0" }}>
|
||||
<a href="https://github.com/Coffey-Labs/WGX" target="_blank" rel="noreferrer">
|
||||
AGPL-3.0 source
|
||||
</a>
|
||||
</p>
|
||||
<Legal center />
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user