File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments