Skip to content

Commit

Permalink
Link to (google) privacy policy in footer (#679)
Browse files Browse the repository at this point in the history
* Introduce posit logo

* Update this link and aria label

* Put link to google privacy policy in footer

* Tweak css

---------

Co-authored-by: Hadley Wickham <[email protected]>
  • Loading branch information
jennybc and hadley committed Jan 31, 2024
1 parent 1a11c06 commit 36efc7a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
3 changes: 2 additions & 1 deletion themes/hugo-graphite/layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@
{{ with .Param "footer.copyright" }}{{ replace . "{year}" now.Year | markdownify}}{{ end }}<br>
{{ end }}
{{ if .Param "footer.support" }}
{{ with .Param "footer.support" }}{{ replace . "{year}" now.Year | markdownify}}{{ end }} <a class="rstudioLogo" href="https://www.rstudio.com/" aria-label="RStudio Homepage"></a>
{{ with .Param "footer.support" }}{{ replace . "{year}" now.Year | markdownify}}{{ end }} <a class="rstudioLogo" href="https://posit.co/" aria-label="Posit Homepage"></a>
{{ end }}
</div>
<div id="logos">
<a href="https://www.tidyverse.org/google_privacy_policy">Privacy policy</a>
<a href="{{ .Param "footer.github_url" }}" class="footerLogo gitHub" aria-label="Tidyverse GitHub organization"></a>
<a href="{{ .Param "footer.twitter_url" }}" class="footerLogo twitter" aria-label="rstats hashtag on twitter.com"></a>
</div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 8 additions & 2 deletions themes/hugo-graphite/static/css/main-site.css
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,13 @@ a {
padding: 30px 5%;
font-weight: normal;
font-size: 12px;
line-height: 25px; }
line-height: 25px;
}
#rStudioFooter.band a {
color: inherit;
vertical-align: middle;
}

#rStudioFooter .bandContent {
display: flex;
justify-content: space-between;
Expand Down Expand Up @@ -514,7 +520,7 @@ a {
display: inline-block;
height: 25px;
width: 75px;
background-image: url(images/logoRStudioWhite.svg);
background-image: url(images/posit-logo-white.svg);
background-size: 100% 100%;
background-repeat: no-repeat;
vertical-align: middle;
Expand Down

0 comments on commit 36efc7a

Please sign in to comment.