Skip to content

Commit ec00e68

Browse files
committed
Update contact page links and options
1 parent 9adc8ee commit ec00e68

File tree

4 files changed

+42
-7
lines changed

4 files changed

+42
-7
lines changed

roots-nextdatagov/assets/css/main.min.css

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

roots-nextdatagov/assets/less/app.less

+14
Original file line numberDiff line numberDiff line change
@@ -1279,6 +1279,20 @@ section .section-intro {
12791279
margin-bottom: 2em;
12801280
}
12811281

1282+
.block-link {
1283+
padding: .25em .5em;
1284+
border: 1px solid #efefef;
1285+
display: inline-block;
1286+
width: 100%
1287+
}
1288+
1289+
.block-link:hover,
1290+
.block-link:active {
1291+
color : #000;
1292+
border-color : #ccc;
1293+
text-decoration : none;
1294+
}
1295+
12821296
.contact-nav li a,
12831297
.contact-link li a {
12841298
border: 1px solid #E8E8E8;

roots-nextdatagov/lib/scripts.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function roots_scripts() {
1414
wp_enqueue_style('datagov-googlefonts', '//fonts.googleapis.com/css?family=Abel|Lato:100,300,400,700' );
1515
//wp_enqueue_style('fontawesome', '//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css');
1616

17-
wp_enqueue_style('roots_main', get_template_directory_uri() . '/assets/css/main.min.css', false, 'ef44952cf32e0dbaffe2aed3c22fd607');
17+
wp_enqueue_style('roots_main', get_template_directory_uri() . '/assets/css/main.min.css', false, '23706602fbbce859bd940336a8297921');
1818
wp_enqueue_style('rei_css', get_template_directory_uri() . '/assets/css/rei.css', false, '' );
1919

2020

roots-nextdatagov/templates/content-contactus.php

+26-5
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,19 @@
5050
</span>
5151
</h1>
5252

53-
<p class="section-intro"><a class="ext-link tooltips" href="https://opendata.stackexchange.com/questions/ask?tags=data.gov" target="_blank" title="This link will direct you to an external website that may have different content and privacy policies from Data.gov."> Ask the community </a></p>
54-
53+
54+
<div class="section-intro row">
55+
<div class="col-md-6">
56+
<a class="ext-link tooltips block-link" href="https://opendata.stackexchange.com/questions/ask?tags=data.gov" title="This link will direct you to an external website that may have different content and privacy policies from Data.gov."> Ask the community </a>
57+
</div>
58+
<div class="col-md-6">
59+
<a class="ext-link tooltips block-link" href="https://opendata.stackexchange.com/questions/tagged/data.gov" title="This link will direct you to an external website that may have different content and privacy policies from Data.gov."> See all Data.gov questions </a>
60+
</div>
61+
</div>
62+
5563

5664
<?php
57-
$feed = fetch_feed( 'https://opendata.stackexchange.com/feeds/tag/data.gov' ); // specify feed url
65+
$feed = fetch_feed( 'http://opendata.stackexchange.com/feeds/tag/data.gov' ); // specify feed url
5866
$items = $feed->get_items( 0, 7 ); // specify first and last item
5967

6068
if ( ! empty( $items ) ) :
@@ -72,6 +80,7 @@
7280
<?php endforeach; ?>
7381

7482
<?php endif; ?>
83+
7584

7685
</section>
7786

@@ -83,7 +92,11 @@
8392
<span>Twitter</span>
8493
</h1>
8594

86-
<p class="section-intro">Ask us at <a href="https://twitter.com/usdatagov">@usdatagov</a></p>
95+
<div class="section-intro row">
96+
<div class="col-md-12">
97+
<a class="ext-link tooltips block-link" href="https://twitter.com/usdatagov">Ask us at @usdatagov</a>
98+
</div>
99+
</div>
87100

88101
<div class="twitter-feed">
89102
<?php echo do_shortcode( '[twitter-widget username="usdatagov" items="2" hidereplies="false" title=" " showintents="false" showretweets="true"]' ) ?>
@@ -172,14 +185,22 @@
172185
</div>
173186

174187
<ul class="nav contact-link">
175-
<li class="col-md-12">
188+
<li class="col-md-6">
176189
<a href="https://github.com/GSA/data.gov/#submitting-an-issue">
177190
<i class="fa fa-github"></i>
178191
<span>
179192
Report a problem with the website
180193
</span>
181194
</a>
182195
</li>
196+
<li class="col-md-6">
197+
<a href="/issue">
198+
<i class="fa fa-exclamation-circle"></i>
199+
<span>
200+
Report a problem with a dataset
201+
</span>
202+
</a>
203+
</li>
183204
</ul>
184205

185206
</section>

0 commit comments

Comments
 (0)