File indexing completed on 2025-01-26 05:27:58
0001 import React , {useContext} from 'react' 0002 import {MetaheaderContext} from '../../contexts/MetaheaderContext'; 0003 0004 function AboutMenuItems() 0005 { 0006 const {state} = useContext(MetaheaderContext); 0007 return ( 0008 <React.Fragment> 0009 <li><a href={state.blogUrl} target="_blank">Blog</a></li> 0010 { state.isAdmin && 0011 <li><a className="popuppanel" href={state.baseUrl+"/plings"}>Plings (admin only)</a></li> 0012 } 0013 <li><a href={state.baseUrlStore +"/faq-pling"}>FAQ Pling</a></li> 0014 <li><a href={state.baseUrl +"/faq-opencode"}>FAQ Opencode</a></li> 0015 <li><a href={state.baseUrl +"/ocs-api"}>API</a></li> 0016 <li><a href={state.baseUrl +"/about"}>About</a></li> 0017 </React.Fragment> 0018 ); 0019 } 0020 0021 export default AboutMenuItems;