Skip to content

Commit

Permalink
add GH button to page
Browse files Browse the repository at this point in the history
  • Loading branch information
raphamorim committed Jan 10, 2025
1 parent ee0b71b commit 342a2c2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ const config = {
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Rio Terminal.`,
copyright: `Copyright © 2022-${new Date().getFullYear()} Rio Terminal.`,
},
prism: {
theme: lightCodeTheme,
Expand All @@ -186,7 +186,7 @@ const config = {
announcementBar: {
id: 'support_us',
content:
'Support Rio via <a target="_blank" rel="noopener noreferrer" href="https://github.com/sponsors/raphamorim">github sponsors</a>',
'Support Rio terminal via <a target="_blank" rel="noopener noreferrer" href="https://github.com/sponsors/raphamorim">github sponsors</a>',
backgroundColor: '#f712ff',
textColor: '#FFFFFF',
isCloseable: true,
Expand Down
9 changes: 9 additions & 0 deletions docs/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ function HomepageHeader() {
<Translate>Install</Translate>
</Link>
</div>
<div className={styles.actionButtonSection}>
<iframe
className={styles.githubStarButton}
src="https://ghbtns.com/github-btn.html?user=raphamorim&amp;repo=rio&amp;type=star&amp;count=true&amp;size=large"
width={160}
height={30}
title="GitHub Stars"
/>
</div>
</div>
<div className={styles.logoContainer}>
<div className={styles.logoBackground} />
Expand Down

0 comments on commit 342a2c2

Please sign in to comment.