Skip to content

Commit f401421

Browse files
style: update dashboard image to be more visible
1 parent 47f93a7 commit f401421

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

public/dashboard.jpg

151 KB
Loading

src/app/dashboard/page.tsx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,23 +51,20 @@ export default async function DashboardPage() {
5151
"btn border-2 border-emerald-400 text-emerald-400 bg-transparent hover:bg-emerald-900/50 hover:border-emerald-200 hover:text-emerald-200 shadow-lg shadow-emerald-500/50 transition duration-300 ease-in-out";
5252

5353
// helper
54-
const getButtonClass = (complete: boolean) =>
55-
complete ? greenButtonClass : greyButtonClass;
54+
const getButtonClass = (complete: boolean) => (complete ? greenButtonClass : greyButtonClass);
5655

5756
return (
5857
<main
5958
className={`relative min-h-dvh p-8 text-white ${cinzel.className}`}
6059
style={{
61-
backgroundImage: "url('/dashboard.png')",
60+
backgroundImage: "url('/dashboard.jpg')",
6261
backgroundSize: "cover",
6362
backgroundPosition: "center",
6463
}}
6564
>
6665
<div className="flex justify-between items-start w-full">
6766
<div className="flex flex-col gap-4 p-0 w-fit">
68-
<h1 className="text-white text-5xl font-bold tracking-wider mb-4">
69-
Dashboard
70-
</h1>
67+
<h1 className="text-white text-5xl font-bold tracking-wider mb-4">Dashboard</h1>
7168
<div className="flex flex-col gap-4 w-32">
7269
<Link href="/" className={celestialButtonClasses}>
7370
<span>Home</span>

0 commit comments

Comments
 (0)