Initial commit
This commit is contained in:
commit
2f5e10140c
133 changed files with 10429 additions and 0 deletions
21
packages/web/src/routes/layout.tsx
Normal file
21
packages/web/src/routes/layout.tsx
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import type { RouteSectionProps } from "@solidjs/router";
|
||||
|
||||
import Storage from "@tensamin/core-storage/context";
|
||||
import Crypto from "@tensamin/core-crypto/context";
|
||||
|
||||
import LegalWrapper from "@/features/legal/screen";
|
||||
|
||||
import { Toaster } from "@tensamin/ui/sonner";
|
||||
|
||||
export default function Layout(props: RouteSectionProps) {
|
||||
return (
|
||||
<>
|
||||
<Toaster />
|
||||
<Storage>
|
||||
<LegalWrapper>
|
||||
<Crypto>{props.children}</Crypto>
|
||||
</LegalWrapper>
|
||||
</Storage>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in a new issue