Skip to content

Commit 476c2ff

Browse files
rewrite raw html in quarto markdown, update footer text, core package descriptions and few urls
1 parent eed4576 commit 476c2ff

File tree

3 files changed

+174
-90
lines changed

3 files changed

+174
-90
lines changed

_quarto.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ format:
9090
9191
<div class="footer-column footer-brands">
9292
<h5>Supported by world-class institutions</h5>
93-
<p>Turing.jl is currently being developed at leading research organisations.</p>
93+
<p>Turing.jl is developed by researchers and engineers at the following research institutions.</p>
9494
<div class="logo-grid">
9595
<a href="https://mlg.eng.cam.ac.uk/" class="partner-logo" target="_blank" rel="noopener">
9696
<img src="https://www.cam.ac.uk/sites/default/files/university-cambridge-logo-black-example-640x132.png" alt="University of Cambridge Logo" class="brands-light-mode-logo">

index.qmd

Lines changed: 170 additions & 88 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,17 @@ listing:
2121
max-items: 6
2222
---
2323

24+
:::::: {.side-space}
25+
26+
<!-- Header -->
2427
::: {.logo-header}
2528

2629
{{< include _includes/header.qmd >}}
2730

2831
:::
32+
<!-- Header End Here -->
2933

30-
:::::: {.side-space}
31-
34+
<!-- Feature Boxes -->
3235
::::: {.d-flex .flex-row .flex-wrap .panel-wrapper .gap-4 .section-end-space}
3336

3437
::: {.panel .box}
@@ -47,126 +50,205 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
4750
:::
4851

4952
:::::
53+
<!-- Feature BoxesEnds Here -->
54+
55+
<!-- Start Your Journey Section -->
56+
:::: {.text-center .section-start-space}
57+
58+
<p class="responsive-heading" style="font-weight: 600; margin-bottom: 0;">Start Your Journey</p>
59+
<p class="fs-5 text-muted">Whether you're new to Bayesian modeling or an experienced researcher, find the resources you need.</p>
60+
61+
::::
5062

63+
::::: {.d-flex .flex-row .flex-wrap .panel-wrapper .gap-4 .section-end-space}
64+
65+
:::: {.panel .box}
66+
67+
::: {style="font-size: 2.5rem; text-align: center;"}
5168
```{=html}
52-
<div class="text-center section-start-space">
53-
<p class="responsive-heading" style="font-weight: 600; margin-bottom: 0;">Start Your Journey</p>
54-
<p class="fs-5 text-muted">Whether you're new to Bayesian modeling or an experienced researcher, find the resources you need.</p>
55-
</div>
69+
🚀
70+
```
71+
:::
5672

57-
<div class="d-flex flex-row flex-wrap panel-wrapper gap-4 section-end-space">
58-
59-
<div class="panel box">
60-
<div style="font-size: 2.5rem; text-align: center;">🚀</div>
61-
<h5 class="panel-title pb-1 text-center">New to Turing?</h5>
62-
<p>Begin with the basics. Our step-by-step tutorials will guide you from installation to your first probabilistic models.</p>
63-
<div class="d-flex flex-column align-items-center gap-2 pt-3">
64-
<a href="https://turinglang.org/docs/getting-started/" class="button btn">Get Started</a>
65-
<a href="https://turinglang.org/docs/tutorials/coin-flipping/" class="text-muted" style="font-size: 0.9em;">View Introductory Concepts</a>
66-
</div>
67-
</div>
68-
69-
<div class="panel box">
70-
<div style="font-size: 2.5rem; text-align: center;">🔬</div>
71-
<h5 class="panel-title pb-1 text-center">For Researchers</h5>
72-
<p>Dive into advanced models, explore the rich package ecosystem, and learn how to cite Turing.jl in your work.</p>
73-
<div class="d-flex flex-column align-items-center gap-2 pt-3">
74-
<a href="/library" class="button btn">Explore Ecosystem</a>
75-
<a href="#cite" class="text-muted" style="font-size: 0.9em;">Cite Turing.jl</a>
76-
</div>
77-
</div>
78-
79-
<div class="panel box">
80-
<div style="font-size: 2.5rem; text-align: center;">💻</div>
81-
<h5 class="panel-title pb-1 text-center">For Developers</h5>
82-
<p>Join our community, contribute to the project on GitHub, and connect with fellow developers on Slack.</p>
83-
<div class="d-flex flex-column align-items-center gap-2 pt-3">
84-
<a href="https://github.com/TuringLang" class="button btn">View on GitHub</a>
85-
<a href="https://julialang.slack.com/archives/CCYDC34A0" class="text-muted" style="font-size: 0.9em;">Join the Slack Channel</a>
86-
</div>
87-
</div>
73+
##### New to Turing? {.panel-title .pb-1 .text-center}
74+
<p>Begin with the basics. Our step-by-step tutorials will guide you from installation to your first probabilistic models.</p>
8875

