Page.tsx 524 Bytes
import React from "react";
import { Layout } from "antd";

import styles from "./Page.module.scss";

export function Page({ children }: { children: React.ReactNode }) {
  return (
    <Layout className={styles.layout}>
      <Layout.Header>
        <div className={styles.logo}>KHUDrive</div>
      </Layout.Header>
      <Layout.Content className={styles.content}>{children}</Layout.Content>
      <Layout.Footer className={styles.footer}>
        © 2020 Cloud Computing Team C
      </Layout.Footer>
    </Layout>
  );
}