Linkvertise addition
This commit is contained in:
parent
01dc9c9749
commit
5082135d62
3
global.d.ts
vendored
3
global.d.ts
vendored
@ -1,3 +1,5 @@
|
||||
import { link } from "fs";
|
||||
|
||||
declare namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
NEXT_PUBLIC_API_URL: string;
|
||||
@ -17,5 +19,6 @@ declare namespace NodeJS {
|
||||
enableServices: () => void;
|
||||
};
|
||||
}
|
||||
function linkvertise(id: number, options: { whitelist: string[]; blacklist: string[] }): void;
|
||||
}
|
||||
export {};
|
@ -88,6 +88,15 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
||||
});
|
||||
}}
|
||||
/>
|
||||
<Script
|
||||
src="https://publisher.linkvertise.com/cdn/linkvertise.js"
|
||||
strategy="afterInteractive"
|
||||
onLoad={() => {
|
||||
if (typeof linkvertise === "function") {
|
||||
linkvertise(1318261, { whitelist: ["https://nulltranslation.com/early/"], blacklist: [] });
|
||||
}
|
||||
}}
|
||||
/>
|
||||
</head>
|
||||
<body className="bg-gray-100 dark:bg-gray-900 text-gray-900 dark:text-gray-100 min-h-screen">
|
||||
<KofiWidget />
|
||||
|
Loading…
Reference in New Issue
Block a user