Skip to content

Commit

Permalink
add link to blog (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
beets authored Oct 15, 2020
1 parent 90c0676 commit 22e4a38
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 4 deletions.
1 change: 1 addition & 0 deletions server/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
Sources</a>
<a class="dropdown-item" href="{{ url_for('static.faq') }}">FAQ</a>
<a class="dropdown-item" href="{{ url_for('static.feedback') }}">Feedback</a>
<a class="dropdown-item" href="https://docs.datacommons.org/blog.html">Blog</a>
</div>
</li>
</ul>
Expand Down
12 changes: 12 additions & 0 deletions server/templates/static/homepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,18 @@
</div>
</section>

<section>
<div class="container bg-callout bg-callout-primary">
<h2>What's new</h2>
<dl>
<dt>October 15, 2020</dt>
<dd>Data Commons is now accessible on Google Search! <a
href="https://docs.datacommons.org/2020/10/15/search_launch.html">Read
more here</a></dd>
</dl>
</div>
</section>

<section class="container">
<h2>Explore the data</h2>
<p>
Expand Down
15 changes: 11 additions & 4 deletions static/css/static.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ h2 {
#homepage-top {
margin: -3rem auto 3rem;
padding-top: 5rem;
padding-bottom: 5rem;
}

#homepage-top .lead-col {
Expand All @@ -50,17 +49,25 @@ h2 {
justify-content: center;
}

#homepage-bottom {
#homepage-callout {
padding-top: 3rem;
padding-bottom: 3rem;
margin-top: 6rem;
margin-bottom: -6rem;
margin-bottom: 6rem;
}

#homepage section.container {
#homepage .container {
margin-bottom: 5rem;
}

#homepage .container.bg-callout {
padding: 1rem;
}

#homepage dl {
margin-bottom: 0;
}

#homepage section dd a,
#homepage section p a {
display: inline;
Expand Down

0 comments on commit 22e4a38

Please sign in to comment.