diff --git a/public/favicon.ico b/public/favicon.ico deleted file mode 100644 index a11777cc4..000000000 Binary files a/public/favicon.ico and /dev/null differ diff --git a/public/index.html b/public/index.html index aa069f27c..a17838d91 100644 --- a/public/index.html +++ b/public/index.html @@ -7,37 +7,14 @@ - - + - - React App + snort.social - Nostr interface
- diff --git a/public/logo192.png b/public/logo192.png deleted file mode 100644 index fc44b0a37..000000000 Binary files a/public/logo192.png and /dev/null differ diff --git a/public/logo512.png b/public/logo512.png deleted file mode 100644 index a4e47a654..000000000 Binary files a/public/logo512.png and /dev/null differ diff --git a/public/manifest.json b/public/manifest.json index 080d6c77a..a06ca9987 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,19 +1,15 @@ { - "short_name": "React App", - "name": "Create React App Sample", + "short_name": "snort.social", + "name": "snort.social - Nostr interface", + "description": "Fast nostr web ui", "icons": [ { - "src": "favicon.ico", - "sizes": "64x64 32x32 24x24 16x16", - "type": "image/x-icon" - }, - { - "src": "logo192.png", + "src": "nostrich_256.png", "type": "image/png", - "sizes": "192x192" + "sizes": "256x256" }, { - "src": "logo512.png", + "src": "nostrich_512.png", "type": "image/png", "sizes": "512x512" } @@ -21,5 +17,5 @@ "start_url": ".", "display": "standalone", "theme_color": "#000000", - "background_color": "#ffffff" + "background_color": "#000000" } diff --git a/public/nostrich_256.png b/public/nostrich_256.png new file mode 100644 index 000000000..e26eeb876 Binary files /dev/null and b/public/nostrich_256.png differ diff --git a/public/nostrich_512.png b/public/nostrich_512.png new file mode 100644 index 000000000..1d1430514 Binary files /dev/null and b/public/nostrich_512.png differ diff --git a/public/nostrich_orig.jpeg b/public/nostrich_orig.jpeg new file mode 100644 index 000000000..4178d583d Binary files /dev/null and b/public/nostrich_orig.jpeg differ diff --git a/src/element/ProfileImage.js b/src/element/ProfileImage.js index b84634785..beac6603f 100644 --- a/src/element/ProfileImage.js +++ b/src/element/ProfileImage.js @@ -1,6 +1,7 @@ import "./ProfileImage.css"; import { useNavigate } from "react-router-dom"; import useProfile from "../pages/feed/ProfileFeed"; +import Nostrich from "../nostrich.jpg"; export default function ProfileImage(props) { const pubKey = props.pubKey; @@ -10,7 +11,7 @@ export default function ProfileImage(props) { return (
- navigate(`/p/${pubKey}`)} /> + navigate(`/p/${pubKey}`)} />
{user?.name ?? pubKey.substring(0, 8)} {subHeader} diff --git a/src/nostr/System.js b/src/nostr/System.js index f5e913dc1..c56ee950b 100644 --- a/src/nostr/System.js +++ b/src/nostr/System.js @@ -1,4 +1,3 @@ -import { useSelector } from "react-redux"; import Connection from "./Connection"; /** diff --git a/src/nostrich.jpg b/src/nostrich.jpg new file mode 100644 index 000000000..52482e76c Binary files /dev/null and b/src/nostrich.jpg differ diff --git a/src/pages/ProfilePage.js b/src/pages/ProfilePage.js index 5398e753d..8deabd703 100644 --- a/src/pages/ProfilePage.js +++ b/src/pages/ProfilePage.js @@ -6,6 +6,7 @@ import { useContext, useEffect, useState } from "react"; import Event from "../nostr/Event"; import { NostrContext } from ".."; import { resetProfile } from "../state/Users"; +import Nostrich from "../nostrich.jpg"; export default function ProfilePage() { const system = useContext(NostrContext); @@ -27,7 +28,7 @@ export default function ProfilePage() { useEffect(() => { if (user) { setName(user.name ?? ""); - setPicture(user.picture ?? ""); + setPicture(user.picture ?? Nostrich); setAbout(user.about ?? ""); setWebsite(user.website ?? ""); setNip05(user.nip05 ?? "");