File tree 5 files changed +33
-23
lines changed
5 files changed +33
-23
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,9 @@ params:
32
32
# Customizable navbar. For a dropdown, add a "sublinks" list.
33
33
news :
34
34
title : NumPy News
35
+
36
+ shell :
37
+ title : placeholder
35
38
section3 :
36
39
title : CASE STUDIES
37
40
features :
Original file line number Diff line number Diff line change 11
11
{{ partial "section2.html" . }}
12
12
{{ end }}
13
13
14
+ {{ if .Site.Params.shell }}
15
+ {{ partial "shell.html" . }}
16
+ {{ end }}
17
+
14
18
{{ if .Site.Params.tabs }}
15
19
{{ partial "tabs.html" . }}
16
20
{{ end }}
37
41
{{ if .Site.Params.sidebar }}
38
42
{{ partial "sidebar.html" . }}
39
43
{{ end }}
40
- {{ end }}
44
+ {{ end }}
Original file line number Diff line number Diff line change 22
22
</ div >
23
23
</ div >
24
24
</ div >
25
- < div class ="hero-right ">
26
- < div class ="numpy-shell-canvas ">
27
- < div class ="numpy-shell-container ">
28
- {{ partial "shell-content.html" . }}
29
- <!-- Interactive Shell -->
30
- < div class ="fake-shell " id ="demo-code ">
31
- < div class ="demo-caret " aria-label ="interactive shell prompt "> ></ div >
32
- < button class ="shell-enable-button shell-button " onclick ="loadShell(); " aria-label ="Enables the interactive tutorial shell ">
33
- Enable
34
- < div class ="loader-container ">
35
- < div id ="shell-loader " class ="loader "> </ div >
36
- </ div >
37
- </ button >
38
- </ div >
39
- < div class ="real-shell " id ="numpy-shell " style ="display: none; ">
40
- < pre id ="demo-code " data-executable ="true " data-language ="python " style ="white-space: pre-line; "> import numpy as np</ pre >
41
- </ div >
42
- </ div >
43
- </ div >
44
- </ div >
45
25
</ div >
46
26
</ div >
Original file line number Diff line number Diff line change
1
+ < div class ="hero-right ">
2
+ < div class ="numpy-shell-canvas ">
3
+ < div class ="numpy-shell-container ">
4
+ < div class ="flex-column shell-title-container ">
5
+ {{ partial "shell-content.html" . }}
6
+ </ div >
7
+ <!-- Interactive Shell -->
8
+ < div class ="fake-shell " id ="demo-code ">
9
+ < div class ="demo-caret " aria-label ="interactive shell prompt "> ></ div >
10
+ < button class ="shell-enable-button shell-button " onclick ="loadShell(); " aria-label ="Enables the interactive tutorial shell ">
11
+ Enable
12
+ < div class ="loader-container ">
13
+ < div id ="shell-loader " class ="loader "> </ div >
14
+ </ div >
15
+ </ button >
16
+ </ div >
17
+ < div class ="real-shell " id ="numpy-shell " style ="display: none; ">
18
+ < pre id ="demo-code " data-executable ="true " data-language ="python " style ="white-space: pre-line; "> import numpy as np</ pre >
19
+ </ div >
20
+ </ div >
21
+ </ div >
22
+ </ div >
Original file line number Diff line number Diff line change 26
26
justify-content : center;
27
27
}
28
28
29
- .hero-container {
30
- min-height : 630px ;
29
+ .shell-title-container {
30
+ text-align : center;
31
+ margin : 15px ;
31
32
}
32
33
33
34
.hero-content {
You can’t perform that action at this time.
0 commit comments