From 4c0908555ba304cd512f86ef8139c83bc4f09b21 Mon Sep 17 00:00:00 2001 From: Leslie Yip Date: Wed, 28 Feb 2024 02:05:12 +0800 Subject: [PATCH 1/3] KAN-13 Create resources page --- public/folder_icon.svg | 12 ++++ public/planner_icon.svg | 26 +++++++ public/sep_icon.svg | 31 ++++++++ src/App.jsx | 5 +- src/pages/index.ts | 3 +- src/pages/resources/FolderLink.css | 45 ++++++++++++ src/pages/resources/FolderLink.tsx | 18 +++++ src/pages/resources/ResourceLink.css | 57 +++++++++++++++ src/pages/resources/ResourceLink.tsx | 20 ++++++ src/pages/resources/index.css | 104 +++++++++++++++++++++++++++ src/pages/resources/index.tsx | 82 +++++++++++++++++++++ 11 files changed, 401 insertions(+), 2 deletions(-) create mode 100644 public/folder_icon.svg create mode 100644 public/planner_icon.svg create mode 100644 public/sep_icon.svg create mode 100644 src/pages/resources/FolderLink.css create mode 100644 src/pages/resources/FolderLink.tsx create mode 100644 src/pages/resources/ResourceLink.css create mode 100644 src/pages/resources/ResourceLink.tsx create mode 100644 src/pages/resources/index.css create mode 100644 src/pages/resources/index.tsx diff --git a/public/folder_icon.svg b/public/folder_icon.svg new file mode 100644 index 0000000..ad63998 --- /dev/null +++ b/public/folder_icon.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/public/planner_icon.svg b/public/planner_icon.svg new file mode 100644 index 0000000..79aa66f --- /dev/null +++ b/public/planner_icon.svg @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/public/sep_icon.svg b/public/sep_icon.svg new file mode 100644 index 0000000..bf57d95 --- /dev/null +++ b/public/sep_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/App.jsx b/src/App.jsx index 8e60e98..b50057b 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,6 +1,6 @@ import { useEffect } from 'react'; import { useLocation, Routes, Route } from 'react-router-dom'; -import { About, Home, Privacy } from './pages'; +import { About, Home, Privacy, Resources } from './pages'; import NavigationBar from './layout/NavigationBar'; import Footer from './layout/Footer'; import './App.css'; @@ -20,6 +20,9 @@ function App() { } /> + + } /> +