File indexing completed on 2025-01-26 05:27:58
0001 import React,{useContext} from 'react'; 0002 import AboutMenuItems from './function/AboutMenuItems'; 0003 import CommunityMenuItems from './function/CommunityMenuItems'; 0004 import {MetaheaderContext} from '../contexts/MetaheaderContext'; 0005 const MobileLeftSidePanel = () => { 0006 const {state} = useContext(MetaheaderContext); 0007 0008 return ( 0009 <div id="left-side-panel"> 0010 <div id="panel-header"> 0011 <a href={state.baseUrl}> 0012 <img src={state.baseUrl + "/images/system/opendesktop-logo.png"} className="logo"/> 0013 openDesktop.org 0014 </a> 0015 </div> 0016 <div id="panel-menu"> 0017 <ul> 0018 <li><a href={state.baseUrlStore}>Pling</a></li> 0019 <li><a href={state.gitlabUrl}>Opencode</a></li> 0020 <li> 0021 <a className="groupname"><b>Community</b></a> 0022 <ul> 0023 <CommunityMenuItems /> 0024 </ul> 0025 </li> 0026 0027 <li> 0028 <a className="groupname"><b>About</b></a> 0029 <ul> 0030 <AboutMenuItems /> 0031 </ul> 0032 </li> 0033 0034 <li><a href={state.riotUrl}>Chat</a></li> 0035 </ul> 0036 </div> 0037 </div> 0038 ) 0039 } 0040 0041 export default MobileLeftSidePanel 0042