Skip to content

Commit

Permalink
feat: twitter badge and github star badge (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
fraybabak committed Aug 24, 2023
1 parent 1eb2e05 commit 99865be
Showing 1 changed file with 38 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,44 @@ import { MetaBar } from './items/MetaBar';
const firecampAgent: EFirecampAgent = _misc.firecampAgent();

const StatusBarContainer: FC<any> = ({ className = '' }) => {
return (
<StatusBar className={className} id={'firecamp-status-bar'}>
<SwitchWorkspacePanel />
<StatusBar.PrimaryRegion id={'firecamp-status-bar-primary-region'}>
<div
tabIndex={1}
className="bg-primaryColor text-primaryColor-text w-fit px-3 flex items-center"
id={'status-bar-firecamp-version'}
data-tip={`Firecamp`}
>
<VscRemote size={12} />
<span className="pl-1">Firecamp</span>
</div>
<DDMenuContainer />
</StatusBar.PrimaryRegion>
<StatusBar.SecondaryRegion id={'firecamp-status-bar-secondary-region'}>
{firecampAgent === EFirecampAgent.Web && (
<div className="pr-3">
<FcAgentSelector />
</div>
)}
<MetaBar />
</StatusBar.SecondaryRegion>
</StatusBar>
);
return (
<StatusBar className={className} id={'firecamp-status-bar'}>
<SwitchWorkspacePanel />
<StatusBar.PrimaryRegion id={'firecamp-status-bar-primary-region'}>
<div
tabIndex={1}
className="bg-primaryColor text-primaryColor-text w-fit px-3 flex items-center"
id={'status-bar-firecamp-version'}
data-tip={`Firecamp`}
>
<VscRemote size={12} />
<span className="pl-1">Firecamp</span>
</div>


<div className="github-badge w-fit px-3 flex items-center">
<a href="https://github.com/firecamp-dev/firecamp" target="_blank" rel="noopener noreferrer">
<img src="https://img.shields.io/github/stars/firecamp-dev/firecamp?style=social" alt="GitHub Stars" />
</a>
</div>
<div className="twitter-badge w-fit px-3 flex items-center">
<a href="https://twitter.com/firecampdev" target="_blank" rel="noopener noreferrer">
<img src="https://img.shields.io/twitter/follow/firecampdev?style=social" alt="Follow on Twitter" />
</a>
</div>

<DDMenuContainer />
</StatusBar.PrimaryRegion>
<StatusBar.SecondaryRegion id={'firecamp-status-bar-secondary-region'}>
{firecampAgent === EFirecampAgent.Web && (
<div className="pr-3">
<FcAgentSelector />
</div>
)}
<MetaBar />
</StatusBar.SecondaryRegion>
</StatusBar>
);
};

export default StatusBarContainer;

0 comments on commit 99865be

Please # to comment.