Skip to content

Commit ee85c26

Browse files
use new logo in navbar and move footer to separate file (#666)
* use new logo in navbar and move footer to separate file * update footer * remove logo from sidebar
1 parent dca8549 commit ee85c26

File tree

5 files changed

+63
-47
lines changed

5 files changed

+63
-47
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<p align="center">
2+
<picture>
3+
<source media="(prefers-color-scheme: dark)" srcset="https://turinglang.org/assets/logo/turing-logo-dark.svg">
4+
<img src="https://turinglang.org/assets/logo/turing-logo-light.svg" alt="Turing.jl logo" width="300">
5+
</picture>
6+
</p>
7+
<p align="center"><i>Bayesian inference with probabilistic programming</i></p>
8+
19
# Turing.jl Documentation and Tutorials
210

311
**https://turinglang.org/docs/**

_brand.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
logo:
2+
medium:
3+
light: https://turinglang.org/assets/logo/turing-logo-light.svg
4+
dark: https://turinglang.org/assets/logo/turing-logo-dark.svg

_includes/footer.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<footer class="custom-footer">
2+
<div class="footer-container">
3+
<div class="footer-grid">
4+
<div class="footer-links-wrapper">
5+
<div class="footer-column footer-explore">
6+
<h5>Explore</h5>
7+
<a href="https://turinglang.org/docs/getting-started/">Get Started</a>
8+
<a href="https://turinglang.org/docs/tutorials/">Tutorials</a>
9+
<a href="https://turinglang.org/docs/faq/">FAQ</a>
10+
<a href="https://turinglang.org/library/">Libraries</a>
11+
<a href="https://turinglang.org/news/">News</a>
12+
<a href="https://turinglang.org/team/">Team</a>
13+
</div>
14+
15+
<div class="footer-column footer-connect">
16+
<h5>Connect</h5>
17+
<a href="https://github.com/TuringLang" target="_blank" rel="noopener"><i class="bi bi-github"></i> GitHub</a>
18+
<a href="https://x.com/TuringLang" target="_blank" rel="noopener"><i class="bi bi-twitter-x"></i> Twitter</a>
19+
<a href="https://julialang.slack.com/archives/CCYDC34A0" target="_blank" rel="noopener"><i class="bi bi-slack"></i> Slack</a>
20+
<a href="https://discourse.julialang.org/c/domain/probprog/48" target="_blank" rel="noopener"><i class="bi bi-chat-dots"></i> Discourse</a>
21+
</div>
22+
</div>
23+
24+
<div class="footer-column footer-brands">
25+
<h5>Supported by leading researchers</h5>
26+
<p>Turing.jl is developed by researchers and engineers at the following research institutions.</p>
27+
<div class="logo-grid">
28+
<a href="https://mlg.eng.cam.ac.uk/" class="partner-logo" target="_blank" rel="noopener">
29+
<img src="/assets/images/brands/university-cambridge-logo-black-example-640x132.png" alt="University of Cambridge Logo" class="brands-light-mode-logo">
30+
<img src="/assets/images/brands/university-cambridge-logo-white-example-640x133.png" alt="University of Cambridge Logo Dark" class="brands-dark-mode-logo">
31+
</a>
32+
<a href="https://www.turing.ac.uk/" class="partner-logo" target="_blank" rel="noopener">
33+
<img src="/assets/images/brands/Turing_Logo_1000x400px_Black.webp" alt="The Alan Turing Institute Logo" class="brands-light-mode-logo">
34+
<img src="/assets/images/brands/Turing_Logo_1000x400px_White.webp" alt="The Alan Turing Institute Logo Dark" class="brands-dark-mode-logo">
35+
</a>
36+
</div>
37+
</div>
38+
39+
</div>
40+
<div class="footer-bottom">
41+
<p>Turing.jl was created by <a href="https://mlg.eng.cam.ac.uk/hong/" target="_blank" rel="noopener">Hong Ge</a>, and maintained by the core <a href="https://turinglang.org/team/" target="_blank" rel="noopener">team</a> of developers and <a href="https://github.com/TuringLang/Turing.jl/graphs/contributors" target="_blank" rel="noopener">contributors</a>.<br>© 2025 The Turing Project Contributors. <a href="https://github.com/TuringLang/Turing.jl/blob/master/LICENCE" target="_blank" rel="noopener">MIT License</a>.</p>
42+
<a href="https://github.com/TuringLang/docs/" target="_blank" rel="noopener" class="footer-source-link"><i class="bi bi-github"></i> Website Source</a>
43+
</div>
44+
</div>
45+
</footer>

_quarto.yml

Lines changed: 2 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ website:
2626
location: navbar
2727
type: overlay
2828
navbar:
29-
logo: "/assets/images/turing-logo.svg"
29+
title: false
3030
logo-href: https://turinglang.org/
3131
left:
3232
- text: Get Started
@@ -172,52 +172,7 @@ format:
172172
}
173173
</style>
174174
include-after-body:
175-
- text: |
176-
<footer class="custom-footer">
177-
<div class="footer-container">
178-
<div class="footer-grid">
179-
<div class="footer-links-wrapper">
180-
<div class="footer-column footer-explore">
181-
<h5>Explore</h5>
182-
<a href="https://turinglang.org/docs/getting-started/">Get Started</a>
183-
<a href="https://turinglang.org/docs/tutorials/">Tutorials</a>
184-
<a href="https://turinglang.org/docs/faq/">FAQ</a>
185-
<a href="https://turinglang.org/library/">Libraries</a>
186-
<a href="https://turinglang.org/news/">News</a>
187-
<a href="https://turinglang.org/team/">Team</a>
188-
</div>
189-
190-
<div class="footer-column footer-connect">
191-
<h5>Connect</h5>
192-
<a href="https://github.com/TuringLang" target="_blank" rel="noopener"><i class="bi bi-github"></i> GitHub</a>
193-
<a href="https://x.com/TuringLang" target="_blank" rel="noopener"><i class="bi bi-twitter-x"></i> Twitter</a>
194-
<a href="https://julialang.slack.com/archives/CCYDC34A0" target="_blank" rel="noopener"><i class="bi bi-slack"></i> Slack</a>
195-
<a href="https://discourse.julialang.org/c/domain/probprog/48" target="_blank" rel="noopener"><i class="bi bi-chat-dots"></i> Discourse</a>
196-
</div>
197-
</div>
198-
199-
<div class="footer-column footer-brands">
200-
<h5>Supported by leading researchers</h5>
201-
<p>Turing.jl is developed by researchers and engineers at the following research institutions.</p>
202-
<div class="logo-grid">
203-
<a href="https://mlg.eng.cam.ac.uk/" class="partner-logo" target="_blank" rel="noopener">
204-
<img src="/assets/images/brands/university-cambridge-logo-black-example-640x132.png" alt="University of Cambridge Logo" class="brands-light-mode-logo">
205-
<img src="/assets/images/brands/university-cambridge-logo-white-example-640x133.png" alt="University of Cambridge Logo Dark" class="brands-dark-mode-logo">
206-
</a>
207-
<a href="https://www.turing.ac.uk/" class="partner-logo" target="_blank" rel="noopener">
208-
<img src="/assets/images/brands/Turing_Logo_1000x400px_Black.webp" alt="The Alan Turing Institute Logo" class="brands-light-mode-logo">
209-
<img src="/assets/images/brands/Turing_Logo_1000x400px_White.webp" alt="The Alan Turing Institute Logo Dark" class="brands-dark-mode-logo">
210-
</a>
211-
</div>
212-
</div>
213-
214-
</div>
215-
<div class="footer-bottom">
216-
<p>Turing.jl was created by <a href="https://mlg.eng.cam.ac.uk/hong/" target="_blank" rel="noopener">Hong Ge</a>, and maintained by the core <a href="https://turinglang.org/team/" target="_blank" rel="noopener">team</a> of developers and <a href="https://github.com/TuringLang/Turing.jl/graphs/contributors" target="_blank" rel="noopener">contributors</a>.<br>© 2025 The Turing Project Contributors. <a href="https://github.com/TuringLang/Turing.jl/blob/master/LICENCE" target="_blank" rel="noopener">MIT License</a>.</p>
217-
<a href="https://github.com/TuringLang/docs/" target="_blank" rel="noopener" class="footer-source-link"><i class="bi bi-github"></i> Website Source</a>
218-
</div>
219-
</div>
220-
</footer>
175+
file: _includes/footer.html
221176

222177
execute:
223178
echo: true

theming/rules/_quarto-tweaks.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,7 @@ pre {
122122
--bs-tooltip-color: $black !important;
123123
--bs-tooltip-bg: $white !important;
124124
}
125+
126+
.sidebar-header {
127+
display: none;
128+
}

0 commit comments

Comments
 (0)