feat(devtools): add console credit banner with ASCII border (idempotent)
Some checks failed
CI / build-and-test (pull_request) Failing after 1m22s
Some checks failed
CI / build-and-test (pull_request) Failing after 1m22s
This commit is contained in:
parent
d5e8161186
commit
f65f422e6d
@ -2,6 +2,7 @@ import type React from "react"
|
|||||||
import type { Metadata } from "next"
|
import type { Metadata } from "next"
|
||||||
import { Playfair_Display, Source_Sans_3 } from "next/font/google"
|
import { Playfair_Display, Source_Sans_3 } from "next/font/google"
|
||||||
import { Suspense } from "react"
|
import { Suspense } from "react"
|
||||||
|
import Script from "next/script"
|
||||||
|
|
||||||
import ClientLayout from "./ClientLayout"
|
import ClientLayout from "./ClientLayout"
|
||||||
import { getFlags } from "@/lib/flags"
|
import { getFlags } from "@/lib/flags"
|
||||||
@ -37,6 +38,41 @@ export default function RootLayout({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<html lang="en" className={`${playfairDisplay.variable} ${sourceSans.variable}`}>
|
<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">
|
<body className="font-sans antialiased">
|
||||||
<Suspense fallback={null}>
|
<Suspense fallback={null}>
|
||||||
<ClientLayout initialFlags={flags}>{children}</ClientLayout>
|
<ClientLayout initialFlags={flags}>{children}</ClientLayout>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user