Skip to content

Commit

Permalink
fix: links
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Shaw committed Nov 14, 2023
1 parent 48716a6 commit f66dd6d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/components/Authenticator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export function AuthenticationForm (): JSX.Element {
</div>
</AuthCore.Form>
<p className='text-xs text-white/80 italic max-w-xs text-center mt-6'>
By registering with web3.storage, you agree to the web3.storage <a className='underline' href='https://web3.storage/terms/'>Terms of Service</a>.
By registering with web3.storage, you agree to the web3.storage <a className='underline' href='https://web3.storage/docs/terms/'>Terms of Service</a>.
</p>
</div >
)
Expand Down
8 changes: 4 additions & 4 deletions src/components/SidebarLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ import { usePathname, useRouter } from 'next/navigation'
import { H2 } from './Text'

const navLinks = [
{ name: 'Terms', href: '/terms' },
{ name: 'Docs', href: '/docs' },
{ name: 'Support', href: 'https://github.com/web3-storage/w3ui/issues' },
{ name: 'Terms', href: 'https://web3.storage/docs/terms' },
{ name: 'Docs', href: 'https://web3.storage/docs' },
{ name: 'Support', href: 'mailto:support@web3.storage' },
]

interface SidebarComponentProps {
Expand Down Expand Up @@ -44,7 +44,7 @@ function Sidebar ({ sidebar = <div></div> }: SidebarComponentProps): JSX.Element
<div className='flex flex-col items-center'>
<div className='flex flex-row space-x-2'>
{navLinks.map((link, i) => (
<a key={i} className='text-xs block text-center mt-2' href={link.href}>{link.name}</a>
<a key={i} className='text-xs block text-center mt-2 px-1' href={link.href}>{link.name}</a>
))}
</div>
</div>
Expand Down

0 comments on commit f66dd6d

Please sign in to comment.