Skip to content

Commit

Permalink
hide some incomplete content for now (#1113)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmmavis authored Feb 27, 2018
1 parent 7874044 commit c48e8fd
Show file tree
Hide file tree
Showing 10 changed files with 9 additions and 92 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<img class="mr-sm-4 hidden-sm-down" src="/_images/fellowships/svg/applications-open-fellows-optm.svg">
<div>
<h3 class="h3-cta-black">Applications are open</h3>
<p>Want to become a fellow? Applications are open through [dd/mm/yy].</p>
<p>Want to become a fellow?</p>
</div>
</div>
<a href="{% url 'fellowships-apply' %}" class="btn btn-normal">Apply here</a>
Expand Down
16 changes: 4 additions & 12 deletions network-api/networkapi/fellows/templates/fellows_apply.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,13 @@
<h1 class="h1-white text-capitalize">Be a fellow</h1>
<p>Being a fellow is an amazing experience, that opens the door for lots of amazing opportunities. Copy here about how awesome it is to be a fellow. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas maximus magna at velit volutpat, in posuere diam faucibus. Mauris lobortis lacus vel hendrerit maximus.</p>
<h3 class="h5-black mb-1">Science</h3>
<p class="mb-4">Our science-focused fellows are researchers who want to increase the openness of data sharing of science research communities. <a href="{% url 'fellowships-type' program_type_slug='science' %}">Learn more</a>.</p>
<p class="mb-4">Our science-focused fellows are researchers who want to increase the openness of data sharing of science research communities.</p>
<h3 class="h5-black mb-1">Open Web</h3>
<p class="mb-4">Our fellows working on issues to support the growing field of public interest technology are passionate about working increasing transparency, privacy and security in the open web. <a href="{% url 'fellowships-type' program_type_slug='open-web' %}">Learn more</a>.</p>
<p class="mb-4">Our fellows working on issues to support the growing field of public interest technology are passionate about working increasing transparency, privacy and security in the open web.</p>
<h3 class="h5-black mb-1">Tech Policy</h3>
<p class="mb-4">Our fellows focused on technology policy-related issues around the world that are central to open public policy at the intersection of legal, academic, and governmental action. <a href="{% url 'fellowships-type' program_type_slug='tech-policy' %}">Learn more</a>.</p>
<p class="mb-4">Our fellows focused on technology policy-related issues around the world that are central to open public policy at the intersection of legal, academic, and governmental action.</p>
<h3 class="h5-black mb-1">Media</h3>
<p class="mb-4">Our fellows in open media are creators and media-makers inspired by the open web to explore the boundaries of technology privacy, politics, public awareness, and surveillance. <a href="{% url 'fellowships-type' program_type_slug='media' %}">Learn more</a>.</p>
</div>
<div class="col-12 mt-2 mb-5">
<a href="" class="btn btn-normal">Apply to be a fellow today</a>
</div>
</div>
<div class="row">
<div class="col-12">
{% include 'contact_banner.html' %}
<p class="mb-4">Our fellows in open media are creators and media-makers inspired by the open web to explore the boundaries of technology privacy, politics, public awareness, and surveillance.</p>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions network-api/networkapi/fellows/templates/fellows_home.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ <h2 class="h2-headings-white">What is the Mozilla Fellowship?</h2>
<div class="col-12">
<p>The Fellowship is a global change-making and leadership development opportunityies for activists, creators, and leaders at the core of the internet health movement. The Fellowship is collaborative, multi-disciplinary program that provides the opportunity for leaders from across various backgrounds to pursue projects and increase their influence on the field to create long-term impact.</p>
</div>
<div class="col-12">
<!-- <div class="col-12">
<div class="in-page-cta">
<div class="content d-flex">
<div class="d-flex flex-column flex-md-row w-100 justify-content-between align-items-start align-items-md-center">
Expand All @@ -41,7 +41,7 @@ <h2 class="h2-headings-white">What is the Mozilla Fellowship?</h2>
</div>
</div>
</div>
</div>
</div> -->
</div>
</div>
</div>
Expand Down Expand Up @@ -147,11 +147,11 @@ <h3 class="h5-black mt-5">Expectations</h3>
</div>
</div>

<div class="row mb-5">
<!-- <div class="row mb-5">
<div class="col-12">
{% include 'application_cta_banner.html' %}
</div>
</div>
</div> -->

<div class="row mb-5">
<div class="col-12">
Expand Down
4 changes: 0 additions & 4 deletions network-api/networkapi/fellows/templates/fellows_media.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,3 @@
<li>bullet list item</li>
<li>bullet list item</li>
{% endblock %}

{% block featured_fellow %}
<div id="featured-media-fellow" class="featured-fellow"></div>
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@
<li>obtain support from their advisors. As fellows will be based at their home institutions, please note that a letter of support from their advisor is mandatory </li>
{% endblock %}

{% block featured_fellow %}
<div id="featured-open-web-fellow" class="featured-fellow"></div>
{% endblock %}

{% block host_orgs %}
<div class="row mb-5">
<div class="col-12 my-5">
Expand Down
4 changes: 0 additions & 4 deletions network-api/networkapi/fellows/templates/fellows_science.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,3 @@
<li>obtain support from their advisors. As fellows will be based at their home institutions, please note that a letter of support from their advisor is mandatory for consideration</li>
<li>have experience participating in open communities</li>
{% endblock %}

{% block featured_fellow %}
<div id="featured-science-fellow" class="featured-fellow"></div>
{% endblock %}
4 changes: 0 additions & 4 deletions network-api/networkapi/fellows/templates/fellows_support.html
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,4 @@ <h4 class="h4-headingcontract-black">Learn more about how to get involved</h4>
<p class="body-black">You can apply to be a host organization via <a href="">this link</a>. Applications are due <strong><time>February 16th, 2018</time></strong>. When applications are closed, you can reach out to <a href="mailto:fellowships@mozillafoundation.org">fellowships@mozillafoundation.org</a> with any inquiries.</p>
</div>
</div>

<div class="mb-5">
<div id="featured-fellow-support-page" class="featured-fellow"></div>
</div>
{% endblock %}
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,3 @@
<li>bullet list item</li>
<li>bullet list item</li>
{% endblock %}

{% block featured_fellow %}
<div id="featured-tech-policy-fellow" class="featured-fellow"></div>
{% endblock %}
51 changes: 0 additions & 51 deletions source/js/fellowships.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,57 +163,6 @@ function renderFellowsOnDirectoryByTypePage() {
function injectReactComponents(pulseApiURL) {
pulseApiDomain = pulseApiURL;

// Science Fellowship
if (document.getElementById(`featured-science-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: [] // don't show affiliations meta for now
};

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/802112/pexels-photo-802112.jpeg?w=500`,
quote: `Quote quote quote quote quote quote quote quote quote quote quote quote.`,
affiliations: [] // don't show affiliations meta for now
};

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

// Featured fellow on Support page
if (document.getElementById(`featured-fellow-support-page`)) {
let metadata = {
featured: true,
'internet_health_issues': [ `Decentralization`, `Open Innovation` ],
links: [],
name: `Firstname Surname`,
role: `[Area Fellowship] Fellow, [Year]`,
location: `City, Country`,
image: `https://static.pexels.com/photos/416138/pexels-photo-416138.jpeg?w=500`,
quote: `Quote quote quote quote quote quote quote quote quote quote quote quote.`,
affiliations: [] // don't show affiliations meta for now
};

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

// Fellows on Fellows Directory page
if (document.getElementById(`fellows-directory-featured-fellows`)) {
renderFellowsOnDirectoryPage();
Expand Down
4 changes: 0 additions & 4 deletions source/sass/views/fellowships/shared.scss
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,6 @@
}
}

#view-fellows-support .person-social-links {
border: none;
}

.hear-from-funder-line-art {
background: url(../_images/fellowships/svg/funders-fellowship-optim.svg) no-repeat center 0;
min-height: 9rem;
Expand Down

0 comments on commit c48e8fd

Please sign in to comment.