Skip to content

Commit

Permalink
mod: change SampleList to about
Browse files Browse the repository at this point in the history
  • Loading branch information
bbland1 committed Sep 25, 2024
1 parent 7755b00 commit 5e48804
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 19 deletions.
11 changes: 2 additions & 9 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,7 @@ import React from "react";

import { Routes, Route } from "react-router-dom";

import {
Home,
Layout,
List,
ManageList,
PageNotFound,
SampleList,
} from "./views";
import { Home, Layout, List, ManageList, PageNotFound, About } from "./views";

import { useFindUser, useShoppingListData, useShoppingLists } from "./api";

Expand Down Expand Up @@ -81,7 +74,7 @@ export function App() {
/>
</Route>

<Route path="/sample-list" element={<SampleList />}></Route>
<Route path="/about" element={<About />}></Route>

{/* a catch all route for if someone tries to manually navigate to something not created yet */}
<Route path="*" element={<PageNotFound />} />
Expand Down
2 changes: 1 addition & 1 deletion src/views/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ export * from "./Home";
export * from "./Layout";
export * from "./authenticated/List";
export * from "./unauthenticated/PageNotFound";
export * from "./unauthenticated/SampleList";
export * from "./unauthenticated/About";
22 changes: 22 additions & 0 deletions src/views/unauthenticated/About.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import React from "react";

export function About() {
return (
<div>
<section>
<h1>How it all works</h1>
</section>
<section>
<h2>Creators</h2>
<div>
<p></p>
</div>
</section>
<section>
<h2>Thank you to</h2>
<p>Mentors: Alex, Aditya, Tanner</p>
<p>The entire The Collab Lab.</p>
</section>
</div>
);
}
9 changes: 0 additions & 9 deletions src/views/unauthenticated/SampleList.tsx

This file was deleted.

0 comments on commit 5e48804

Please sign in to comment.