Skip to content

Commit

Permalink
Add link to forums to navigation elements (#1167)
Browse files Browse the repository at this point in the history
  • Loading branch information
UvixCreative authored Aug 10, 2024
1 parent eb0bee4 commit dcd0f12
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/(default)/components/DesktopHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ export const DesktopHeader: React.FC = () => {

const navListDefault: NavMenuItemProps[] = [
{
to: process.env.NEXT_PUBLIC_DISCORD_INVITE,
label: 'Discord'
to: 'https://community.openbeta.io',
label: 'Forums'
},
{
to: '/about',
Expand Down
1 change: 1 addition & 0 deletions src/app/(default)/components/PageFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export const PageFooter: React.FC = () => {
</nav>
<nav>
<header className='footer-title'>Social</header>
<a className='link link-hover' href='https://community.openbeta.io/'>Forums</a>
<a className='link link-hover' href={process.env.NEXT_PUBLIC_DISCORD_INVITE}>Discord chat</a>
<a className='link link-hover' href='https://www.instagram.com/openbetaproject/'>Instagram</a>
<a className='link link-hover' href='https://www.linkedin.com/company/openbetahq/'>LinkedIn</a>
Expand Down
1 change: 1 addition & 0 deletions src/components/AuthenticatedProfileNavButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ export default function AuthenticatedProfileNavButton ({ isMobile = true }: Prof
<DropdownSeparator />

<DropdownItem text='About' onSelect={() => { void router.push('/about') }} />
<DropdownItem text='Forums' onSelect={() => { void router.push('https://community.openbeta.io/') }} />
<DropdownItem text='Documentation' onSelect={() => { void router.push('https://docs.openbeta.io') }} />
<DropdownItem text='Blog' onSelect={() => { void router.push('https://openbeta.io/blog') }} />

Expand Down
1 change: 1 addition & 0 deletions src/components/MobileAppBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export const More = (): JSX.Element => {
<a className='btn btn-ghost no-animation btn-block' href='/partner-with-us'>Become a Partner</a>
<hr />
<a className='btn btn-ghost no-animation btn-block' href='/about'>About</a>
<a className='btn btn-ghost no-animation btn-block' href='https://community.openbeta.io/'>Forums</a>
<a className='btn btn-ghost no-animation btn-block' href='https://docs.openbeta.io'>Documentation</a>
<a className='btn btn-ghost no-animation btn-block' href='https://openbeta.io/blog'>Blog</a>
<hr />
Expand Down

0 comments on commit dcd0f12

Please sign in to comment.