diff --git a/compass/app/admin/page.tsx b/compass/app/admin/page.tsx new file mode 100644 index 0000000..f0d9d07 --- /dev/null +++ b/compass/app/admin/page.tsx @@ -0,0 +1,8 @@ +import Table from "@/components/Table"; + +export default function Page() { + return (<> + + ) + +} \ No newline at end of file diff --git a/compass/components/Table.tsx b/compass/components/Table.tsx new file mode 100644 index 0000000..2b8cb28 --- /dev/null +++ b/compass/components/Table.tsx @@ -0,0 +1,47 @@ +import { Component } from "react" + +interface TableProps { + headers: object; + rows: object; + } + +const Table: React.FC = ({headers, rows}) => { + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ Front-end web developer course 2021 +
PersonMost interest inAge
ChrisHTML tables22
DennisWeb accessibility45
SarahJavaScript frameworks29
KarenWeb performance36
+ +} + +export default Table \ No newline at end of file