Skip to content

Commit 5003445

Browse files
remove logo animation, add news and tuturials, add core packages, improve overall responsiveness
1 parent 573bc34 commit 5003445

File tree

4 files changed

+235
-205
lines changed

4 files changed

+235
-205
lines changed

_includes/header.qmd

Lines changed: 9 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,12 @@
11
```{=html}
2-
<div class="line-graph">
3-
<div class="upper-content">
4-
<div class="responsive-heading">Turing.jl</div>
5-
</div>
6-
<div>
7-
<svg viewBox="0 0 2300 498" xmlns="http://www.w3.org/2000/svg">
8-
<path class="line line1"
9-
d="M0 487 C1155.53 487 1320.502 502.995 1391.761 461.5C1453.584 425.5 1467.657 399 1509.375 344.5C1551.093 290 1586.276 213 1645.586 213C1704.895 213 1776.77 350.5 1806.425 389C1875.39 478.535 1871.263 486.5 2300 487"/>
10-
<path class="line line2"
11-
d="M0 486.5 C223.96 486.5 883.72 484.016 977.94 484.016C1163.36 484.016 1183.85 461.682 1249.81 287.031C1283.73 197.222 1311.724 96 1349.948 96C1388.171 96 1418.291 219.36 1447.552 292.5C1536.356 514.469 1548.077 486 1734.55 486C1921.023 486 2087.346 485.5 2300 485.5"/>
12-
<path class="line line3"
13-
d="M0 487 C108.32 487 672.77 486.499 783.26 486.499C893.75 486.499 943.04 486.499 1051.36 486.499C1135.3 486.499 1218.74 489.327 1241.95 469.982C1293.57 426.95 1311.015 327.407 1328.845 262.111C1356 162.661 1377.725 8 1409.818 8C1441.911 8 1472.715 193.386 1490.888 262.111C1509.06 330.837 1526.835 423.687 1568.803 460.973C1600.671 489.286 1631.508 486.499 1722.851 486.499C1816.509 486.499 1890.44 486.499 1991.446 486.499C2092.453 486.499 2198.993 486.499 2300 486.499"/>
14-
</svg>
15-
</div>
16-
</div>
17-
```
18-
19-
```{=html}
20-
<span class="display-6 d-block text-center py-5 display-md-5 display-lg-4">
21-
Bayesian inference with probabilistic programming
22-
</span>
23-
<div class="d-flex flex-column align-items-center gap-0 pb-3">
24-
<a href="https://turinglang.org/docs/tutorials/docs-00-getting-started/" class="button btn fs-4">
25-
Tutorials
26-
</a>
27-
</div>
28-
<div class="d-flex flex-column align-items-center gap-0 pb-5">
29-
<div class="d-flex flex-row flex-wrap panel-wrapper gap-2">
30-
<a href="https://julialang.slack.com/archives/CCYDC34A0" class="button btn" style="width: 100px;">
31-
Slack
32-
</a>
33-
<a href="https://discourse.julialang.org/c/domain/probprog/48" class="button btn">
34-
Discourse
35-
</a>
36-
<a href="https://github.com/TuringLang" class="button btn" style="width: 100px;">
37-
GitHub
38-
</a>
2+
<div class="hero-section">
3+
<div class="hero-content text-center">
4+
<h1 class="hero-title">Turing.jl</h1>
5+
<p class="hero-subtitle">A powerful and flexible probabilistic programming language for Julia.</p>
6+
<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>
9+
</div>
3910
</div>
4011
</div>
41-
```
12+
```

index.qmd

Lines changed: 45 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,22 +88,59 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
8888
</div>
8989
```
9090

91-
<div class="side-space-news section-start-space">
91+
```{=html}
92+
<!-- Core Packages Section -->
93+
<div class="section-header section-start-space">
94+
<div>
95+
<h3 id="core-packages">Core Packages</h3>
96+
<p class="text-muted">The Turing ecosystem is built on a foundation of powerful, composable packages.</p>
97+
</div>
98+
<a href="/library" class="button btn desktop-only-button">Explore Ecosystem &rarr;</a>
99+
</div>
100+
101+
<div class="core-packages-grid section-end-space">
102+
<div class="package-card box">
103+
<h5 class="panel-title">DynamicPPL.jl</h5>
104+
<p>The backend for model specification and inference.</p>
105+
</div>
106+
<div class="package-card box">
107+
<h5 class="panel-title">JuliaBUGS.jl</h5>
108+
<p>A BUGS-like DSL for defining and fitting Bayesian models.</p>
109+
</div>
110+
<div class="package-card box">
111+
<h5 class="panel-title">TuringGLM.jl</h5>
112+
<p>Bayesian generalized linear models (GLMs) with Turing.</p>
113+
</div>
114+
<div class="package-card box">
115+
<h5 class="panel-title">AdvancedHMC.jl</h5>
116+
<p>An efficient implementation of Hamiltonian Monte Carlo.</p>
117+
</div>
118+
</div>
119+
<div class="mobile-only-button-container">
120+
<a href="/library" class="button btn">Explore Ecosystem &rarr;</a>
121+
</div>
122+
```
92123

93124
```{=html}
94125
<!-- News & Updates Section -->
95-
<div class="section-header">
126+
<div class="section-header section-start-space">
96127
<div>
97128
<h3 id="news-updates">News & Updates</h3>
98129
<p class="text-muted">Read the latest from the Turing team.</p>
99130
</div>
100-
<a href="news/" class="button">View more &rarr;</a>
131+
<a href="news/" class="button desktop-only-button">View more &rarr;</a>
101132
</div>
102133
```
103134

104135
::: {#news-and-updates}
105136
:::
106137

138+
```{=html}
139+
<div class="mobile-only-button-container">
140+
<a href="news/" class="button">View more &rarr;</a>
141+
</div>
142+
```
143+
107144

108145
```{=html}
109146
<!-- Featured Tutorials Section -->
@@ -112,15 +149,18 @@ Turing is written entirely in Julia, and is interoperable with its powerful ecos
112149
<h3 id="featured-tutorials">Featured Tutorials</h3>
113150
<p class="text-muted">A selection of tutorials to get you started.</p>
114151
</div>
115-
<a href="https://turinglang.org/docs/tutorials/" class="button">View all tutorials &rarr;</a>
152+
<a href="https://turinglang.org/docs/tutorials/" class="button desktop-only-button">View all tutorials &rarr;</a>
116153
</div>
117154
```
118155

119156
::: {#featured-tutorials}
120157
:::
121158

122-
159+
```{=html}
160+
<div class="mobile-only-button-container">
161+
<a href="https://turinglang.org/docs/tutorials/" class="button">View all tutorials &rarr;</a>
123162
</div>
163+
```
124164

125165
<div class="section-start-space">
126166

0 commit comments

Comments
 (0)