<commit_before>// @flow
import React from "react"
import LinkList from "../LinkList"
import { withStyles } from "@material-ui/core/styles"
import styles from "./homeStyles"

const downloadLinks = [
  { name: "Phenotype Ontology", to: "", routerAware: true },
  { name: "Strain Characteristics", to: "", routerAware: true },
  { name: "Mutagenesis Methods", to: "", routerAware: true },
  { name: "Plasmid Keywords", to: "", routerAware: true },
]

type Props = {
  /** Material-UI styling */
  classes: {
    panelGray: string,
  },
}

/**
 * Downloads displays download links on the homepage.
 */

const Downloads = (props: Props) => {
  const { classes } = props

  return (
    <div className={classes.panelGray}>
      <h3>Download / View</h3>
      <LinkList list={downloadLinks} />
    </div>
  )
}

export default withStyles(styles)(Downloads)
<commit_msg>feat: add real download links to homepage<commit_after>// @flow
import React from "react"
import LinkList from "../LinkList"
import { withStyles } from "@material-ui/core/styles"
import styles from "./homeStyles"

const downloadLinks = [
  {
    name: "Phenotype Ontology",
    to:
      "https://raw.githubusercontent.com/dictyBase/migration-data/master/ontologies/dicty_phenotypes.obo",
    routerAware: false,
  },
  {
    name: "Strain Characteristics",
    to:
      "https://raw.githubusercontent.com/dictyBase/migration-data/master/ontologies/dicty_strain_characteristics.obo",
    routerAware: false,
  },
  {
    name: "Mutagenesis Methods",
    to:
      "https://raw.githubusercontent.com/dictyBase/migration-data/master/ontologies/dicty_mutagenesis_method.obo",
    routerAware: false,
  },
  {
    name: "Plasmid Keywords",
    to:
      "https://raw.githubusercontent.com/dictyBase/migration-data/master/ontologies/dicty_plasmid_keywords.obo",
    routerAware: false,
  },
]

type Props = {
  /** Material-UI styling */
  classes: {
    panelGray: string,
  },
}

/**
 * Downloads displays download links on the homepage.
 */

const Downloads = (props: Props) => {
  const { classes } = props

  return (
    <div className={classes.panelGray}>
      <h3>Download / View</h3>
      <LinkList list={downloadLinks} />
    </div>
  )
}

export default withStyles(styles)(Downloads)

{'fraction_non_alphanumeric': 0.14406028368794327, 'fraction_numerical': 0.0017730496453900709, 'mean_word_length': 3.4693069306930693, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 15, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6518358', 'n_tokens_mistral': 757, 'n_tokens_neox': 747, 'n_words': 162}