Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: twitter badge and github star badge (#52) #54

Merged
merged 1 commit into from
Aug 24, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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;