mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-05 10:16:41 +00:00
Applied Prettier formatting
This commit is contained in:
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
|||||||
description: ""
|
description: ""
|
||||||
};
|
};
|
||||||
|
|
||||||
export const dynamic = 'force-dynamic';
|
export const dynamic = "force-dynamic";
|
||||||
|
|
||||||
// const font = Figtree({ subsets: ["latin"] });
|
// const font = Figtree({ subsets: ["latin"] });
|
||||||
const font = Inter({ subsets: ["latin"] });
|
const font = Inter({ subsets: ["latin"] });
|
||||||
@@ -34,9 +34,9 @@ export default async function RootLayout({
|
|||||||
visible: true
|
visible: true
|
||||||
} as any;
|
} as any;
|
||||||
|
|
||||||
const res = await priv.get<
|
const res = await priv.get<AxiosResponse<IsSupporterKeyVisibleResponse>>(
|
||||||
AxiosResponse<IsSupporterKeyVisibleResponse>
|
"supporter-key/visible"
|
||||||
>("supporter-key/visible");
|
);
|
||||||
supporterData.visible = res.data.data.visible;
|
supporterData.visible = res.data.data.visible;
|
||||||
supporterData.tier = res.data.data.tier;
|
supporterData.tier = res.data.data.tier;
|
||||||
|
|
||||||
@@ -114,14 +114,16 @@ export default async function RootLayout({
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
{supporterData?.tier && (
|
{supporterData?.tier && (
|
||||||
<div className="mt-4 text-center">
|
<div className="mt-4 text-center">
|
||||||
<div className="relative inline-block px-3 py-2 bg-white/10 backdrop-blur-md border border-white/20 rounded-md shadow-sm max-w-screen-sm mx-auto">
|
<div className="relative inline-block px-3 py-2 bg-white/10 backdrop-blur-md border border-white/20 rounded-md shadow-sm max-w-screen-sm mx-auto">
|
||||||
<h2 className="text-lg font-semibold text-transparent bg-clip-text bg-gradient-to-r from-orange-400 via-orange-500 to-orange-600">
|
<h2 className="text-lg font-semibold text-transparent bg-clip-text bg-gradient-to-r from-orange-400 via-orange-500 to-orange-600">
|
||||||
Thank you for supporting Pangolin as a {supporterData.tier}!
|
Thank you for supporting
|
||||||
</h2>
|
Pangolin as a{" "}
|
||||||
|
{supporterData.tier}!
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
)}
|
||||||
)}
|
|
||||||
</footer>
|
</footer>
|
||||||
</SupportStatusProvider>
|
</SupportStatusProvider>
|
||||||
</EnvProvider>
|
</EnvProvider>
|
||||||
|
|||||||
Reference in New Issue
Block a user