Skip to content

Commit

Permalink
Merge pull request #4 from RENCI/remove-robokop
Browse files Browse the repository at this point in the history
Remove robokop
  • Loading branch information
suejinkim20 authored Jun 3, 2024
2 parents c9272a9 + fefd459 commit 370ff3e
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 8 deletions.
14 changes: 10 additions & 4 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ import { QueryIcon } from "@/components/icons/QueryIcon";

export default function Home() {
return (
<MainGrid numberOfRows={5}>
<MainGrid numberOfRows={6}>
<Navigation sections={[
"Overview",
"Tools",
"Resources",
"Funding",
"License",
"More Information",
Expand Down Expand Up @@ -56,20 +57,25 @@ export default function Home() {
</Card>
</CardContainer>
</Section>
<Section title="Funding" index={2}>
<Section title="Resources" index={2}>
<ul>
<li>Resource 1</li>
</ul>
</Section>
<Section title="Funding" index={3}>
<p>
ROBOKOP is a joint creation of the <a href="https://renci.org" target="_blank">Renaissance Computing Institute (RENCI)</a> at the <a href="https://www.unc.edu/" target="_blank">University of North Carolina at Chapel Hill</a> and <a href="https://covar.com/" target="_blank">CoVar LLC</a>. The prototype was developed with funding from the <a href="https://ncats.nih.gov/" target="_blank">National Center for Advancing Translational Sciences</a>, <a href="https://www.nih.gov/" target="_blank">National Institutes of Health</a> (award <a href="https://taggs.hhs.gov/Detail/AwardDetail?arg_AwardNum=OT2TR002514&arg_ProgOfficeCode=264" target="_blank">#OT2TR002514</a>). ROBOKOP&apos;s continued development is supported with joint funding from the <a href="https://reporter.nih.gov/search/ALIFnrPqJU6PEtxDUvY9EA/project-details/10697371?" target="_blank">National Institute of Environmental Health Sciences</a> and the <a href="https://datascience.nih.gov/about/odss" target="_blank">Office of Data Science Strategy</a> within the <a href="https://www.nih.gov/" target="_blank">National Institutes of Health</a> (award <a href="https://tools.niehs.nih.gov/portfolio/index.cfm?do=portfolio.grantDetail&grant_number=U24ES035214" target="_blank">#U24ES035214</a>).
</p>
</Section>
<Section title="License" index={3}>
<Section title="License" index={4}>
<p>
ROBOKOP is available under the <a href="https://opensource.org/license/mit/" target="_blank">MIT license</a>.
</p>
<div style={{height: '300px'}}>

</div>
</Section>
<Section title="More Information" index={6}>
<Section title="More Information" index={5}>
<ContactForm />
</Section>
</MainGrid>
Expand Down
6 changes: 3 additions & 3 deletions src/components/ContactForm/ContactForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ import { TextArea } from './TextArea';
import { useEffect, useState } from 'react';
import { Controller, useFormContext } from 'react-hook-form'

const GOOGLE_APPS_SCRIPT_LINK = "https://script.google.com/a/macros/renci.org/s/AKfycbyS1Z_a3zgB9rfyD_gqUCKCmDNMxk04uOzZalv3M5Fmo-OTxaukKQu5G0CZ5DzLVQF4/exec";
const GOOGLE_APPS_SCRIPT_LINK = "https://script.google.com/macros/s/AKfycbwvp6AdbR2sFC0QwFowH4V-91k_Kfr_eg9x-gBS2---rP_q-nKw7e8-pwqcKaxJDPss/exec";

export interface IForm {
Name: string;
Email: string;
Subject: string;
Options: string;
Message: string;
}

Expand Down Expand Up @@ -90,7 +90,7 @@ export const ContactForm = () => {
</div>

<Input
label='Subject'
label='Options'
required
type='select'
register={register}
Expand Down
6 changes: 5 additions & 1 deletion src/components/ContactForm/Input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ export const Input = ({
<div className={styles.inputGroup}>
<label htmlFor={toKebabCase(label)}>{label}</label>
{type === "select" ? (
<select>
<select
{...register(label, { validate, required })}
name={label}
id={toKebabCase(label)}
>
<option>I have a question</option>
<option>How can I get involved?</option>
<option>I&apos;d like to report a website issue</option>
Expand Down

0 comments on commit 370ff3e

Please sign in to comment.