forked from programmablehq/PROGRAMMABLE
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp-shell.tsx
More file actions
28 lines (27 loc) · 892 Bytes
/
Copy pathapp-shell.tsx
File metadata and controls
28 lines (27 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
import type { ReactNode } from "react";
import { AtmosphereBackdrop } from "@/components/atmosphere-backdrop";
import { LiquidGlassFilter } from "@/components/liquid-glass-filter";
import {
MobileNavigation,
SiteHeader,
} from "@/components/site-navigation";
import { RouteTransition } from "@/components/route-transition";
import { WalletProvider } from "@/components/wallet-provider";
export function AppShell({ children }: { children: ReactNode }) {
return (
<WalletProvider>
<div className="app-frame">
<LiquidGlassFilter />
<AtmosphereBackdrop />
<a className="skip-link" href="#main-content">
Skip to content
</a>
<SiteHeader />
<main id="main-content" tabIndex={-1}>
<RouteTransition>{children}</RouteTransition>
</main>
<MobileNavigation />
</div>
</WalletProvider>
);
}