Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat!(website): change link to the data upload docs #3166

Merged
merged 1 commit into from
Nov 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions website/src/components/Submission/DataUploadForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { type DateTime } from 'luxon';
import { type ElementType, type FormEvent, useCallback, useEffect, useRef, useState } from 'react';

import { DateChangeModal } from './DateChangeModal';
import { dataUploadDocsUrl } from './dataUploadDocsUrl.ts';
import { getClientLogger } from '../../clientLogger.ts';
import DataUseTermsSelector from '../../components/DataUseTerms/DataUseTermsSelector';
import useClientFlag from '../../hooks/isClient.ts';
Expand Down Expand Up @@ -395,8 +396,8 @@ const InnerDataUploadForm = ({

<p className='text-gray-400 text-xs mt-3'>
Files can optionally be compressed, with the appropriate extension (<i>.zst</i>, <i>.gz</i>,{' '}
<i>.zip</i>, <i>.xz</i>). For more information please refer to our{' '}
<a href='/docs/how-to/upload_sequences' className='text-primary-700 opacity-90'>
<i>.zip</i>, <i>.xz</i>). For more information please refer to the{' '}
<a href={dataUploadDocsUrl} className='text-primary-700 opacity-90'>
help pages
</a>
.
Expand Down
2 changes: 2 additions & 0 deletions website/src/components/Submission/dataUploadDocsUrl.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
// This variable is in a separate file as it is overwritten by Pathoplexus.
export const dataUploadDocsUrl = 'https://loculus.org/for-users/submit-sequences/';
Loading