From d0dc94441d5f366f573877f66a008b2e97929ef1 Mon Sep 17 00:00:00 2001 From: Jared He <66887902+jaredjhe@users.noreply.github.com> Date: Thu, 1 Sep 2022 01:40:05 -0400 Subject: [PATCH] Initial sections commit --- components/Sections.module.css | 0 components/Sections.tsx | 26 ++++++++++++++++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 components/Sections.module.css create mode 100644 components/Sections.tsx diff --git a/components/Sections.module.css b/components/Sections.module.css new file mode 100644 index 0000000..e69de29 diff --git a/components/Sections.tsx b/components/Sections.tsx new file mode 100644 index 0000000..0fd9744 --- /dev/null +++ b/components/Sections.tsx @@ -0,0 +1,26 @@ +import React from "react"; + +import styles from "./Sections.module.css"; + +interface SectionsData { + name: string; + url: string; +} + +interface SectionsProps { + data: SectionsData[]; +} + +export default function Sections({ data }: SectionsProps) { + return ( +
+

Sections

+ {data.map((datum, index) => { + return
+

+ +
; + })} +
+ ); +}