Skip to content

Commit

Permalink
Merge pull request #21 from tableau/d45/cookie_manager
Browse files Browse the repository at this point in the history
Adding cookie manager, script, and links
  • Loading branch information
d45 authored Nov 21, 2024
2 parents e77ab77 + a2c5052 commit 536536a
Show file tree
Hide file tree
Showing 3 changed files with 70 additions and 2 deletions.
24 changes: 22 additions & 2 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
<!-- Footer -->
<footer>
<!-- <footer>
<div class="row">
<hr class="footer-hr">
<p>This site is open source. Suggestions and pull requests are welcome on our <a href="https://github.com/tableau/embedding-playbook">GitHub page</a>.</p>
<p>&copy; Copyright {{ site.time | date: '%Y' }} Salesforce, Inc.</p>
</div>
</footer>
</footer> -->


<!-- Footer -->
<footer>
<hr class="footer-hr">
<nav aria-label="Footer Navigation">
<ul class="footer-links">
<li><a href="https://www.salesforce.com/company/legal/">Legal</a></li>
<li><a href="https://www.salesforce.com/company/legal/sfdc-website-terms-of-service/">Terms of Service</a></li>
<li><a href="https://www.salesforce.com/company/privacy/">Privacy Information</a></li>
<li><a href="https://www.salesforce.com/company/legal/disclosure/">Responsible Disclosure</a></li>
<li><a href="https://trust.salesforce.com/">Trust</a></li>
<li><a href="#" data-ignore-geolocation="true" class="optanon-toggle-display">Cookie Preferences</a></li>
<li><a href="https://www.salesforce.com/form/other/privacy-request/">Your Privacy Choices</a></li>
</ul>
<p class="copyRight">&copy; Copyright <script>document.write(new Date().getFullYear())</script> Salesforce, Inc. <a href="https://www.salesforce.com/company/legal/tmcusageguidelines/">All rights reserved.</a> Various trademarks held by their respective owners.
Salesforce, Inc. Salesforce Tower, 415 Mission Street, 3rd Floor, San Francisco, CA 94105, United States</p>
<sub>Documentation last generated on: {{ site.time }}</sub></p>
</nav>
</footer>
11 changes: 11 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,17 @@
<link rel="stylesheet" href="{{ site.baseurl }}/css/main.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/github-highlight.css">


<!-- OneTrust Cookies Consent Notice start for tableau.github.io -->
<script src="https://cdn.cookielaw.org/scripttemplates/otSDKStub.js" type="text/javascript" charset="UTF-8" data-domain-script="019321c1-4b7e-7313-9372-ddbd938f50ea" ></script>
<script type="text/javascript">
function OptanonWrapper() { }
</script>
<!-- OneTrust Cookies Consent Notice end for tableau.github.io -->




<script src="{{ site.baseurl }}/js/redirect-to-search.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
Expand Down
37 changes: 37 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -274,3 +274,40 @@ html {
.size-1of3 { width: 33.333%; }


.copyRight {
font-size: 12px;
}

.footer-links {
display: flex;
justify-content: center;
list-style: none;
padding: 0;
flex-wrap: wrap;
}

.footer-links li {
margin: 0 15px;
}

.footer-links a {
text-decoration: none;
transition: color 0.3s;
font-size: 12px;
}

.footer-links a:hover {
text-decoration: underline;
}

/* One Trust Cookie Manager
-------------------- */
#ot-pc-content, .ot-title-cntr, .ot-pc-footer {
font-size: 1.6rem;
}

#ot-pc-footer {
font-size: 1.4rem;
}


0 comments on commit 536536a

Please sign in to comment.