Skip to content

Commit 96d6878

Browse files
authored
Merge pull request #2614 from Vizzuality/disposable/release-landing-and-stories-links
Landing slider updates and stories link
2 parents a50742d + 10e4ba6 commit 96d6878

File tree

6 files changed

+20
-20
lines changed

6 files changed

+20
-20
lines changed

app/assets/javascripts/stories/templates/story.handlebars

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<section class="header-stories">
22
<div class="inner">
33
<header>
4-
<a class="back-btn desktop-show" href="/stayinformed/crowdsourced-stories">
4+
<a class="back-btn desktop-show" href="/stories/crowdsourcedstories">
55
<svg><use xlink:href="#shape-fast-forward-left"></use></svg>
66
Back to crowdsourced stories
77
</a>

app/assets/stylesheets/layouts/_landing.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -344,9 +344,9 @@
344344
&.slide2 { background-image:url('http://gfw.blog.s3.amazonaws.com/Carousel/22109811392_813e7092fc_o.jpg');}
345345
&.slide3 { background-image:url('backgrounds/home-slider/bg_slide3.png');}
346346
&.slide4 { background-image:url('backgrounds/home-slider/bg_slide4.jpg');}
347-
&.slide5 { background-image:url('http://gfw.blog.s3.amazonaws.com/Carousel/Carousel%20Slide_GLAD%20Alerts%20Brazil.jpg');}
347+
&.slide5 { background-image:url('http://gfw.blog.s3.amazonaws.com/Carousel/GFW%20Water%20Carousel%20Slide%20Small.jpg');}
348348
&.slide6 { background-image:url('backgrounds/home-slider/bg_slide6.jpg');}
349-
&.slide7 { background-image:url('http://gfw.blog.s3.amazonaws.com/Carousel/GFW%20Water%20Carousel%20Slide%20Small.jpg');}
349+
&.slide7 { background-image:url('http://gfw.blog.s3.amazonaws.com/Carousel/Map%20Builder%20Carousel%20Slide%20Small.jpg');}
350350

351351
aside {
352352
position: absolute;

app/views/landing/index.html.erb

+8-8
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,28 @@
3737
<ul class="main-slider-viewport">
3838
<!-- <span class="ribbon">Complete this short survey!</span> -->
3939
<li class="slide slide7">
40-
<a href="http://bit.ly/2cdsdCX">
40+
<a href="http://bit.ly/2dulYrN">
4141
<div class="inner">
4242
<aside>
43-
<h2>GFW Water</h2>
44-
<h3><span>New tool explores the connection</span> <span>between forests and water risk</span></h3>
43+
<h2>Map Builder</h2>
44+
<h3><span>Create custom interactive mapping</span> <span>applications with ArcGIS Online</span></h3>
4545
<div class="link"><span class="mobile-hide">more info</span><span class="mobile-show">+</span></div>
4646
</aside>
4747
</div>
4848
</a>
49-
<p class="credits">Photo: Bernd Thaller</p>
49+
<p class="credits">Photo: Jane Goodall Institute</p>
5050
</li>
5151
<li class="slide slide5">
52-
<a href="http://bit.ly/2bQp3PX">
52+
<a href="http://bit.ly/2dxJVjB">
5353
<div class="inner">
5454
<aside>
55-
<h2>Weekly Alerts</h2>
56-
<h3><span>High-resolution GLAD Alerts</span> <span>Now available for Brazil</span></h3>
55+
<h2>GFW Water</h2>
56+
<h3><span>New tool explores the connection</span> <span>between forests and water risk</span></h3>
5757
<div class="link"><span class="mobile-hide">more info</span><span class="mobile-show">+</span></div>
5858
</aside>
5959
</div>
6060
</a>
61-
<p class="credits">Photo: NASA</p>
61+
<p class="credits">Photo: Bernd Thaller</p>
6262
</li>
6363
<li class="slide slide1">
6464
<a href="/map?referral=carousel">

app/views/shared/_sources_map.html.erb

+5-5
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@
454454
<p>Alerts become confirmed when a second satellite pass has also identified the pixel as an alert. Most of the alerts that are not confirmed have not had another satellite pass, due to the 8-day revisit time or cloud cover.</p>
455455
</div>
456456
</li>
457-
457+
458458
<li id='guyra' class='source-item last'>
459459
<div class='source_header'>
460460
<strong class='source_title'>Gran Chaco deforestation</strong>
@@ -1704,10 +1704,10 @@
17041704
<dl class='sources_row even'>
17051705
<dt>Cautions</dt>
17061706
<dd>
1707-
1707+
17081708
<p>The accuracies of the species and type labels were not assessed. These fields represent the best guess of the analysts and should not be used for official purposes.</p>
17091709
<p>Polygons labeled as clearings were bare or had very young vegetation as of 2013 or 2014, but contextual clues suggest that these areas will eventually become tree plantations.</p>
1710-
1710+
17111711
</dd>
17121712
</dl>
17131713
<dl class='sources_row even'>
@@ -6439,7 +6439,7 @@
64396439
<p>List of supported file formats <strong>(only polygon data is supported, not point and line data)</strong>:</p>
64406440
<ul class='bullets'>
64416441
<li>Unzipped: .bna, .csv, .dxf, .gtx, .txt, json, .geojson, .rss, .georss, .xml, .gml, .gmt, . gpx, .itf, .kml, .kmz</li>
6442-
<li>Zipped: .shp, dbf, .shx, .gml, .xsd, .itf, .ili, .tab, .map, .id, .dat, .vrt</li>
6442+
<li>Zipped: .shp, dbf, .shx, .gml, .xsd, .itf, .ili, .tab, .map, .id, .dat, .vr (zipped shapefiles must include .shp, .shx, .dbf, and .prj files)</li>
64436443
</ul>
64446444
</div>
64456445
</div>
@@ -6683,4 +6683,4 @@
66836683
</div>
66846684
</div>
66856685
</div>
6686-
</article>
6686+
</article>

app/views/small_grants_fund/index.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@
137137
<ul class="slides js_slides">
138138
<li class="js_slide">
139139
<div class="m-card _align-vertically-flex">
140-
<a href="http://blog.globalforestwatch.org/2016/04/announcing-the-2016-recipients-of-the-small-grants-fund/">
140+
<a href="http://blog.globalforestwatch.org/gfw-community/announcing-the-2016-recipients-of-the-small-grants-fund.html">
141141
<h3 class="card-title">Announcing the 2016 Recipients</h3>
142142
</a>
143143
</div>

config/routes.rb

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
get '/sources' => redirect("http://data.globalforestwatch.org/")
4848
get '/sources(/:section)' => redirect("http://data.globalforestwatch.org/")
4949

50+
# stories
51+
get '/stayinformed/crowdsourced-stories' => redirect('/stories')
52+
5053
# stayinformed
5154
get '/stayinformed' => redirect("/")
5255
get '/stayinformed(/:section)' => redirect("/")
@@ -55,9 +58,6 @@
5558
get '/getinvolved' => redirect("/developers-corner")
5659
get '/getinvolved(/:section)' => redirect("/developers-corner")
5760

58-
# stories
59-
get '/stayinformed/crowdsourced-stories' => redirect('/stories')
60-
6161
# static
6262
get '/data' => redirect("sources")
6363
get '/getinvolved/apply-to-the-small-grants-fund' => redirect('/small-grants-fund')

0 commit comments

Comments
 (0)