diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index f97c2dd..722a661 100644 Binary files a/public/apple-touch-icon.png and b/public/apple-touch-icon.png differ diff --git a/public/favicon-96x96.png b/public/favicon-96x96.png index 9c5ab1b..1028f7f 100644 Binary files a/public/favicon-96x96.png and b/public/favicon-96x96.png differ diff --git a/public/favicon.ico b/public/favicon.ico index d69065e..20047ec 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/favicon.svg b/public/favicon.svg index 15ffa16..60940dc 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,7 +1,7 @@ - - + + diff --git a/public/pwa-192x192.png b/public/pwa-192x192.png index 5b22be0..124c881 100644 Binary files a/public/pwa-192x192.png and b/public/pwa-192x192.png differ diff --git a/public/pwa-512x512.png b/public/pwa-512x512.png index 2502f92..1543ecd 100644 Binary files a/public/pwa-512x512.png and b/public/pwa-512x512.png differ diff --git a/public/pwa-monochrome.svg b/public/pwa-monochrome.svg index 15ffa16..60940dc 100644 --- a/public/pwa-monochrome.svg +++ b/public/pwa-monochrome.svg @@ -1,7 +1,7 @@ - - + + diff --git a/src/components/Note/MusicTrackNote/index.tsx b/src/components/Note/MusicTrackNote/index.tsx index af6ecf0..aabd3ab 100644 --- a/src/components/Note/MusicTrackNote/index.tsx +++ b/src/components/Note/MusicTrackNote/index.tsx @@ -54,7 +54,7 @@ export default function MusicTrackNote({ event, className }: MusicTrackNoteProps trackNumber: getTagValue('track_number'), duration: getTagValue('duration'), genres: getTagValues('t').filter(tag => - !['music'].includes(tag) + !['music', 'electronic', 'lofi pop'].includes(tag) ), lyrics, credits @@ -71,71 +71,73 @@ export default function MusicTrackNote({ event, className }: MusicTrackNoteProps return (
- {/* Main track container */} -
- {/* Cover Art */} - {metadata.image && ( -
- {metadata.alt -
- )} - - {/* Track Info */} -
-

{metadata.title}

- - {metadata.artist && ( -

- {t('music.by')} {metadata.artist} -

- )} - - {metadata.album && ( -

- {t('music.album')}: {metadata.album} - {metadata.trackNumber && ` • ${t('music.track')} ${metadata.trackNumber}`} -

- )} - - {metadata.releaseDate && ( -

- {t('music.released')}: {dayjs(metadata.releaseDate).format('MMMM D, YYYY')} -

- )} - - {/* Audio Player */} -
- -
- - {/* Show lyrics if they exist */} - {metadata.lyrics && ( -
-

- {metadata.lyrics} -

-
- )} - - {/* Show credits if they exist */} - {metadata.credits && ( -
-

- {t('music.credits')}:
- {metadata.credits} -

-
- )} - -
+ {/* Main track container */} +
+ {/* Cover Art */} + {metadata.image && ( +
+ {metadata.alt
+ )} + + {/* Track Info */} +
+

{metadata.title}

+ + {metadata.artist && ( +

+ {t('music.by')} {metadata.artist} +

+ )} + + {metadata.album && ( +

+ {t('music.album')}: {metadata.album} + {metadata.trackNumber && ` • ${t('music.track')} ${metadata.trackNumber}`} +

+ )} + + {metadata.releaseDate && ( +

+ {t('music.released')}: {dayjs(metadata.releaseDate).format('MMMM D, YYYY')} +

+ )} + + {/* Audio Player */} +
+ +
+ + {/* Show lyrics if they exist */} + {metadata.lyrics && ( +
+

+ {metadata.lyrics} +

+
+ )} + + {/* Show credits if they exist */} + {metadata.credits && ( +
+

+ {t('music.credits')}:
+ {metadata.credits} +

+
+ )} + + + +
+
{/* License and Metadata Footer */} @@ -146,6 +148,13 @@ export default function MusicTrackNote({ event, className }: MusicTrackNoteProps

)} + {/* Only show alt if it's different from what we've shown + {metadata.alt && !metadata.credits && ( +

+ {t('music.altText')}: {metadata.alt} +

+ )} + */} {metadata.genres.length > 0 && (
{metadata.genres.map((genre, index) => ( diff --git a/src/components/RelaySetCard/index.tsx b/src/components/RelaySetCard/index.tsx index 34ea0c7..531cb04 100644 --- a/src/components/RelaySetCard/index.tsx +++ b/src/components/RelaySetCard/index.tsx @@ -1,6 +1,6 @@ import { cn } from '@/lib/utils' import { TRelaySet } from '@/types' -import { ChevronDown, FolderClosed, Music, Radio, Trees, DoorOpen, TrendingUp } from 'lucide-react' +import { ChevronDown, FolderClosed, Music, Radio, Trees, DoorOpen } from 'lucide-react' import { useState } from 'react' import { useTranslation } from 'react-i18next' import RelayIcon from '../RelayIcon' @@ -25,7 +25,6 @@ export default function RelaySetCard({ if (nameLower.includes('music')) return Music if (nameLower.includes('backstage')) return DoorOpen if (nameLower.includes('hood')) return Trees - if (nameLower.includes('trend')) return TrendingUp return FolderClosed diff --git a/src/constants.ts b/src/constants.ts index 5355d26..53a1b77 100644 --- a/src/constants.ts +++ b/src/constants.ts @@ -72,12 +72,13 @@ export const ApplicationDataKey = { } export const BIG_RELAY_URLS = [ - 'wss://basspistol.org/', + 'wss://relay.damus.io/', 'wss://nos.lol/', - 'wss://relay.damus.io/' + 'wss://relay.primal.net/', + 'wss://offchain.pub/' ] -export const SEARCHABLE_RELAY_URLS = ['wss://basspistol.org/','wss://pyramid.fiatjaf.com/','wss://spatia-arcana.com/','wss://relay.dyne.org'] +export const SEARCHABLE_RELAY_URLS = ['wss://basspistol.org/','wss://pyramid.fiatjaf.com/','wss://spatia-arcana.com/'] export const TRENDING_NOTES_RELAY_URLS = ['wss://basspistol.org/uppermost'] diff --git a/src/pages/primary/NoteListPage/FeedButton.tsx b/src/pages/primary/NoteListPage/FeedButton.tsx index d1ddc3f..f5463e5 100644 --- a/src/pages/primary/NoteListPage/FeedButton.tsx +++ b/src/pages/primary/NoteListPage/FeedButton.tsx @@ -8,7 +8,7 @@ import { cn } from '@/lib/utils' import { useFavoriteRelays } from '@/providers/FavoriteRelaysProvider' import { useFeed } from '@/providers/FeedProvider' import { useScreenSize } from '@/providers/ScreenSizeProvider' -import { ChevronDown, Server, Star, UsersRound, Music, Radio, Trees, DoorOpen, TrendingUp } from 'lucide-react' +import { ChevronDown, Server, Star, UsersRound, Music, Radio, Trees, DoorOpen } from 'lucide-react' import { forwardRef, HTMLAttributes, useMemo, useState } from 'react' import { useTranslation } from 'react-i18next' @@ -103,7 +103,6 @@ const FeedSwitcherTrigger = forwardRef if (nameLower.includes('backstage')) return if (nameLower.includes('hood')) return - if (nameLower.includes('hood')) return // Default relay set icon return diff --git a/vite.config.ts b/vite.config.ts index 860f1e6..a81cdfa 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -95,8 +95,8 @@ export default defineConfig(({ mode }) => { ], start_url: '/', display: 'standalone', - background_color: '#200B2E', - theme_color: '#200B2E', + background_color: '#FFFFFF', + theme_color: '#FFFFFF', description: packageJson.description } })