summaryrefslogtreecommitdiff
path: root/src/App.tsx
diff options
context:
space:
mode:
authorYuren Hao <97327730+YurenHao0426@users.noreply.github.com>2025-08-06 02:01:22 -0700
committerGitHub <noreply@github.com>2025-08-06 02:01:22 -0700
commite5cbd188c6fc654e8ababd37922c018bc8527c44 (patch)
treeaa89a6d2998ecfc60254e17fd0d3cdb5449a8248 /src/App.tsx
parent79ec5fd1f0188a88f937737185c542e644cf98e4 (diff)
parentcaa18e81e8eb03fb03a82d0d3526994c9ba41ac2 (diff)
Merge pull request #1 from YurenHao0426/codex/test-uiuc-api-cors-response
feat: scaffold prereq graph project
Diffstat (limited to 'src/App.tsx')
-rw-r--r--src/App.tsx12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/App.tsx b/src/App.tsx
new file mode 100644
index 0000000..9687afc
--- /dev/null
+++ b/src/App.tsx
@@ -0,0 +1,12 @@
+import Graph from "./components/Graph";
+import { useCourseData } from "./hooks/useCourseData";
+
+export default function App() {
+ const catalog = useCourseData("/data/catalog_2025_fall.json");
+ return (
+ <>
+ <h1 style={{ textAlign: "center" }}>UIUC Course Prerequisite Graph</h1>
+ <Graph catalog={catalog} />
+ </>
+ );
+}