Skip to content

Commit 7bab737

Browse files
committed
Add link to documentation
1 parent 5c03ae6 commit 7bab737

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

src/pages/index.astro

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,12 @@ import RankingContainer from "../components/RankingContainer.astro";
2323
<nav class="flex justify-center space-x-6">
2424
<a href="/" class="text-gray-800 font-bold">Rankings</a>
2525
<a href="/parameters" class="text-blue-600 hover:text-blue-800 font-medium">Parameters</a>
26+
<a href="https://nf-co.re/tfactivity/" target="_blank" rel="noopener noreferrer" class="text-blue-600 hover:text-blue-800 font-medium inline-flex items-center">
27+
Documentation
28+
<svg class="w-4 h-4 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
29+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"></path>
30+
</svg>
31+
</a>
2632
</nav>
2733
</div>
2834

src/pages/parameters.astro

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ const typedParams = params as Record<string, Record<string, string | number>>;
2626
<nav class="flex justify-center space-x-6">
2727
<a href="/" class="text-blue-600 hover:text-blue-800 font-medium">Rankings</a>
2828
<a href="/parameters" class="text-gray-800 font-bold">Parameters</a>
29+
<a href="https://nf-co.re/tfactivity/" target="_blank" rel="noopener noreferrer" class="text-blue-600 hover:text-blue-800 font-medium inline-flex items-center">
30+
Documentation
31+
<svg class="w-4 h-4 ml-1" fill="none" stroke="currentColor" viewBox="0 0 24 24">
32+
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"></path>
33+
</svg>
34+
</a>
2935
</nav>
3036
</div>
3137

@@ -35,6 +41,9 @@ const typedParams = params as Record<string, Record<string, string | number>>;
3541
<p class="text-gray-600 text-center mb-8">
3642
Configuration parameters used for this nf-core/tfactivity pipeline run
3743
</p>
44+
<p class="text-gray-600 text-center mb-8">
45+
If you want to learn more about the parameters available in this pipeline, please refer to the <a href="https://nf-co.re/tfactivity/dev/parameters" target="_blank" rel="noopener noreferrer" class="text-blue-600 hover:text-blue-800 underline">pipeline documentation</a>.
46+
</p>
3847

3948
<div class="space-y-8">
4049
{Object.entries(typedParams).map(([sectionName, sectionParams]) => (

0 commit comments

Comments
 (0)