-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Merge pull request #2988 from neurobagel/master
[ENH] Add link to external participant level search to filters block
- v4.30.2
- v4.30.1
- v4.30.0
- v4.30.0-alpha.0
- v4.29.9
- v4.29.8
- v4.29.7
- v4.29.6
- v4.29.5
- v4.29.5-alpha.0
- v4.29.4
- v4.29.3
- v4.29.2
- v4.29.1
- v4.29.0
- v4.29.0-alpha.3
- v4.29.0-alpha.2
- v4.29.0-alpha.1
- v4.29.0-alpha.0
- v4.28.3
- v4.28.2
- v4.28.1
- v4.28.0
- v4.28.0-alpha.1
- v4.28.0-alpha.0
- v4.27.0
- v4.27.0-alpha.4
- v4.27.0-alpha.3
- v4.27.0-alpha.2
- v4.27.0-alpha.1
- v4.27.0-alpha.0
- v4.26.1
- v4.26.0
- v4.25.1-orcid-demo.2
- v4.25.1-orcid-demo.1
- v4.25.1-orcid-demo.0
- v4.25.1-demo.0
- v4.25.0
- v4.25.0-alpha.0
- v4.24.2
- v4.24.1
- v4.24.0
- v4.24.0-alpha.2
- v4.24.0-alpha.1
- v4.24.0-alpha.0
- v4.23.0
- v4.22.0
- v4.22.0-alpha.0
Showing
5 changed files
with
141 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
packages/openneuro-components/src/search-page/NeurobagelSearch.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import React from "react" | ||
|
||
import NeurobagelLogo from "./neurobagel_logo.svg" | ||
import { AccordionTab } from "../accordion/AccordionTab" | ||
import { AccordionWrap } from "../accordion/AccordionWrap" | ||
import styled from "@emotion/styled" | ||
|
||
const NeurobagelSearchDiv = styled.div` | ||
padding-bottom: 15px; | ||
border-bottom: 1px solid #dfdfdf; // $newspaper in _variables.scss | ||
margin-bottom: 10px; | ||
img.inline-icon { | ||
height: 1.1em; | ||
vertical-align: middle; | ||
} | ||
.on-accordion-wrapper .keyword-accordion { | ||
.accordion-title { | ||
position: absolute; | ||
top: -20px; | ||
@media (max-width: 421px) { | ||
left: 93px; | ||
} | ||
@media (max-width: 330px) { | ||
left: 130px; | ||
} | ||
left: 375px; | ||
} | ||
} | ||
` | ||
|
||
export const NeurobagelSearch = () => { | ||
return ( | ||
<NeurobagelSearchDiv> | ||
<img src={NeurobagelLogo} className="inline-icon"/>{" "} | ||
<a href="https://query.neurobagel.org/?node=OpenNeuro" target="_blank"> | ||
Search at the participant-level with Neurobagel | ||
</a> | ||
<AccordionWrap> | ||
<AccordionTab | ||
accordionStyle="plain" | ||
label="?" | ||
className="keyword-accordion" | ||
> | ||
<span> | ||
Search at the participant level is provided by{" "} | ||
<a href="https://neurobagel.org" target="_blank"> | ||
Neurobagel | ||
</a> | ||
{", "}a third party project. | ||
|
||
Neurobagel is a collection of tools for harmonizing phenotypic | ||
and imaging data descriptions, searching for participants across datasets, | ||
and constructing cohorts from multiple source datasets. | ||
</span> | ||
</AccordionTab> | ||
</AccordionWrap> | ||
</NeurobagelSearchDiv> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
75 changes: 75 additions & 0 deletions
75
packages/openneuro-components/src/search-page/neurobagel_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.