diff --git a/assets/src/components/DetailCard.js b/assets/src/components/DetailCard.js index c7513d66..a62db350 100644 --- a/assets/src/components/DetailCard.js +++ b/assets/src/components/DetailCard.js @@ -1,360 +1,368 @@ import React, {useContext,useEffect} from "react" import {Context} from "../Context" import { makeStyles } from '@material-ui/core/styles'; import "./detailscard.css" import Typography from '@material-ui/core/Typography'; import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; import Card from '@material-ui/core/Card'; import CardActions from '@material-ui/core/CardActions'; import CardContent from '@material-ui/core/CardContent'; import Button from '@material-ui/core/Button'; import { HiLink } from "react-icons/hi"; import DoneIcon from '@material-ui/icons/Done'; import WarningIcon from '@material-ui/icons/Warning'; import "./termcard.css" import { BsUnlock } from "react-icons/bs"; import { GrDiamond } from "react-icons/gr"; import Chip from '@material-ui/core/Chip'; import ClearSharpIcon from '@material-ui/icons/ClearSharp'; const useStyles = makeStyles((theme) => ({ root: { '& > *': { margin: theme.spacing(1), display: 'grid', }, flexGrow: 1, }, formControl: { margin: theme.spacing(1), width: 200, }, selectEmpty: { marginTop: theme.spacing(1), }, chip: { margin: 0.5, }, heading: { fontSize: theme.typography.pxToRem(15), fontWeight: theme.typography.fontWeightRegular, }, })); function DetailsCard({details}) { const { getSelectedInstitId, setUrl, url } = useContext(Context) const classes = useStyles(); useEffect(() => { setUrl(window.location.href) },) if (details !== 'null') { // // setInstitName(details.name) return (
{details.end_year && Inactive! {details.starting_year &&

From {details.starting_year} to {details.end_year}

}
}

{details.name}

    {details.issn && details.issn.map(item => { return ( item.issn_type === "1" ?
  • Print ISSN: {item.issn}
  • : item.issn_type === "2" ?
  • Electronic ISSN: {item.issn}
  • : item.issn_type === "3" ?
  • Other ISSN: {item.issn}
  • :null ) })}
{details.publisher && details.publisher.map(item => { return
})}
{details.country && details.country.map(item => { return
{item.name}
; })} {!details.end_year &&
Since {details.starting_year}
}
{details.oa_status ?
{details.oa_status.status !== "UNKNOWN" ?
{ details.oa_status.status === "Gold" ?

Open Acces Status:

: details.oa_status.status === "Diamond" ? <> Open Acces Status: {/* {details.oa_status.status} */} :details.oa_status.status === "Full" ?

Open Acces Status:

:details.oa_status.status === "hybrid" ?

Open Acces Status:

:details.oa_status.status === "Green" ?

Open Acces Status:

:details.oa_status.status === "none" ?

Open Acces Status:

:null }
:null}
:null}
{details.language && details.language.map(item =>(

Language: {item.name}

)) } {details.doaj_seal &&
} {details.doaj_status &&
} {details.lockss &&
} {details.portico &&
} {details.nlch &&
} {details.qoam_av_score && +
- +
+
} {details.ror ?
- +
:null} {details.fundref ?
- +
:null} +
{details.website ? :null} {details.oa_options ? :null} + {details.ir_name ? +
+ +
+ :null}
) } else { return null } } export default DetailsCard \ No newline at end of file diff --git a/assets/src/pages/welcome.js b/assets/src/pages/welcome.js index 95d1bf93..5ba95829 100644 --- a/assets/src/pages/welcome.js +++ b/assets/src/pages/welcome.js @@ -1,55 +1,111 @@ import React from "react" import "./welcome.css" import Container from '@material-ui/core/Container' import Grid from '@material-ui/core/Grid' +import Paper from '@material-ui/core/Paper'; import Box from '@material-ui/core/Box' import Link from '@material-ui/core/Link' +import { makeStyles } from '@material-ui/core/styles'; + +const useStyles = makeStyles((theme) => ({ + root: { + flexGrow: 1, + }, + paper: { + padding: theme.spacing(2), + textAlign: 'left', + color: 'balck', + backgroundColor:" #F8F8F8", + // height: 400, + // width: 400, + }, + // grid: { + + + // } + })) + function Welcome () { +const classes = useStyles(); return ( -
- -{/* */} -
-
- {/* */} -
-
-
-
-
-

Welcome!

-

Let's try the beta version!

-
-
-
-
-
-
-
-

Free to use!

-

Any questions? please contact us!

- contact -
-
-
-
-
-
-
-

Need help!

-

Any questions? please call us?

- contact -
-
-
- - -
-
-
+ +
+ + + + + +

Welcome!

+

The OACCT (Open Access Compliance Check Tool) is an online resource, tailored to the Swiss academic community's needs, that gathers the most important information concerning Open-Access publishing.

+
+
+
+ + + + +

Mission

+

+ + Its principal goal is to guide Swiss researchers in deciding where and how to publish their works in compliance with funders’ and institutional Open Access policies

+ + +
+ +
+
+ + + + +

Where do our data come from?

+ + +

OACCT provides a list of journals with information aggregated from several sources on a regular basis: +

+
+

+

    +
  • Journal ISSNs (source: ISSN International centre)
  • +
  • Publication conditions (source: Sherpa/Romeo)
  • +
  • Swiss institutions from swissuniversities
  • +
  • Funders from… + To be completed
  • +
+

+
+ +
+
+
+
+ + +
) } export default Welcome \ No newline at end of file