Skip to content

Commit 1b5dd55

Browse files
committed
Use PST style tables (rm uikit)
1 parent d8a338c commit 1b5dd55

File tree

2 files changed

+33
-18
lines changed

2 files changed

+33
-18
lines changed

layouts/partials/head.html

Lines changed: 0 additions & 3 deletions
This file was deleted.

layouts/partials/tabs.html

Lines changed: 33 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,39 @@
44
<div class="container">
55
<h1 class="tabs-title">{{ $title }}</h1>
66

7-
<div class="uikit-tab-wrapper">
8-
<ul class="uk-flex-center uk-nav" uk-tab>
9-
<li class="uk-active"><a href="#">Scientific Domains</a></li>
10-
<li><a href="#">Array libraries</a></li>
11-
<li><a href="#">Data Science</a></li>
12-
<li><a href="#">Machine Learning</a></li>
13-
<li><a href="#">Visualization</a></li>
14-
</ul>
15-
<ul id="tabs-content" class="uk-switcher uk-margin">
16-
{{ partial "scientific-domains.html" . }}
17-
{{ partial "array-libraries.html" . }}
18-
{{ partial "data-science.html" . }}
19-
{{ partial "machine-learning.html" . }}
20-
{{ partial "visualization.html" . }}
21-
</ul>
7+
<div class="tabs">
8+
<div role="tablist" class="automatic">
9+
<button id="0-tab-0" type="button" role="tab" aria-selected="true" aria-controls="0-tabpanel-0">
10+
Scientific Domains
11+
</button>
12+
<button id="0-tab-1" type="button" role="tab" aria-selected="false" aria-controls="0-tabpanel-1">
13+
Array libraries
14+
</button>
15+
<button id="0-tab-2" type="button" role="tab" aria-selected="false" aria-controls="0-tabpanel-2">
16+
Data Science
17+
</button>
18+
<button id="0-tab-3" type="button" role="tab" aria-selected="false" aria-controls="0-tabpanel-3">
19+
Machine Learning
20+
</button>
21+
<button id="0-tab-4" type="button" role="tab" aria-selected="false" aria-controls="0-tabpanel-4">
22+
Visualization
23+
</button>
24+
</div>
25+
<div id="0-tabpanel-0" role="tabpanel" tabindex="0" aria-labelledby="$0-tab-0">
26+
{{ partial "scientific-domains.html" . }}
27+
</div>
28+
<div id="0-tabpanel-1" role="tabpanel" tabindex="0" aria-labelledby="$0-tab-1">
29+
{{ partial "array-libraries.html" . }}
30+
</div>
31+
<div id="0-tabpanel-2" role="tabpanel" tabindex="0" aria-labelledby="$0-tab-2">
32+
{{ partial "data-science.html" . }}
33+
</div>
34+
<div id="0-tabpanel-3" role="tabpanel" tabindex="0" aria-labelledby="$0-tab-3">
35+
{{ partial "machine-learning.html" . }}
36+
</div>
37+
<div id="0-tabpanel-4" role="tabpanel" tabindex="0" aria-labelledby="$0-tab-4">
38+
{{ partial "visualization.html" . }}
39+
</div>
2240
</div>
2341
</div>
2442
</section>

0 commit comments

Comments
 (0)