89-
</div>
76+
::: {.d-flex .flex-column .align-items-center .gap-2 .pt-3}
77+
```{=html}
78+
<a href="https://turinglang.org/docs/getting-started/" class="button btn">Get Started</a>
79+
<a href="https://turinglang.org/docs/tutorials/coin-flipping/" class="text-muted" style="font-size: 0.9em;">View Introductory Concepts</a>
80+
```
81+
:::
82+
83+
::::
84+
85+
:::: {.panel .box}
86+
87+
::: {style="font-size: 2.5rem; text-align: center;"}
88+
```{=html}
89+
🔬
90+
```
91+
:::
92+
93+
##### For Researchers {.panel-title .pb-1 .text-center}
94+
95+
<p>Dive into advanced models, explore the rich package ecosystem, and learn how to cite Turing.jl in your work.</p>
96+
97+
::: {.d-flex .flex-column .align-items-center .gap-2 .pt-3}
98+
99+
```{=html}
100+
<a href="/library" class="button btn">Explore Ecosystem</a>
101+
<a href="#cite" class="text-muted" style="font-size: 0.9em;">Cite Turing.jl</a>
90102
```
91103

104+
:::
105+
106+
::::
107+
108+
:::: {.panel .box}
109+
110+
::: {style="font-size: 2.5rem; text-align: center;"}
92111
```{=html}
112+
💻
113+
```
114+
:::
115+
116+
##### For Developers {.panel-title .pb-1 .text-center}
117+
118+
<p>Join our community, contribute to the project on GitHub, and connect with fellow developers on Slack.</p>
119+
120+
::: {.d-flex .flex-column .align-items-center .gap-2 .pt-3}
121+
122+
```{=html}
123+
<a href="https://github.com/TuringLang" class="button btn">View on GitHub</a>
124+
<a href="https://julialang.slack.com/archives/CCYDC34A0" class="text-muted" style="font-size: 0.9em;">Join the Slack Channel</a>
125+
```
126+
:::
127+
128+
::::
129+
130+
:::::
131+
<!-- Start Your Journey Section Ends Here-->
132+
93133
<!-- Core Packages Section -->
94-
<div class="section-header section-start-space">
95-
<div>
96-
<h3 id="core-packages">Core Packages</h3>
97-
<p class="text-muted">The Turing ecosystem is built on a foundation of powerful, composable packages.</p>
98-
</div>
99-
<a href="/library" class="button btn desktop-only-button">Explore Ecosystem &rarr;</a>
100-
</div>
134+
:::: {.section-header .section-start-space}
101135

