Readjustment for linting

This commit is contained in:
Hieuhuy Pham 2025-03-12 14:22:55 -04:00
parent b1c3d9ef84
commit 9f967bf9d7
2 changed files with 7 additions and 4 deletions

View File

@ -47,13 +47,16 @@ export default async function BookPage({ searchParams }: { searchParams: searchP
<div className="flex flex-col items-center text-center space-y-6">
<h1 className="text-4xl font-bold">Early Adcess Page</h1>
<p className="text-lg text-gray-700 dark:text-gray-300">
Get early access to chapters by completing Google Offerwall tasks. Read ahead by <span className="font-bold">1 chapter !</span>
Get early access to chapters by completing Linkvertise and Google Offerwall tasks. Read ahead by <span className="font-bold">1 chapter !</span>
</p>
<p className="text-lg text-gray-700 dark:text-gray-300">
Tasks vary from watching an ad video to completing surveys and more.
</p>
<p className="text-lg text-red-700 dark:text-red-300">
This is AdHell, and its meant to be that way. If you hate it support us on Patreon instead.
</p>
<p className="text-lg text-gray-700 dark:text-gray-300">
Want to read even further? Join our Patreon to unlock more chapters!
Want to read even further? Join our Patreon to unlock even more chapters!
</p>
<a

View File

@ -52,7 +52,7 @@ export function btoa(str: string): string {
}
export function linkvertise(userid: number, link: string): string {
let base_url = `https://link-to.net/${userid}/${Math.floor(Math.random() * 1000)}/dynamic`;
let href = `${base_url}?r=${btoa(encodeURI(link))}`;
const base_url = `https://link-to.net/${userid}/${Math.floor(Math.random() * 1000)}/dynamic`;
const href = `${base_url}?r=${btoa(encodeURI(link))}`;
return href;
}