From e0c58fbe12651387befaa35547f27d8fc1355536 Mon Sep 17 00:00:00 2001 From: Elizabeth Campolongo <38985481+egrace479@users.noreply.github.com> Date: Wed, 17 Jul 2024 12:10:19 -0400 Subject: [PATCH] Add note directing user to GitHub for source code and guides (#106) --- andromeda-ui/components/SourceNote.tsx | 16 ++++++++++++++++ andromeda-ui/components/UploadFile.tsx | 6 +++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 andromeda-ui/components/SourceNote.tsx diff --git a/andromeda-ui/components/SourceNote.tsx b/andromeda-ui/components/SourceNote.tsx new file mode 100644 index 0000000..805f6ad --- /dev/null +++ b/andromeda-ui/components/SourceNote.tsx @@ -0,0 +1,16 @@ +import Anchor from "../components/Anchor"; + +export default function SourceNote() { + return

+ Note: + All source code is available on the  + Andromeda GitHub repository. +

+ User and developer guides are available on the  + repository wiki, +  and sample datasets can be found in the  + + datasets directory + . +

+} diff --git a/andromeda-ui/components/UploadFile.tsx b/andromeda-ui/components/UploadFile.tsx index 3c689a6..04a21d8 100644 --- a/andromeda-ui/components/UploadFile.tsx +++ b/andromeda-ui/components/UploadFile.tsx @@ -1,6 +1,7 @@ import React, { useState } from 'react'; import { showError } from "../util/toast"; import ColoredButton from './ColoredButton'; +import SourceNote from './SourceNote'; interface UploadFileProps { uploadFile: any; @@ -48,5 +49,8 @@ export default function UploadFile(props: UploadFileProps) { disabled={selectedFile === undefined} color="blue" /> - +
+ +
+ ; }