fix: music Icon not appearing on mobile

Anatole Sot 9 months ago
parent 784e65fd3a
commit ad168dcbcd

@ -8,6 +8,7 @@ import {
EllipsisHorizontalIcon, EllipsisHorizontalIcon,
ExclamationTriangleIcon, ExclamationTriangleIcon,
FilmIcon, FilmIcon,
MusicalNoteIcon,
SparklesIcon, SparklesIcon,
TvIcon, TvIcon,
UsersIcon, UsersIcon,
@ -17,6 +18,7 @@ import {
CogIcon as FilledCogIcon, CogIcon as FilledCogIcon,
ExclamationTriangleIcon as FilledExclamationTriangleIcon, ExclamationTriangleIcon as FilledExclamationTriangleIcon,
FilmIcon as FilledFilmIcon, FilmIcon as FilledFilmIcon,
MusicalNoteIcon as FilledMusicalNoteIcon,
SparklesIcon as FilledSparklesIcon, SparklesIcon as FilledSparklesIcon,
TvIcon as FilledTvIcon, TvIcon as FilledTvIcon,
UsersIcon as FilledUsersIcon, UsersIcon as FilledUsersIcon,
@ -77,6 +79,13 @@ const MobileMenu = () => {
svgIconSelected: <FilledTvIcon className="h-6 w-6" />, svgIconSelected: <FilledTvIcon className="h-6 w-6" />,
activeRegExp: /^\/discover\/tv$/, activeRegExp: /^\/discover\/tv$/,
}, },
{
href: '/discover/music',
content: intl.formatMessage(menuMessages.browsemusic),
svgIcon: <MusicalNoteIcon className="h-6 w-6" />,
svgIconSelected: <FilledMusicalNoteIcon className="h-6 w-6" />,
activeRegExp: /^\/discover\/music$/,
},
{ {
href: '/requests', href: '/requests',
content: intl.formatMessage(menuMessages.requests), content: intl.formatMessage(menuMessages.requests),

@ -7,9 +7,9 @@ import {
CogIcon, CogIcon,
ExclamationTriangleIcon, ExclamationTriangleIcon,
FilmIcon, FilmIcon,
MusicalNoteIcon,
SparklesIcon, SparklesIcon,
TvIcon, TvIcon,
MusicalNoteIcon,
UsersIcon, UsersIcon,
XMarkIcon, XMarkIcon,
} from '@heroicons/react/24/outline'; } from '@heroicons/react/24/outline';
@ -22,6 +22,7 @@ export const menuMessages = defineMessages({
dashboard: 'Discover', dashboard: 'Discover',
browsemovies: 'Movies', browsemovies: 'Movies',
browsetv: 'Series', browsetv: 'Series',
browsemusic: 'Music',
requests: 'Requests', requests: 'Requests',
issues: 'Issues', issues: 'Issues',
users: 'Users', users: 'Users',

Loading…
Cancel
Save