diff --git a/client/public/tao.png b/client/public/tao.png new file mode 100644 index 0000000..9200e66 Binary files /dev/null and b/client/public/tao.png differ diff --git a/client/src/App.tsx b/client/src/App.tsx index 0a7a4e6..43063eb 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -5,6 +5,7 @@ import Settings from './components/Settings'; import SwipeableViews from 'react-swipeable-views'; import { BrowserRouter as Router, Route, Routes } from 'react-router-dom'; import Thread from './components/Thread/Thread'; +import Header from './components/Header/Header'; function App() { const [index, setIndex] = React.useState(1); @@ -16,6 +17,7 @@ function App() { return ( +
} /> } /> diff --git a/client/src/components/Header/Header.tsx b/client/src/components/Header/Header.tsx index 1120ada..e878924 100644 --- a/client/src/components/Header/Header.tsx +++ b/client/src/components/Header/Header.tsx @@ -1,13 +1,24 @@ -import { CogIcon } from '@heroicons/react/24/outline'; +import { Cog6ToothIcon, QuestionMarkCircleIcon } from '@heroicons/react/24/outline'; export default function Header() { return ( - +
); } \ No newline at end of file diff --git a/client/src/components/Settings.tsx b/client/src/components/Settings.tsx index 38d5977..4922471 100644 --- a/client/src/components/Settings.tsx +++ b/client/src/components/Settings.tsx @@ -4,8 +4,8 @@ import React, { useEffect, useState } from 'react'; import { addRelay } from '../utils/relays'; const Settings = () => { - const [filterDifficulty, setFilterDifficulty] = useState(localStorage.getItem('filterDifficulty') || 20); - const [difficulty, setDifficulty] = useState(localStorage.getItem('difficulty') || 20); + const [filterDifficulty, setFilterDifficulty] = useState(localStorage.getItem('filterDifficulty') || 21); + const [difficulty, setDifficulty] = useState(localStorage.getItem('difficulty') || 21); const handleSubmit = (e: React.FormEvent) => { e.preventDefault(); @@ -25,7 +25,7 @@ const Settings = () => { // }, []); return ( -
+

Settings

@@ -59,6 +59,15 @@ const Settings = () => { Save Settings + +
+

About

+
+ + + +
+
);