Skip to content

Commit 10abb18

Browse files
experiment merging what is turing and header buttons
1 parent 67eb0d2 commit 10abb18

File tree

3 files changed

+14
-20
lines changed

3 files changed

+14
-20
lines changed

_includes/header.qmd

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
<img src="./assets/logo/turing-logo-light.svg" alt="Turing Logo" class="hero-logo hero-logo-light">
55
<img src="./assets/logo/turing-logo-dark.svg" alt="Turing Logo" class="hero-logo hero-logo-dark">
66
<p class="hero-subtitle">Bayesian inference with probabilistic programming</p>
7-
<div class="hero-cta-buttons">
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>
10-
</div>
117
</div>
128
</div>
139
```

index.qmd

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,7 @@ listing:
3232
<!-- Header End Here -->
3333

3434
<!-- What is Turing.jl Section -->
35-
:::: {.section-start-space .section-end-space}
36-
37-
::: {.text-center}
38-
### What is Turing.jl?
39-
Turing.jl is a Julia library for general-purpose probabilistic programming.
40-
:::
41-
42-
::: {.what-is-turing-grid .section-start-space}
35+
::: {.what-is-turing-grid .section-start-space .section-end-space}
4336

4437
::: {.feature-text-column}
4538

@@ -88,6 +81,14 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
8881

8982
:::
9083

84+
::: {.feature-cta-button}
85+
86+
```{=html}
87+
<a href="https://turinglang.org/docs/getting-started/" class="button btn-lg button--fill">Get Started</a>
88+
```
89+
90+
:::
91+
9192
:::
9293

9394
::: {.code-example-column}
@@ -127,7 +128,6 @@ chains = sample(posterior, NUTS(), 1000, progress=false)
127128
:::
128129

129130
:::
130-
::::
131131
<!-- What is Turing.jl Section Ends Here -->
132132

133133

theming/rules/_layouts.scss

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,6 @@
2626
margin-right: auto;
2727
}
2828

29-
.hero-cta-buttons {
30-
display: flex;
31-
justify-content: center;
32-
gap: 1rem;
33-
flex-wrap: wrap;
34-
}
35-
3629
/* General Layout Styles */
3730
.btn-lg {
3831
padding: 14px 32px;
@@ -167,6 +160,11 @@
167160
}
168161
}
169162

163+
.feature-cta-button {
164+
margin-top: 2rem;
165+
text-align: center;
166+
}
167+
170168
.code-example-column {
171169
.code-window {
172170
padding: 0;

0 commit comments

Comments
 (0)