Skip to content

Commit

Permalink
open web fellowship
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmavis committed Jan 26, 2018
1 parent 99082e1 commit f55b029
Show file tree
Hide file tree
Showing 2 changed files with 60 additions and 4 deletions.
44 changes: 41 additions & 3 deletions network-api/networkapi/fellows/templates/fellows_openweb.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
{% extends "foundation-base.html" %}
{% extends "fellows_type.html" %}

{% block body %}
open web fellows
{% block breadcrumb_fellowship_type %}
Open Web
{% endblock %}

{% block fellowship_type %}
Open Web
{% endblock %}

{% block fellowship_description %}
{% lorem 2 p %}
{% endblock %}

{% block fellowship_illustration %}
img
{% endblock %}

{% block benefit_illustration %}
img
{% endblock %}

{% block benefit_description %}
{% lorem 3 p %}
{% endblock %}

{% block benefit_list %}
<li>Corrupti quis facilis exercitationem iste. Eius debitis animi quam repellendus quo natus earum quis atque sint, dicta beatae a quaerat quibusdam est eligendi possimus in.</li>
<li>Oodit hic dolores atque ullam, laboriosam necessitatibus facere perferendis magnam fuga aliquam, officia placeat sequi eligendi, fugiat dolorem quos cumque ut reiciendis.</li>
<li>Anihil molestias velit praesentium mollitia perspiciatis officiis. Ratione ipsam quod enim dolores modi unde blanditiis aperiam, dolore non mollitia voluptatibus modi eaque beatae iste.</li>
<li>Corrupti quis facilis exercitationem iste. Eius debitis animi quam repellendus quo natus earum quis atque sint, dicta beatae a quaerat quibusdam est odit hic dolores atque ullam, laboriosam necessitatibus facere perferendis magnam fuga aliquam, officia placeat sequi eligendi, fugiat dolorem quos cumque ut reiciendis eligendi possimus in.</li>
{% endblock %}

{% block eligibility_list %}
<li>Corrupti quis facilis exercitationem iste. Eius debitis animi quam repellendus quo natus earum quis atque sint, dicta beatae a quaerat quibusdam est eligendi possimus in.</li>
<li>Oodit hic dolores atque ullam, laboriosam necessitatibus facere perferendis magnam fuga aliquam, officia placeat sequi eligendi, fugiat dolorem quos cumque ut reiciendis.</li>
<li>Anihil molestias velit praesentium mollitia perspiciatis officiis. Ratione ipsam quod enim dolores modi unde blanditiis aperiam, dolore non mollitia voluptatibus modi eaque beatae iste.</li>
<li>Corrupti quis facilis exercitationem iste. Eius debitis animi quam repellendus quo natus earum quis atque sint, dicta beatae a quaerat quibusdam est odit hic dolores atque ullam, laboriosam necessitatibus facere perferendis magnam fuga aliquam, officia placeat sequi eligendi, fugiat dolorem quos cumque ut reiciendis eligendi possimus in.</li>
{% endblock %}

{% block featured_fellow %}
<div id="featured-open-web-fellow" class="featured-fellow"></div>
{% endblock %}
20 changes: 19 additions & 1 deletion source/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,29 @@ let main = {
image: `https://images.pexels.com/photos/264206/pexels-photo-264206.jpeg?w=500`,
quote: `Quote quote quote quote quote quote quote quote quote quote quote quote.`,
affiliations: [ `Stanford University Professor; YouthLAB founder`],
fellow_directory_link: { type: `science`, link: `/fellowships/directory` }
'fellow_directory_link': { type: `science`, link: `/fellowships/directory` }
};

ReactDOM.render(<Person metadata={metadata} />, document.getElementById(`featured-science-fellow`));
}

// Open Web Fellowship
if (document.getElementById(`featured-open-web-fellow`)) {
let metadata = {
featured: true,
'internet_health_issues': [ `Decentralization`, `Open Innovation` ],
links: [],
name: `Firstname Surname`,
role: `[Area Fellowship] Fellow, [Year]`,
location: `City, Country`,
image: `https://images.pexels.com/photos/264206/pexels-photo-264206.jpeg?w=500`,
quote: `Quote quote quote quote quote quote quote quote quote quote quote quote.`,
affiliations: [ `Stanford University Professor; YouthLAB founder`],
'fellow_directory_link': { type: `science`, link: `/fellowships/directory` }
};

ReactDOM.render(<Person metadata={metadata} />, document.getElementById(`featured-open-web-fellow`));
}
}
};

Expand Down

0 comments on commit f55b029

Please sign in to comment.