We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b54c35 commit 5c5ba07Copy full SHA for 5c5ba07
apps/webapp/app/components/BackgroundWrapper.tsx
@@ -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