Skip to content

Commit 24873f3

Browse files
Updated logo and Added New Logo in Header
1 parent 5003445 commit 24873f3

File tree

9 files changed

+45
-9
lines changed

9 files changed

+45
-9
lines changed

_includes/header.qmd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
```{=html}
22
<div class="hero-section">
33
<div class="hero-content text-center">
4-
<h1 class="hero-title">Turing.jl</h1>
4+
<img src="./assets/logo/turing-logo-light.svg" alt="Turing Logo" class="hero-logo hero-logo-light">
5+
<img src="./assets/logo/turing-logo-dark.svg" alt="Turing Logo" class="hero-logo hero-logo-dark">
56
<p class="hero-subtitle">A powerful and flexible probabilistic programming language for Julia.</p>
67
<div class="hero-cta-buttons">
7-
<a href="[https://turinglang.org/docs/getting-started/](https://turinglang.org/docs/getting-started/)" class="button btn-lg button--fill">Get Started</a>
8-
<a href="[https://github.com/TuringLang/Turing.jl](https://github.com/TuringLang/Turing.jl)" class="button btn-lg">View on GitHub</a>
8+
<a href="https://turinglang.org/docs/getting-started/" class="button btn-lg button--fill">Get Started</a>
9+
<a href="https://github.com/TuringLang/Turing.jl" class="button btn-lg">View on GitHub</a>
910
</div>
1011
</div>
1112
</div>

_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ website:
1515
location: navbar
1616
type: overlay
1717
navbar:
18-
logo: "assets/images/turing-logo.svg"
18+
logo: "assets/logo/turing-logo.svg"
1919
# logo-href: https://turinglang.org/ -- Keep this commented so clicking on logo in dev mode doesn't redirect to the site
2020
left:
2121
- text: Get Started

assets/logo/turing-logo-dark.svg

Lines changed: 6 additions & 0 deletions
Loading

assets/logo/turing-logo-light.svg

Lines changed: 6 additions & 0 deletions
Loading
File renamed without changes.
File renamed without changes.

assets/logo/turing-text-logo.svg

Lines changed: 6 additions & 0 deletions
Loading

theming/styles.css

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,20 @@
99
margin: 0 auto 3rem auto;
1010
}
1111

12-
.hero-title {
13-
font-size: clamp(3rem, 10vw, 5.5rem);
14-
font-weight: 700;
15-
color: #2c3e50;
16-
margin-bottom: 1rem;
12+
.hero-logo {
13+
max-width: 55%;
14+
height: auto;
15+
margin-bottom: 1.5rem;
16+
margin-left: auto;
17+
margin-right: auto;
18+
}
19+
20+
.hero-logo-light {
21+
display: block;
22+
}
23+
24+
.hero-logo-dark {
25+
display: none;
1726
}
1827

1928
.hero-subtitle {

theming/theme-dark.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,14 @@ h1, h2, h3, h4, h5, h6 {
6464
background: none !important;
6565
}
6666

67+
.hero-logo-light {
68+
display: none !important;
69+
}
70+
71+
.hero-logo-dark {
72+
display: block !important;
73+
}
74+
6775
.hero-subtitle {
6876
color: #bdc3c7 !important;
6977
}

0 commit comments

Comments
 (0)