Merge pull request #134 from getmaxun/discord-icon-margin

enhancement: discord icon placement
This commit is contained in:
Karishma Shukla
2024-11-06 17:43:47 +05:30
committed by GitHub

View File

@@ -65,21 +65,21 @@ export const NavBar: React.FC<NavBarProps> = ({ recordingName, isRecording }) =>
{!isRecording ? ( {!isRecording ? (
<> <>
<IconButton <IconButton
component="a" component="a"
href="https://discord.gg/NFhWDCdb" href="https://discord.gg/NFhWDCdb"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
sx={{ sx={{
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',
borderRadius: '5px', borderRadius: '5px',
padding: '8px', padding: '8px',
marginRight: '10px', marginRight: '30px',
}} }}
> >
<DiscordIcon sx={{ marginRight: '5px' }} /> <DiscordIcon sx={{ marginRight: '5px' }} />
</IconButton> </IconButton>
<iframe src="https://ghbtns.com/github-btn.html?user=getmaxun&repo=maxun&type=star&count=true&size=large" frameBorder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe> <iframe src="https://ghbtns.com/github-btn.html?user=getmaxun&repo=maxun&type=star&count=true&size=large" frameBorder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
<IconButton onClick={handleMenuOpen} sx={{ <IconButton onClick={handleMenuOpen} sx={{
display: 'flex', display: 'flex',
alignItems: 'center', alignItems: 'center',