From a4a5db54ab910f040fb3696e44d300eb17f9b32e Mon Sep 17 00:00:00 2001 From: austinkelsay Date: Thu, 17 Oct 2024 09:05:58 -0500 Subject: [PATCH] Smaller thumbnail titles, revert relays --- .../carousels/templates/CourseTemplate.js | 2 +- .../carousels/templates/DocumentTemplate.js | 2 +- .../carousels/templates/VideoTemplate.js | 2 +- src/config/appConfig.js | 18 +++++++++--------- src/context/NDKContext.js | 4 ++-- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/components/content/carousels/templates/CourseTemplate.js b/src/components/content/carousels/templates/CourseTemplate.js index 6acfcf6..13612c0 100644 --- a/src/components/content/carousels/templates/CourseTemplate.js +++ b/src/components/content/carousels/templates/CourseTemplate.js @@ -79,7 +79,7 @@ export function CourseTemplate({ course }) {
- {course.name} + {course.name}
diff --git a/src/components/content/carousels/templates/DocumentTemplate.js b/src/components/content/carousels/templates/DocumentTemplate.js index 7bcf98d..e9a9bd1 100644 --- a/src/components/content/carousels/templates/DocumentTemplate.js +++ b/src/components/content/carousels/templates/DocumentTemplate.js @@ -66,7 +66,7 @@ export function DocumentTemplate({ document, isLesson }) {
- {document.title} + {document.title}
diff --git a/src/components/content/carousels/templates/VideoTemplate.js b/src/components/content/carousels/templates/VideoTemplate.js index e62abea..571b944 100644 --- a/src/components/content/carousels/templates/VideoTemplate.js +++ b/src/components/content/carousels/templates/VideoTemplate.js @@ -67,7 +67,7 @@ export function VideoTemplate({ video, isLesson }) {
- {video.title} + {video.title}
diff --git a/src/config/appConfig.js b/src/config/appConfig.js index 07c6d2c..9b0f49a 100644 --- a/src/config/appConfig.js +++ b/src/config/appConfig.js @@ -1,14 +1,14 @@ const appConfig = { defaultRelayUrls: [ - // "wss://nos.lol/", - // "wss://relay.damus.io/", - // "wss://relay.snort.social/", - // "wss://relay.nostr.band/", - // "wss://relay.mutinywallet.com/", - // "wss://relay.primal.net/", - // "wss://nostr21.com/", - // "wss://nostrue.com/", - // "wss://purplerelay.com/", + "wss://nos.lol/", + "wss://relay.damus.io/", + "wss://relay.snort.social/", + "wss://relay.nostr.band/", + "wss://relay.mutinywallet.com/", + "wss://relay.primal.net/", + "wss://nostr21.com/", + "wss://nostrue.com/", + "wss://purplerelay.com/", "wss://relay.devs.tools/" ], authorPubkeys: ["8cb60e215678879cda0bef4d5b3fc1a5c5925d2adb5d8c4fa7b7d03b5f2deaea", "676c02247668d5b18479be3d1a80933044256f3fbd03640a8c234684e641b6d6", "f33c8a9617cb15f705fc70cd461cfd6eaf22f9e24c33eabad981648e5ec6f741"], diff --git a/src/context/NDKContext.js b/src/context/NDKContext.js index 6dbe847..df41d5c 100644 --- a/src/context/NDKContext.js +++ b/src/context/NDKContext.js @@ -11,8 +11,8 @@ const readOnlyRelays = ["wss://nostr21.com/", "wss://nostr.wine/", "wss://yestr. export const NDKProvider = ({ children }) => { const [ndk, setNdk] = useState(null); // todo: remove this after testing phase - // const [userRelays, setUserRelays] = useLocalStorage("userRelays", appConfig.defaultRelayUrls); - const [userRelays, setUserRelays] = useState([...readOnlyRelays, "wss://relay.devs.tools"]); + const [userRelays, setUserRelays] = useLocalStorage("userRelays", appConfig.defaultRelayUrls); + // const [userRelays, setUserRelays] = useState([...readOnlyRelays, "wss://relay.devs.tools"]); const createNDKInstance = (relays) => { const allRelays = [...new Set([...appConfig.defaultRelayUrls, ...relays])];