Skip to content

Commit 6b2b3fd

Browse files
use new logo and move navbar to separate file for clean _quarto.yml (#131)
* try brands * move footer to separate file and try small logo * add logo in README and try large logo * use medium sized logo * format footer
1 parent 2f88b17 commit 6b2b3fd

File tree

4 files changed

+59
-47
lines changed

4 files changed

+59
-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` Website
210

311
This repository contains the quarto source for the `Turing.jl` website.

_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: assets/logo/turing-logo-light.svg
4+
dark: 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="/library">Libraries</a>
11+
<a href="/news">News</a>
12+
<a href="/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 is 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="/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/turinglang.github.io/" 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/logo/turing-logo.svg
29+
title: false
3030
# logo-href: https://turinglang.org/ -- Keep this commented so clicking on logo in dev mode doesn't redirect to the site
3131
left:
3232
- text: Get Started
@@ -83,52 +83,7 @@ format:
8383
}
8484
</script>
8585
include-after-body:
86-
- text: |
87-
<footer class="custom-footer">
88-
<div class="footer-container">
89-
<div class="footer-grid">
90-
<div class="footer-links-wrapper">
91-
<div class="footer-column footer-explore">
92-
<h5>Explore</h5>
93-
<a href="https://turinglang.org/docs/getting-started/">Get Started</a>
94-
<a href="https://turinglang.org/docs/tutorials/">Tutorials</a>
95-
<a href="https://turinglang.org/docs/faq/">FAQ</a>
96-
<a href="/library">Libraries</a>
97-
<a href="/news">News</a>
98-
<a href="/team">Team</a>
99-
</div>
100-
101-
<div class="footer-column footer-connect">
102-
<h5>Connect</h5>
103-
<a href="https://github.com/TuringLang" target="_blank" rel="noopener"><i class="bi bi-github"></i> GitHub</a>
104-
<a href="https://x.com/TuringLang" target="_blank" rel="noopener"><i class="bi bi-twitter-x"></i> Twitter</a>
105-
<a href="https://julialang.slack.com/archives/CCYDC34A0" target="_blank" rel="noopener"><i class="bi bi-slack"></i> Slack</a>
106-
<a href="https://discourse.julialang.org/c/domain/probprog/48" target="_blank" rel="noopener"><i class="bi bi-chat-dots"></i> Discourse</a>
107-
</div>
108-
</div>
109-
110-
<div class="footer-column footer-brands">
111-
<h5>Supported by leading researchers</h5>
112-
<p>Turing.jl is developed by researchers and engineers at the following research institutions.</p>
113-
<div class="logo-grid">
114-
<a href="https://mlg.eng.cam.ac.uk/" class="partner-logo" target="_blank" rel="noopener">
115-
<img src="/assets/images/brands/university-cambridge-logo-black-example-640x132.png" alt="University of Cambridge Logo" class="brands-light-mode-logo">
116-
<img src="/assets/images/brands/university-cambridge-logo-white-example-640x133.png" alt="University of Cambridge Logo Dark" class="brands-dark-mode-logo">
117-
</a>
118-
<a href="https://www.turing.ac.uk/" class="partner-logo" target="_blank" rel="noopener">
119-
<img src="/assets/images/brands/Turing_Logo_1000x400px_Black.webp" alt="The Alan Turing Institute Logo" class="brands-light-mode-logo">
120-
<img src="/assets/images/brands/Turing_Logo_1000x400px_White.webp" alt="The Alan Turing Institute Logo Dark" class="brands-dark-mode-logo">
121-
</a>
122-
</div>
123-
</div>
124-
125-
</div>
126-
<div class="footer-bottom">
127-
<p>Turing is 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="/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>
128-
<a href="https://github.com/TuringLang/turinglang.github.io/" target="_blank" rel="noopener" class="footer-source-link"><i class="bi bi-github"></i> Website Source</a>
129-
</div>
130-
</div>
131-
</footer>
86+
file: _includes/footer.html
13287

13388
# Global Variables to use in any qmd files using:
13489
# {{< meta site-url >}}

0 commit comments

Comments
 (0)