From 9ba31b1395fa497e0c5253951b203cd51f96cb2a Mon Sep 17 00:00:00 2001 From: Florian Maul Date: Mon, 17 Jul 2023 12:32:01 +0200 Subject: [PATCH] feat: Updated app name to slidestr --- index.html | 4 ++-- public/slidestr.svg | 3 +++ public/vite.svg | 1 - src/App.tsx | 11 +++++++---- 4 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 public/slidestr.svg delete mode 100644 public/vite.svg diff --git a/index.html b/index.html index 7215a23..733e207 100644 --- a/index.html +++ b/index.html @@ -2,9 +2,9 @@ - + - nostr-slideshow + slidestr.net
diff --git a/public/slidestr.svg b/public/slidestr.svg new file mode 100644 index 0000000..f541a4c --- /dev/null +++ b/public/slidestr.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/public/vite.svg b/public/vite.svg deleted file mode 100644 index e7b8dfb..0000000 --- a/public/vite.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/src/App.tsx b/src/App.tsx index 3644db4..d5c2166 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -21,6 +21,9 @@ FEATURES: - jump to previous image???? - pause? - Save-Mode and block NSFW content?? +- Block certain authors / npbs? Maybe trust lookup @ nostr.band? +- Add warning start page with localStorge to remember +- Add config/settigns dialog */ type NostrImage = { @@ -43,9 +46,9 @@ const buildFilter = ( } else { if (tags) { filter["#t"] = tags.split(","); - setTitle("#" + tags.replace(",", " #") + " | nostr-slideshow"); + setTitle("#" + tags.replace(",", " #") + " | slidestr.net"); } else { - setTitle("Random photos from popular hashtags | nostr-slideshow"); + setTitle("Random photos from popular hashtags | slidestr.net"); // Default tags filter["#t"] = [ @@ -87,7 +90,7 @@ const App = () => { const images = useRef([]); const [activeImages, setActiveImages] = useState([]); const upcommingImage = useRef(); - const [title, setTitle] = useState("nostr-slideshow"); + const [title, setTitle] = useState("slidestr.net"); const { tags, npub } = useParams(); useEffect(() => { @@ -163,7 +166,7 @@ const App = () => { (activeProfile.displayName || activeProfile.name) ) { setTitle( - activeProfile.displayName || activeProfile.name + " | nostr-slideshow" + activeProfile.displayName || activeProfile.name + " | slidestr.net" ); } }, [activeProfile]);