mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-03-28 17:42:40 +01:00
24 lines
626 B
TypeScript
24 lines
626 B
TypeScript
import * as React from 'react';
|
|
import { Navigation } from '../Navigation';
|
|
import { Footer } from './Footer';
|
|
import { Sponsors } from './Sponsors';
|
|
|
|
export interface ILayoutProps {}
|
|
|
|
export const Layout: React.FunctionComponent<ILayoutProps> = (props: React.PropsWithChildren<ILayoutProps>) => {
|
|
return (
|
|
<div className={`flex flex-col h-screen`}>
|
|
<header className={`lg:sticky lg:top-0 z-50 bg-vulcan-500 bg-opacity-80 backdrop-blur-lg`}>
|
|
<Navigation />
|
|
</header>
|
|
|
|
<main className={`flex-grow`}>
|
|
{props.children}
|
|
</main>
|
|
|
|
<Sponsors />
|
|
|
|
<Footer />
|
|
</div>
|
|
);
|
|
}; |