Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signpost Wikidata on the homepage #15659

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions t/web/homepage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
subject.css('.hero h1').text.must_include '233 countries'
end

it 'should have the global data count' do
subject.css('.homepage-data-example strong').text.must_include '3.2 million'
it 'should talk about Wikidata' do
subject.css('.homepage-data-example').text.must_include 'Wikidata'
end

it 'should offer the whole world in the dropdown' do
Expand Down
7 changes: 3 additions & 4 deletions views/homepage.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,15 @@

<div class="page-section page-section--grey">
<div class="container homepage-data-example">
<h2>The world’s richest open dataset on politicians</h2>
<p><strong title="<%= commify(@page.total_statements) %> to be precise"><%= number_to_millions(@page.total_statements) %> million</strong> pieces of data so far.</p>
<h2>Making <a href="https://www.wikidata.org/">Wikidata</a> the world’s richest open dataset on politicians</h2>
</div>
</div>

<div class="page-section">
<div class="container row">
<div class="column-two-thirds">
<h3>What is EveryPolitician?</h3>
<p>Data about every national legislature in the world, freely available for you to use:</p>
<h3>What is in EveryPolitician?</h3>
<p>Simplified data about every national legislature in the world, freely available for you to use:</p>
<a href="http://docs.everypolitician.org/" class="button button--small">Read more…</a>
</div>
<div class="column-one-third">
Expand Down
2 changes: 1 addition & 1 deletion views/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<div class="column-five-twelfths">
<h2 class="mysoc-footer__site-name">EveryPolitician</h2>
<div class="mysoc-footer__site-description">
<p>A simple but ambitious project to collect and share data about every politician in every country in the world, in a consistent, open format that anyone can use.</p>
<p>A simple but ambitious project to ensure data about every politician in every country in the world, is available in a consistent, open format that anyone can use.</p>
</div>
</div>

Expand Down