diff --git a/client/public/favicon.gif b/client/public/favicon.gif deleted file mode 100644 index c7fd3fe..0000000 Binary files a/client/public/favicon.gif and /dev/null differ diff --git a/client/public/favicon.ico b/client/public/favicon.ico new file mode 100644 index 0000000..effe984 Binary files /dev/null and b/client/public/favicon.ico differ diff --git a/client/public/index.html b/client/public/index.html index e800926..af3ee0c 100644 --- a/client/public/index.html +++ b/client/public/index.html @@ -2,7 +2,7 @@ - + diff --git a/client/public/manifest.json b/client/public/manifest.json index 2de3e66..666e6bf 100644 --- a/client/public/manifest.json +++ b/client/public/manifest.json @@ -3,7 +3,7 @@ "name": "The Wired", "icons": [ { - "src": "favicon.gif", + "src": "favicon.ico", "sizes": "64x64 32x32 24x24 16x16", "type": "image/x-icon" }, diff --git a/client/src/App.tsx b/client/src/App.tsx index 0c8db94..87d02ab 100644 --- a/client/src/App.tsx +++ b/client/src/App.tsx @@ -1,13 +1,13 @@ import "./styles/App.css"; -import Home from "./components/routes/Home"; -import Settings from "./components/routes/Settings"; +import Home from "./components/Routes/Home"; +import Settings from "./components/Routes/Settings"; import { BrowserRouter as Router, Route, Routes } from "react-router-dom"; -import Thread from "./components/routes/Thread"; -import Header from "./components/modals/Header"; -import AddToHomeScreenPrompt from "./components/modals/CheckMobile/CheckMobile"; -import Notifications from "./components/routes/Notifications"; -import Hashtags from "./components/routes/Hashtags"; -import HashtagPage from "./components/routes/HashtagPage"; +import Thread from "./components/Routes/Thread"; +import Header from "./components/Modals/Header"; +import AddToHomeScreenPrompt from "./components/Modals/CheckMobile/CheckMobile"; +import Notifications from "./components/Routes/Notifications"; +import Hashtags from "./components/Routes/Hashtags"; +import HashtagPage from "./components/Routes/HashtagPage"; function App() { return ( diff --git a/client/src/components/routes/HashtagPage.tsx b/client/src/components/routes/HashtagPage.tsx index 4a25339..dfd4059 100644 --- a/client/src/components/routes/HashtagPage.tsx +++ b/client/src/components/routes/HashtagPage.tsx @@ -1,8 +1,8 @@ -import PostCard from "../modals/NoteCard"; +import PostCard from "../Modals/NoteCard"; import { verifyPow } from "../../utils/mine"; import { Event } from "nostr-tools"; -import NewNoteCard from "../forms/PostFormCard"; -import RepostCard from "../modals/RepostCard"; +import NewNoteCard from "../Forms/PostFormCard"; +import RepostCard from "../Modals/RepostCard"; import { useParams } from "react-router-dom"; import { useUniqEvents } from "../../hooks/useUniqEvents"; diff --git a/client/src/components/routes/Home.tsx b/client/src/components/routes/Home.tsx index a2062f3..0955a4b 100644 --- a/client/src/components/routes/Home.tsx +++ b/client/src/components/routes/Home.tsx @@ -1,8 +1,8 @@ -import PostCard from "../modals/NoteCard"; +import PostCard from "../Modals/NoteCard"; import { verifyPow } from "../../utils/mine"; import { Event } from "nostr-tools"; -import NewNoteCard from "../forms/PostFormCard"; -import RepostCard from "../modals/RepostCard"; +import NewNoteCard from "../Forms/PostFormCard"; +import RepostCard from "../Modals/RepostCard"; import { DEFAULT_DIFFICULTY } from "../../config"; import { useUniqEvents } from "../../hooks/useUniqEvents"; diff --git a/client/src/components/routes/Notifications.tsx b/client/src/components/routes/Notifications.tsx index f4373e2..5b242a8 100644 --- a/client/src/components/routes/Notifications.tsx +++ b/client/src/components/routes/Notifications.tsx @@ -1,7 +1,7 @@ import { useState, useCallback } from "react"; -import PostCard from "../modals/NoteCard"; +import PostCard from "../Modals/NoteCard"; import { Event } from "nostr-tools"; -import RepostCard from "../modals/RepostCard"; +import RepostCard from "../Modals/RepostCard"; import { useUniqEvents } from "../../hooks/useUniqEvents"; const Notifications = () => { diff --git a/client/src/components/routes/Thread.tsx b/client/src/components/routes/Thread.tsx index 8f70816..28640e6 100644 --- a/client/src/components/routes/Thread.tsx +++ b/client/src/components/routes/Thread.tsx @@ -5,10 +5,10 @@ import { subNote, subNotesOnce } from '../../utils/subscriptions'; import { useEffect } from 'react'; import { uniqBy } from '../../utils/otherUtils'; import { DocumentTextIcon, FolderPlusIcon, DocumentDuplicateIcon, ArrowTopRightOnSquareIcon } from '@heroicons/react/24/outline'; -import PostCard from '../modals/NoteCard'; -import Placeholder from '../modals/Placeholder'; -import NewNoteCard from '../forms/PostFormCard'; -import RepostNote from '../forms/RepostNote'; +import PostCard from '../Modals/NoteCard'; +import Placeholder from '../Modals/Placeholder'; +import NewNoteCard from '../Forms/PostFormCard'; +import RepostNote from '../Forms/RepostNote'; type PostType = "" | "Reply" | "Quote" | undefined;