@@ -2,8 +2,8 @@ import {ArrowLeftOnRectangleIcon, ArrowRightOnRectangleIcon} from '@heroicons/re
22import clsx from 'clsx'
33import { ANDROID_APP_URL } from 'common/constants'
44import { buildArray } from 'common/util/array'
5- import Image from 'next/image'
65import Router , { useRouter } from 'next/router'
6+ import { FaGooglePlay } from 'react-icons/fa'
77import { Button , ColorType , SizeType } from 'web/components/buttons/button'
88import { LanguagePicker } from 'web/components/language/language-picker'
99import { useProfile } from 'web/hooks/use-profile'
@@ -49,7 +49,7 @@ export default function Sidebar(props: {
4949 ) }
5050 style = { style }
5151 >
52- < SiteLogo className = { 'text-white ' } />
52+ < SiteLogo className = { 'text-black invert ' } />
5353
5454 { user === undefined && < div className = "h-[24px]" /> }
5555
@@ -78,16 +78,23 @@ export default function Sidebar(props: {
7878 < div className = "mb-[12px] mt-auto flex flex-col gap-1" >
7979 < div className = "h-px bg-canvas-900" />
8080 { ! isAndroid && (
81- < Image
82- src = "https://firebasestorage.googleapis.com/v0/b/compass-130ba.firebasestorage.app/o/misc%2FGoogle_Play_Store_badge_EN.svg.png?alt=media& token = 3e0 e8605 - 800 a-422b-84d1-8ecec8af3e80 "
83- alt = "divider"
84- width = { 160 }
85- height = { 80 }
86- className = "mx-auto pt-4 hover:opacity-70 cursor-pointer"
87- onClick = { ( ) => router . push ( ANDROID_APP_URL ) }
81+ < SidebarItem
82+ item = { {
83+ key : 'nav.android_app' ,
84+ name : 'Get it on Google Play' ,
85+ icon : FaGooglePlay ,
86+ href : ANDROID_APP_URL ,
87+ } }
88+ currentPage = { currentPage }
89+ />
90+ ) }
91+ { user === null && (
92+ < LanguagePicker
93+ className = {
94+ 'w-fit mx-3 mt-2 pr-12 mb-2 bg-transparent border-canvas-900 sidebar-text hover:text-primary-600'
95+ }
8896 />
8997 ) }
90- { user === null && < LanguagePicker className = { 'w-fit mx-3 pr-12 mb-2' } /> }
9198 { bottomNavOptions . map ( ( item ) => (
9299 < SidebarItem key = { item . key } item = { item } currentPage = { currentPage } />
93100 ) ) }
0 commit comments