-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Dockerfile/K8s implementation, prod/dev run (#24) * Modal to recruit user (airtable) (#30) * Modal to recruit user (airtable) * airtable: prevent giving a description if 'other' field is not selected * mobile fixes * updates in user recruitment modal * Updated env variable structure * cloudbuild configuration - automatic deployment Co-authored-by: Jorge S. Mendes de Jesus <jorge.mendesdejesus@isric.org> * Feat/modal check (#35) * Modal to recruit user (airtable) * airtable: prevent giving a description if 'other' field is not selected * updates in user recruitment modal * user modal local storage function * airtable modal removed (#39) * | missing * Update docker to bullseye #45 * Modal Join us (#44) * Add 'Join us' modal * Add action button 'Join us' to top and bottom of Homepage * Add link 'Join us' in footer menu Co-authored-by: Jorge Samuel Mendes de Jesus <jorge.mendesdejesus@isric.org> Co-authored-by: María Luena Rodríguez <maluenarod@gmail.com> Co-authored-by: Sidney Gijzen <sidneygijzen@users.noreply.github.com>
- Loading branch information
1 parent
706a603
commit 6957984
Showing
9 changed files
with
178 additions
and
6 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
import React from 'react'; | ||
import PropTypes from 'prop-types'; | ||
import Image from 'next/image'; | ||
|
||
import Modal from 'components/modal'; | ||
|
||
import './style.scss'; | ||
|
||
const JoinUsModal = ({ open, onClose }) => ( | ||
<Modal open={open} onClose={onClose} title="Join us" className="c-join-us-modal"> | ||
<h1 className="mb-4">Join us</h1> | ||
|
||
<p> | ||
Would you like to help us improve Soils Revealed? We need your assistance to expand | ||
space-time, predictive modelling analyses of SOC stock changes, the{' '} | ||
<a href="https://doi.org/10.1111/ejss.12998" target="_blank" rel="noopener noreferrer"> | ||
approach piloted for Argentina | ||
</a> | ||
, to the whole globe. | ||
</p> | ||
|
||
<p> | ||
Please share your field-measured soil data with the Soils Revealed team. Shared data will be | ||
safeguarded in the ISRIC World Data Centre (WDC)-Soils repository and standardised according | ||
to the{' '} | ||
<a | ||
href="https://essd.copernicus.org/articles/12/299/2020/" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
WoSIS | ||
</a>{' '} | ||
workflow in accord with the license defined by each{' '} | ||
<a | ||
href="https://www.isric.org/explore/wosis/wosis-contributing-institutions-and-experts" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
data provider | ||
</a> | ||
. | ||
</p> | ||
|
||
<p> | ||
Prospective data contributors may email{' '} | ||
<a href="mailto:info@soilsrevealed.org" target="_blank" rel="noopener noreferrer"> | ||
info@soilsrevealed.org | ||
</a>{' '} | ||
for details on desired formats and{' '} | ||
<a | ||
href="/files/data-sharing-agreement-soils-revealed-isric.pdf" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
licensing | ||
</a> | ||
. Upon registration, new data contributors will be acknowledged below with their logo. Thanks | ||
for sharing your data! | ||
</p> | ||
|
||
<p>Present data contributors (through WoSIS):</p> | ||
<div className="container mt-3"> | ||
<div className="row align-items-center text-center"> | ||
<div className="col-6 col-md-3 pl-md-0"> | ||
<a | ||
href="https://www.isric.org/explore/wosis/wosis-contributing-institutions-and-experts" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<Image | ||
src="/images/join-us-wosis-present-data-contributors.jpg" | ||
alt="Location of soil profiles provided with the \'WoSIS September 2019 snapshot\'" | ||
width={200} | ||
height={100} | ||
/> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<p className="mt-4">New data contributions from:</p> | ||
<div className="container mt-3"> | ||
<div className="row align-items-center text-center"> | ||
<div className="col-6 col-md-3 pl-md-0 text-left"> | ||
<a href="https://www.argentina.gob.ar/inta" target="_blank" rel="noopener noreferrer"> | ||
<Image | ||
src="/images/inta-logo.jpg" | ||
alt="Instituto Nacional de Tecnología Agropecuaria" | ||
width={75} | ||
height={75} | ||
/> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</Modal> | ||
); | ||
|
||
JoinUsModal.propTypes = { | ||
open: PropTypes.bool.isRequired, | ||
onClose: PropTypes.func.isRequired, | ||
}; | ||
|
||
export default JoinUsModal; |
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,3 @@ | ||
import Component from './component'; | ||
|
||
export default Component; |
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,19 @@ | ||
@import 'css/settings'; | ||
|
||
.c-join-us-modal { | ||
max-width: rem(850); | ||
|
||
@include media-breakpoint-up(lg, $grid-breakpoints) { | ||
padding: rem(50) rem(100); | ||
} | ||
|
||
h1 { | ||
@include font-size($font-size-xxl); | ||
text-align: center; | ||
} | ||
|
||
img { | ||
display: inline-block; | ||
max-width: 100%; | ||
} | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.