mirror of
https://github.com/etiennecollin/unifi-voucher-manager.git
synced 2025-10-23 00:02:10 +00:00
chore: renamed main <div> to <main> and minor tweaks
This commit is contained in:
@@ -168,12 +168,12 @@ export default function PrintPage() {
|
||||
}, [router]);
|
||||
|
||||
return (
|
||||
<div className="print-wrapper">
|
||||
<main className="print-wrapper">
|
||||
<Suspense
|
||||
fallback={<div style={{ textAlign: "center" }}>Loading...</div>}
|
||||
>
|
||||
<Vouchers />
|
||||
</Suspense>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
@@ -32,10 +32,10 @@ export default function WelcomePage() {
|
||||
}, [visited, rotateVoucher]);
|
||||
|
||||
return (
|
||||
<div className="flex-center h-screen w-full px-4">
|
||||
<main className="flex-center h-screen w-full px-4">
|
||||
<div className="w-full text-center font-bold text-4xl sm:text-5xl md:text-7xl lg:text-9xl leading-snug">
|
||||
{ssid ? `Welcome to ${ssid}!` : "Welcome!"}
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
@@ -33,7 +33,7 @@ export default function Header() {
|
||||
ref={headerRef}
|
||||
className="bg-surface border-b border-default sticky top-0 z-7000"
|
||||
>
|
||||
<div className="max-w-95/100 mx-auto flex-center-between px-4 py-4">
|
||||
<div className="max-w-95/100 mx-auto flex-center-between px-4 py-4 gap-4">
|
||||
<h1 className="text-xl md:text-2xl font-semibold text-brand">
|
||||
<span className="block sm:hidden">UVM</span>
|
||||
<span className="hidden sm:block">UniFi Voucher Manager</span>
|
||||
|
@@ -56,7 +56,7 @@ export default function Tabs() {
|
||||
</button>
|
||||
))}
|
||||
</nav>
|
||||
<div className="p-4 overflow-y-auto">
|
||||
<main className="p-4 overflow-y-auto">
|
||||
{enabledTabs.map((tabConfig) => {
|
||||
const Component = tabConfig.component;
|
||||
return (
|
||||
@@ -68,7 +68,7 @@ export default function Tabs() {
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</main>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user