✨ Innovative and open-source visualization application that transforms various data formats, such as JSON, YAML, XML and CSV into interactive graphs.
import React from "react";
import { Inter } from "next/font/google";
import styled, { ThemeProvider } from "styled-components";
import { lightTheme } from "../../constants/theme";
import { Footer } from "./Footer";
import { Navbar } from "./Navbar";
const inter = Inter({
subsets: ["latin-ext"],
});
const StyledLayoutWrapper = styled.div`
background: #fff;
font-family: ${inter.style.fontFamily};
display: flex;
flex-direction: column;
min-height: 100vh;
`;
const ContentWrapper = styled.div`
flex: 1;
`;
const PageLayout = ({ children }: React.PropsWithChildren) => {
return (
<ThemeProvider theme={lightTheme}>
<StyledLayoutWrapper>
<Navbar />
<ContentWrapper>{children}</ContentWrapper>
<Footer />
</StyledLayoutWrapper>
</ThemeProvider>
);
};
export default PageLayout;