From 36efc7aed950200cb3d17fc72c38c433bddd10ac Mon Sep 17 00:00:00 2001 From: "Jennifer (Jenny) Bryan" Date: Tue, 30 Jan 2024 17:20:16 -0800 Subject: [PATCH] Link to (google) privacy policy in footer (#679) * Introduce posit logo * Update this link and aria label * Put link to google privacy policy in footer * Tweak css --------- Co-authored-by: Hadley Wickham --- themes/hugo-graphite/layouts/partials/footer.html | 3 ++- .../static/css/images/posit-logo-white.svg | 1 + themes/hugo-graphite/static/css/main-site.css | 10 ++++++++-- 3 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 themes/hugo-graphite/static/css/images/posit-logo-white.svg diff --git a/themes/hugo-graphite/layouts/partials/footer.html b/themes/hugo-graphite/layouts/partials/footer.html index 2ac577bb6..638e4675d 100644 --- a/themes/hugo-graphite/layouts/partials/footer.html +++ b/themes/hugo-graphite/layouts/partials/footer.html @@ -5,10 +5,11 @@ {{ with .Param "footer.copyright" }}{{ replace . "{year}" now.Year | markdownify}}{{ end }}
{{ end }} {{ if .Param "footer.support" }} - {{ with .Param "footer.support" }}{{ replace . "{year}" now.Year | markdownify}}{{ end }} + {{ with .Param "footer.support" }}{{ replace . "{year}" now.Year | markdownify}}{{ end }} {{ end }} diff --git a/themes/hugo-graphite/static/css/images/posit-logo-white.svg b/themes/hugo-graphite/static/css/images/posit-logo-white.svg new file mode 100644 index 000000000..fc4636fa7 --- /dev/null +++ b/themes/hugo-graphite/static/css/images/posit-logo-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/themes/hugo-graphite/static/css/main-site.css b/themes/hugo-graphite/static/css/main-site.css index f8f173600..d558cad13 100644 --- a/themes/hugo-graphite/static/css/main-site.css +++ b/themes/hugo-graphite/static/css/main-site.css @@ -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; @@ -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;