feat(devtools): add console credit banner with ASCII border (idempotent)
Some checks failed
CI / build-and-test (pull_request) Failing after 1m22s

This commit is contained in:
Nicholai 2025-09-21 05:17:16 -06:00
parent d5e8161186
commit f65f422e6d

View File

@ -2,6 +2,7 @@ import type React from "react"
import type { Metadata } from "next"
import { Playfair_Display, Source_Sans_3 } from "next/font/google"
import { Suspense } from "react"
import Script from "next/script"
import ClientLayout from "./ClientLayout"
import { getFlags } from "@/lib/flags"
@ -37,6 +38,41 @@ export default function RootLayout({
return (
<html lang="en" className={`${playfairDisplay.variable} ${sourceSans.variable}`}>
<head>
{/*
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: :
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
: _ _ _ _ _____ _____ ___________ _____ ___ _____ _____ _____ _____ :
: | | | | \ | |_ _|_ _| ___| _ \ |_ _/ _ \_ _|_ _| _ || _ | :
: | | | | \| | | | | | | |__ | | | | | |/ /_\ \| | | | | | | || | | | :
: | | | | . ` | | | | | | __|| | | | | || _ || | | | | | | || | | | :
: | |_| | |\ |_| |_ | | | |___| |/ / | || | | || | | | \ \_/ /\ \_/ / :
: \___/\_| \_/\___/ \_/ \____/|___/ \_/\_| |_/\_/ \_/ \___/ \___/ :
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>> AUTHOR : Nicholai Vogel Christy Lumberg
>> STATUS : NO MIDDLEMEN | NO INTERMEDIARIES | VERIFIED OWNERSHIP
>> RIGHTS : © 2025 Christy Lumberg ALL RIGHTS RESERVED
>> SYSTEM : [0xDEADBEEF] [0xFUCKKRST] [0xSYSLOCK] [0xUT-OWNERSHIP-OK]
: :
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
*/}
<Script id="design-credit" strategy="afterInteractive">
{`(function(){
if (typeof window !== 'undefined' && window.console && !window.__UNITED_TATTOO_CREDIT_DONE) {
window.__UNITED_TATTOO_CREDIT_DONE = true;
var lines = [
"╔══════════════════════════════════════════════════════════════════════╗",
"║ Website designed and developed by Nicholai Vogel for Christy Lumberg ║",
"║ NO MIDDLEMEN | NO INTERMEDIARIES | VERIFIED OWNERSHIP ║",
"║ © 2025 Christy Lumberg — ALL RIGHTS RESERVED ║",
"╚══════════════════════════════════════════════════════════════════════╝"
];
console.log(lines.join("\\n"));
}
})();`}
</Script>
</head>
<body className="font-sans antialiased">
<Suspense fallback={null}>
<ClientLayout initialFlags={flags}>{children}</ClientLayout>