diff --git a/lumina/app/page.tsx b/lumina/app/page.tsx index 1f35021..04900de 100644 --- a/lumina/app/page.tsx +++ b/lumina/app/page.tsx @@ -8,7 +8,8 @@ import GlobalFeed from "@/components/GlobalFeed"; import { NostrProvider } from "nostr-react"; const relayUrls = [ - "wss://relay.damus.io" + "wss://relay.damus.io", + "wss://relay.nostr.band", ]; export default function Home() { diff --git a/lumina/app/profile/[pubkey]/page.tsx b/lumina/app/profile/[pubkey]/page.tsx index d0f4b9c..afb9a33 100644 --- a/lumina/app/profile/[pubkey]/page.tsx +++ b/lumina/app/profile/[pubkey]/page.tsx @@ -11,6 +11,7 @@ import { SectionIcon, GridIcon } from '@radix-ui/react-icons' const relayUrls = [ "wss://relay.damus.io", + "wss://relay.nostr.band", ]; export default function Home() { diff --git a/lumina/components/NoteCard.tsx b/lumina/components/NoteCard.tsx index 6c320ec..276e7d0 100644 --- a/lumina/components/NoteCard.tsx +++ b/lumina/components/NoteCard.tsx @@ -29,6 +29,7 @@ import { import ReactionButton from '@/components/ReactionButton'; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; import ViewRawButton from '@/components/ViewRawButton'; +import Image from 'next/image'; interface NoteCardProps { pubkey: string; @@ -89,11 +90,19 @@ const NoteCard: React.FC = ({ pubkey, text, eventId, tags, event {imageSrc.map((src, index) => ( - + /> */} + {textWithoutImage} ))} @@ -101,7 +110,14 @@ const NoteCard: React.FC = ({ pubkey, text, eventId, tags, event ) : ( - imageSrc ? : "" + // imageSrc ? : "" + imageSrc ? {textWithoutImage} : "" )} } diff --git a/lumina/next.config.mjs b/lumina/next.config.mjs index bf52547..bd8ccfd 100644 --- a/lumina/next.config.mjs +++ b/lumina/next.config.mjs @@ -1,6 +1,16 @@ /** @type {import('next').NextConfig} */ const nextConfig = { output: 'standalone', + images: { + remotePatterns: [ + { + protocol: 'https', + hostname: '**', + port: '', + pathname: '/**', + }, + ], + }, }; export default nextConfig; \ No newline at end of file