feat(portal): refine account identity controls
CI / validate (push) Successful in 4m51s
Release / release (push) Successful in 6m36s

This commit is contained in:
dmg
2026-08-01 18:06:30 -04:00
parent 86c87153b4
commit 19a5d04178
17 changed files with 357 additions and 43 deletions
@@ -0,0 +1,13 @@
import { renderToStaticMarkup } from "react-dom/server";
import { describe, expect, it } from "vitest";
import { SiteFooter } from "./site-footer";
describe("SiteFooter", () => {
it("credits DMG Games with the requested sponsor link", () => {
const markup = renderToStaticMarkup(<SiteFooter />);
expect(markup).toContain("Social Minecraft is sponsored by");
expect(markup).toContain('href="https://dmg.games"');
expect(markup).toContain("DMG Games.");
});
});
+15
View File
@@ -0,0 +1,15 @@
export function SiteFooter() {
return (
<footer className="border-t border-line bg-panel px-6 py-6 text-center font-mono text-[10px] uppercase tracking-[0.16em] text-muted">
Social Minecraft is sponsored by{" "}
<a
className="font-bold text-ink underline decoration-accent underline-offset-4 transition-colors hover:text-accent"
href="https://dmg.games"
rel="noreferrer"
target="_blank"
>
DMG Games.
</a>
</footer>
);
}