mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-23 15:07:43 +01:00
4880d46dc4
This commit updates the import statements in the codebase to comply with ESLint rules for import ordering. All imports have been sorted alphabetically and grouped according to the specified import groups in the ESLint configuration. This improves the codebase's consistency and maintainability.
21 lines
479 B
TypeScript
21 lines
479 B
TypeScript
import { Helmet } from "react-helmet";
|
|
|
|
import { Transition } from "@/components/Transition";
|
|
|
|
export function Overlay(props: { children: React.ReactNode }) {
|
|
return (
|
|
<>
|
|
<Helmet>
|
|
<body data-no-scroll />
|
|
</Helmet>
|
|
<div className="fixed inset-0 z-[99999]">
|
|
<Transition
|
|
animation="fade"
|
|
className="absolute inset-0 bg-[rgba(8,6,18,0.85)]"
|
|
isChild
|
|
/>
|
|
{props.children}
|
|
</div>
|
|
</>
|
|
);
|
|
}
|