mirror of
https://github.com/drawdb-io/drawdb.git
synced 2025-05-24 18:39:12 +00:00
Add NotFound page
This commit is contained in:
parent
c2319afcd3
commit
d8fd3292b7
@ -8,6 +8,7 @@ import { useEffect, useLayoutEffect } from "react";
|
||||
import LandingPage from "./pages/LandingPage";
|
||||
import SettingsContextProvider from "./context/SettingsContext";
|
||||
import useSettings from "./hooks/useSettings";
|
||||
import NotFound from "./pages/NotFound";
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
@ -49,6 +50,7 @@ export default function App() {
|
||||
}
|
||||
/>
|
||||
<Route path="/templates" element={<Templates />} />
|
||||
<Route path="*" element={<NotFound />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
</SettingsContextProvider>
|
||||
|
26
src/pages/NotFound.jsx
Normal file
26
src/pages/NotFound.jsx
Normal file
@ -0,0 +1,26 @@
|
||||
export default function NotFound() {
|
||||
return (
|
||||
<div className="p-3 space-y-2">
|
||||
<p>hey there!</p>
|
||||
|
||||
<p>looking for something you couldn't find?</p>
|
||||
<p>
|
||||
<a className="text-blue-600" href="mailto:drawdb@outlook.com">
|
||||
shoot us an email
|
||||
</a>{" "}
|
||||
or{" "}
|
||||
<a
|
||||
className="text-blue-600"
|
||||
href="https://discord.com/invite/8y7XUfcqR8"
|
||||
>
|
||||
a message on discord
|
||||
</a>
|
||||
</p>
|
||||
<br />
|
||||
<p className="opacity-70">
|
||||
* to create a relationship hold the blue dot of a field and drag it
|
||||
towards the field you want to connect it to
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue
Block a user