102-
<div class="core-packages-grid section-end-space">
103-
<div class="package-card box">
104-
<h5 class="panel-title">DynamicPPL.jl</h5>
105-
<p>The backend for model specification and inference.</p>
106-
</div>
107-
<div class="package-card box">
108-
<h5 class="panel-title">JuliaBUGS.jl</h5>
109-
<p>A modern implementation of the BUGS probabilistic programming language in Julia.</p>
110-
</div>
111-
<div class="package-card box">
112-
<h5 class="panel-title">TuringGLM.jl</h5>
113-
<p>Bayesian Generalized Linear models using `@formula` syntax and returns an instantiated <a href="https://github.com/TuringLang/Turing.jl">Turing</a> model.</p>
114-
</div>
115-
<div class="package-card box">
116-
<h5 class="panel-title">AdvancedHMC.jl</h5>
117-
<p>An efficient implementation of Hamiltonian Monte Carlo.</p>
118-
</div>
119-
</div>
120-
<div class="mobile-only-button-container">
121-
<a href="/library" class="button btn">Explore Ecosystem &rarr;</a>
122-
</div>
136+
::: {#core-packages-header-content}
137+
138+
### Core Packages {#core-packages}
139+
<p class="text-muted">The Turing ecosystem is built on a foundation of powerful, composable packages.</p>
140+
141+
:::
142+
143+
```{=html}
144+
<a href="/library" class="button btn desktop-only-button">Explore Ecosystem &rarr;</a>
123145
```
124146

147+
::::
148+
149+
::::: {.core-packages-grid .section-end-space}
150+
151+
::: {.package-card .box #core-card}
152+
153+
##### [DynamicPPL.jl <i class="bi bi-box-arrow-up-right" style="font-size: 0.4em;"></i>](https://turinglang.org/DynamicPPL.jl/){.panel-title}
154+
155+
<p>A domain-specific language and backend for probabilistic programming languages, used by [Turing.jl.](https://github.com/TuringLang/Turing.jl)</p>
156+
157+
:::
158+
159+
::: {.package-card .box #core-card}
160+
161+
##### [JuliaBUGS.jl <i class="bi bi-box-arrow-up-right" style="font-size: 0.4em;"></i>](https://turinglang.org/JuliaBUGS.jl/){.panel-title}
162+
163+
<p>A modern implementation of the [BUGS](https://en.wikipedia.org/wiki/Bayesian_inference_using_Gibbs_sampling) probabilistic programming language in Julia.</p>
164+
165+
:::
166+
167+
::: {.package-card .box #core-card}
168+
169+
##### [TuringGLM.jl <i class="bi bi-box-arrow-up-right" style="font-size: 0.4em;"></i>](https://turinglang.org/TuringGLM.jl/){.panel-title}
170+
171+
<p>Bayesian Generalized Linear models using [`@formula`](https://turinglang.org/TuringGLM.jl/stable/#@formula) syntax and returns an instantiated [Turing](https://github.com/TuringLang/Turing.jl) model.</p>
172+
173+
:::
174+
175+
176+
::: {.package-card .box #core-card}
177+
178+
##### [AdvancedHMC.jl <i class="bi bi-box-arrow-up-right" style="font-size: 0.4em;"></i>](https://turinglang.org/AdvancedHMC.jl/){.panel-title}
179+
180+
<p>Robust, modular, and efficient implementation of advanced Hamiltonian Monte Carlo(HMC) algorithms.</p>
181+
182+
:::
183+
184+
:::::
185+
186+
::: {.mobile-only-button-container}
187+
```{=html}
188+
<a href="/library" class="button btn">Explore Ecosystem &rarr;</a>
189+
```
190+
:::
191+
<!-- Core Packages Section Ends Here-->
192+
193+
194+
<!-- News & Updates Section -->
195+
:::: {.section-header .section-start-space}
196+
197+
::: {#news}
198+
199+
### News & Updates {#news-updates}
200+
201+
<p class="text-muted">Read the latest from the Turing team.</p>
202+
203+
:::
204+
125205
```{=html}
126-
<!-- News & Updates Section -->
127-
<div class="section-header section-start-space">
128-
<div>
129-
<h3 id="news-updates">News & Updates</h3>
130-
<p class="text-muted">Read the latest from the Turing team.</p>
131-
</div>
132-
<a href="news/" class="button desktop-only-button">View more &rarr;</a>
133-
</div>
206+
<a href="news/" class="button desktop-only-button">View more &rarr;</a>
134207
```
208+
::::
135209

136210
::: {#news-and-updates}
137211
:::
138212

213+
::: {.mobile-only-button-container}
139214
```{=html}
140-
<div class="mobile-only-button-container">
141-
<a href="news/" class="button">View more &rarr;</a>
142-
</div>
215+
<a href="news/" class="button">View more &rarr;</a>
143216
```
217+
:::
218+
<!-- News & Updates Section Ends Here-->
219+
220+
221+
<!-- Featured Tutorials Section -->
222+
::: {.section-header .section-start-space}
144223

224+
::: {#tutorials}
145225

226+
### Featured Tutorials {#featured-tutorials}
227+
228+
<p class="text-muted">A selection of tutorials to get you started.</p>
229+
230+
:::
146231
```{=html}
147-
<!-- Featured Tutorials Section -->
148-
<div class="section-header section-start-space">
149-
<div>
150-
<h3 id="featured-tutorials">Featured Tutorials</h3>
151-
<p class="text-muted">A selection of tutorials to get you started.</p>
152-
</div>
153-
<a href="https://turinglang.org/docs/tutorials/" class="button desktop-only-button">View all tutorials &rarr;</a>
154-
</div>
232+
<a href="https://turinglang.org/docs/tutorials/" class="button desktop-only-button">View all tutorials &rarr;</a>
155233
```
234+
:::
156235

157236
::: {#featured-tutorials}
158237
:::
159238

239+
::: {.mobile-only-button-container}
160240
```{=html}
161-
<div class="mobile-only-button-container">
162-
<a href="https://turinglang.org/docs/tutorials/" class="button">View all tutorials &rarr;</a>
163-
</div>
241+
<a href="https://turinglang.org/docs/tutorials/" class="button">View all tutorials &rarr;</a>
164242
```
243+
:::
244+
<!-- Featured Tutorials Section End Here -->
165245

246+
<!-- Citations Section -->
166247
<div class="section-start-space section-end-space">
167248

168249
{{< include _includes/citation/cite.qmd >}}
169250

170251
</div>
252+
<!-- Citations Section Ends Here-->
171253

172254
::::::

theming/styles.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,10 +402,11 @@ code {
402402
}
403403

404404
.unified-card-body {
405-
padding: 1.5rem;
405+
padding: 1rem;
406406
flex-grow: 1;
407407
display: flex;
408408
flex-direction: column;
409+
padding-bottom: 0%;
409410
}
410411

411412
.unified-card-title {
@@ -701,6 +702,7 @@ code {
701702

702703
.unified-card-body {
703704
padding: 1.25rem;
705+
padding-bottom: 0%;
704706
}
705707

706708
.unified-card-footer {

0 commit comments

Comments
 (0)