Skip to content

Commit

Permalink
Add note directing user to GitHub for source code and guides (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
egrace479 authored Jul 17, 2024
1 parent 86b4b8f commit e0c58fb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
16 changes: 16 additions & 0 deletions andromeda-ui/components/SourceNote.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import Anchor from "../components/Anchor";

export default function SourceNote() {
return <p className="text-sm mt-4 max-w-prose" >
<b>Note: </b>
All source code is available on the&nbsp;
<Anchor href="https://github.com/Imageomics/Andromeda" target="_blank">Andromeda GitHub repository</Anchor>.
<br></br>
User and developer guides are available on the&nbsp;
<Anchor href="https://github.com/Imageomics/Andromeda/wiki" target="_blank">repository wiki</Anchor>,
&nbsp;and sample datasets can be found in the&nbsp;
<Anchor href="https://github.com/Imageomics/Andromeda/tree/main/datasets" target="_blank">
datasets directory
</Anchor>.
</p>
}
6 changes: 5 additions & 1 deletion andromeda-ui/components/UploadFile.tsx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down Expand Up @@ -48,5 +49,8 @@ export default function UploadFile(props: UploadFileProps) {
disabled={selectedFile === undefined}
color="blue"
/>
</>
<div>
<SourceNote />
</div>
</>;
}

0 comments on commit e0c58fb

Please sign in to comment.