Skip to content

Commit

Permalink
YouTube link on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
gogwilt committed Dec 18, 2023
1 parent b24c69e commit 74add92
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,11 @@ const config = {
items: [
{
label: 'GitHub',
href: 'https://github.com/ironclad/rivet', // Replace with your project's GitHub URL
href: 'https://github.com/ironclad/rivet',
},
{
label: 'YouTube',
href: 'https://www.youtube.com/@rivet_ts',
},
],
},
Expand Down
7 changes: 7 additions & 0 deletions packages/docs/src/components/main/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import { useDownloadUrl } from '../../hooks/useDownloadUrl';

import GithubLogo from './logos/github-mark-white.svg';
import DiscordLogo from './logos/discord-mark-white.svg';
import YouTubeLogo from './logos/youtube-mark-white.svg';

export const Header: React.FC = () => {
const [isMenuOpen, setIsMenuOpen] = useState(false);
Expand Down Expand Up @@ -38,6 +39,12 @@ export const Header: React.FC = () => {
<span className={styles.menuText}>GitHub</span>
</a>
</li>
<li className={styles.github}>
<a className={styles.navLink} href="https://www.youtube.com/@rivet_ts" target="_blank">
<YouTubeLogo viewBox="0 -20 240 220" />
<span className={styles.menuText}>YouTube</span>
</a>
</li>
<li className={styles.documentation}>
<a className={styles.navLink} href="/docs">
Documentation
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 74add92

Please sign in to comment.