mirror of
https://github.com/fosrl/pangolin.git
synced 2026-01-29 06:10:47 +00:00
Applied Prettier formatting
This commit is contained in:
@@ -18,7 +18,7 @@ export const metadata: Metadata = {
|
||||
description: ""
|
||||
};
|
||||
|
||||
export const dynamic = 'force-dynamic';
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
// const font = Figtree({ subsets: ["latin"] });
|
||||
const font = Inter({ subsets: ["latin"] });
|
||||
@@ -34,9 +34,9 @@ export default async function RootLayout({
|
||||
visible: true
|
||||
} as any;
|
||||
|
||||
const res = await priv.get<
|
||||
AxiosResponse<IsSupporterKeyVisibleResponse>
|
||||
>("supporter-key/visible");
|
||||
const res = await priv.get<AxiosResponse<IsSupporterKeyVisibleResponse>>(
|
||||
"supporter-key/visible"
|
||||
);
|
||||
supporterData.visible = res.data.data.visible;
|
||||
supporterData.tier = res.data.data.tier;
|
||||
|
||||
@@ -114,14 +114,16 @@ export default async function RootLayout({
|
||||
)}
|
||||
</div>
|
||||
{supporterData?.tier && (
|
||||
<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">
|
||||
<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}!
|
||||
</h2>
|
||||
<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">
|
||||
<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}!
|
||||
</h2>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
)}
|
||||
</footer>
|
||||
</SupportStatusProvider>
|
||||
</EnvProvider>
|
||||
|
||||
Reference in New Issue
Block a user