mirror of
https://github.com/estruyf/vscode-front-matter.git
synced 2026-04-30 10:34:12 +02:00
24 lines
620 B
TypeScript
24 lines
620 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={`sticky 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>
|
|
);
|
|
}; |