Skip to content

Commit

Permalink
add help/wiki link to navbar (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenClontz authored Oct 4, 2024
1 parent 3eefb29 commit dbd359b
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://0fa430dd1dc347e2a82c413d8e3acb75@o397472.ingest.sentry.io/5251960'

0 comments on commit dbd359b

Please sign in to comment.