File indexing completed on 2025-01-26 05:27:59

0001 import React from 'react';
0002 function PersonalLinksContainer(props)
0003 {
0004   return (
0005     <ul id="personal-links-container">
0006       <li id="storage-link-item">
0007         <a href={props.myopendesktopUrl+'/apps/files'}  >
0008           <div className="icon"></div>
0009           <span>Files</span>
0010         </a>
0011       </li>
0012       <li id="calendar-link-item">
0013         <a href={props.myopendesktopUrl+"/apps/calendar/"} >
0014           <div className="icon"></div>
0015           <span>Calendar</span>
0016         </a>
0017       </li>
0018       <li id="contacts-link-item">
0019         <a href={props.myopendesktopUrl+"/apps/contacts/"} >
0020           <div className="icon"></div>
0021           <span>Contacts</span>
0022         </a>
0023       </li>
0024 
0025       <li id="messages-link-item">
0026         <a href={props.forumUrl+"/u/"+props.user.username+"/messages"} >
0027           <div className="icon"></div>
0028           <span>DM</span>
0029         </a>
0030       </li>
0031 
0032       <li id="music-link-item">
0033         <a href={props.musicopendesktopUrl}>
0034           <div className="icon"></div>
0035           <span>Music</span>
0036         </a>
0037       </li>
0038 
0039       { props.user.isAdmin &&
0040         <React.Fragment>
0041         <li id="mail-link-item" style={{fontStyle:'italic'}}>
0042           <a href={props.myopendesktopUrl+"/apps/rainloop/"} >
0043             <div className="icon"></div>
0044             <span>Mail</span>
0045           </a>
0046         </li>      
0047          
0048         </React.Fragment>
0049       }
0050         <li id="maps-link-item">
0051           <a href={props.myopendesktopUrl+"/apps/maps/"} >
0052             <div className="icon"></div>
0053             <span>Maps</span>
0054           </a>
0055         </li>  
0056         <li id="mastodon-link-item">
0057         <a href={props.mastodonUrl} >
0058           <div className="icon"></div>
0059           <span>Social</span>
0060         </a>
0061       </li>
0062       <li id="chat-link-item">
0063         <a href={props.riotUrl} >
0064           <div className="icon"></div>
0065           <span>Chat</span>
0066         </a>
0067       </li>
0068       <li id="pling-link-item">
0069         <a href={props.baseUrlStore} >
0070           <div className="icon"></div>
0071           <span>Products</span>
0072         </a>
0073       </li>
0074       <li id="opencode-link-item">
0075         <a href={props.gitlabUrl + "/explore/projects"} >
0076           <div className="icon"></div>
0077           <span>Projects</span>
0078         </a>
0079       </li>
0080     </ul>
0081   );
0082 }
0083 
0084 export default PersonalLinksContainer;