Files
examjam-frontend/components/BackgroundWrapper.tsx
2025-07-28 20:22:04 +06:00

26 lines
561 B
TypeScript

import React, { ReactNode } from "react";
interface BackgroundWrapperProps {
children: ReactNode;
}
const BackgroundWrapper = ({ children }: BackgroundWrapperProps) => {
return (
<div
className="min-h-screen bg-cover bg-center bg-no-repeat relative"
style={{
backgroundImage: "url('/images/static/paper-background.png')",
}}
>
<div
className="min-h-screen"
style={{ backgroundColor: "rgba(0, 0, 0, 0)" }}
>
{children}
</div>
</div>
);
};
export default BackgroundWrapper;