Skip to content

Commit

Permalink
Change navigation naming
Browse files Browse the repository at this point in the history
  • Loading branch information
WRadoslaw committed May 11, 2024
1 parent fdac5ef commit f8d8ff2
Showing 1 changed file with 10 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
import styled from '@emotion/styled'
import { FC, useState } from 'react'

import {
SvgActionAddChannel,
SvgActionMember,
SvgActionMoney,
SvgActionNewTab,
SvgSidebarHome,
SvgSidebarMarketplace,
SvgSidebarReferrals,
SvgSidebarYpp,
} from '@/assets/icons'
import { AppLogo } from '@/components/AppLogo'
import { Button } from '@/components/_buttons/Button'
Expand All @@ -16,11 +17,16 @@ import { absoluteRoutes } from '@/config/routes'
import { getCorrectLoginModal } from '@/providers/auth/auth.helpers'
import { useAuthStore } from '@/providers/auth/auth.store'
import { useUser } from '@/providers/user/user.hooks'
import { square } from '@/styles'

import { FollowedChannels } from './FollowedChannels'

import { SidenavBase } from '../SidenavBase'

const StyledSvgActionMoney = styled(SvgActionMoney)`
${square(24)}
`

export const viewerNavItems = [
{
icon: <SvgSidebarHome />,
Expand All @@ -38,9 +44,9 @@ export const viewerNavItems = [
...(atlasConfig.features.ypp.googleConsoleClientId
? [
{
icon: <SvgSidebarYpp />,
name: 'YPP',
expandedName: 'YouTube Partner Program',
icon: <StyledSvgActionMoney />,
name: 'Earn',
expandedName: 'Creator Rewards',
to: absoluteRoutes.viewer.ypp(),
bottomNav: true,
},
Expand Down

0 comments on commit f8d8ff2

Please sign in to comment.