Skip to content

Commit

Permalink
add help/wiki link to navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenClontz authored Sep 25, 2024
1 parent 3eefb29 commit cf6f41d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/viewer/src/components/Nav.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
import context from '@/context'
import { contributingUrl, mainBranch } from '@/constants'
import { contributingUrl, mainBranch, helpUrl } from '@/constants'
import Branch from './Shared/Icons/Branch.svelte'
const { showDev, source } = context()
Expand Down Expand Up @@ -29,6 +29,7 @@
{/if}
</a>
<a class="nav-link" href={contributingUrl}>Contribute</a>
<a class="nav-link" href={helpUrl}>Help</a>
</div>
</div>
</nav>
1 change: 1 addition & 0 deletions packages/viewer/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@ export const build = {
export const bundleSse = VITE_BUNDLE_SSE === 'true'

export const contributingUrl = `https://github.com/pi-base/data/wiki/Contributing`
export const helpUrl = `https://github.com/pi-base/data/wiki/`
export const sentryIngest =
'https://[email protected]/5251960'

0 comments on commit cf6f41d

Please sign in to comment.