Skip to content

Commit 5c5ba07

Browse files
committed
Adds a background image dashboard wrapper
1 parent 7b54c35 commit 5c5ba07

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { type ReactNode } from "react";
2+
import blurredDashboardBackground from "~/assets/images/blurred-dashboard-background.jpg";
3+
4+
export function BackgroundWrapper({ children }: { children: ReactNode }) {
5+
return (
6+
<div
7+
className="h-full w-full bg-cover bg-left-top bg-no-repeat"
8+
style={{
9+
backgroundImage: `url(${blurredDashboardBackground})`,
10+
}}
11+
>
12+
{children}
13+
</div>
14+
);
15+
}

0 commit comments

Comments
 (0)