Skip to content

Commit

Permalink
Move github btn to the left
Browse files Browse the repository at this point in the history
  • Loading branch information
255kb committed Oct 2, 2024
1 parent dc62f65 commit a382e80
Show file tree
Hide file tree
Showing 3 changed files with 29,658 additions and 12,983 deletions.
19 changes: 11 additions & 8 deletions components/github.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ import GitHubButton from 'react-github-btn';

const GitHub: FunctionComponent = function () {
return (
<GitHubButton
href='https://github.com/mockoon/mockoon'
data-size='large'
data-show-count='true'
aria-label='Star Mockoon on GitHub'
>
Star
</GitHubButton>
<div className='mt-2'>
<GitHubButton
href='https://github.com/mockoon/mockoon'
data-color-scheme='no-preference: light; light: light; dark: light;'
data-size='large'
data-show-count='true'
aria-label='Star mockoon/mockoon on GitHub'
>
Star
</GitHubButton>
</div>
);
};

Expand Down
8 changes: 4 additions & 4 deletions components/nav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,10 @@ const Nav: FunctionComponent = function () {
</li>
)}

<li className='nav-item'>
<GitHub />
</li>

<li className='nav-item'>
<DocSearch
appId='HV1IDAB8IU'
Expand Down Expand Up @@ -381,10 +385,6 @@ const Nav: FunctionComponent = function () {
</Link>
</li>

<li className='nav-item'>
<GitHub />
</li>

<li
className='nav-item dropdown text-center'
onMouseEnter={() => {
Expand Down
Loading

0 comments on commit a382e80

Please sign in to comment.