File tree 3 files changed +18
-16
lines changed
3 files changed +18
-16
lines changed Original file line number Diff line number Diff line change @@ -36,19 +36,21 @@ class Nav extends React.PureComponent {
36
36
< a href = "#features" > FEATURES</ a >
37
37
</ li >
38
38
< li >
39
- < a href = "#download" > DOWNLOAD</ a >
39
+ < a href = "#download" >
40
+ DOWNLOAD< i class = "fas fa-download" > </ i >
41
+ </ a >
40
42
</ li >
41
43
{ configs . app_github_url && (
42
44
< li >
43
45
< a href = { configs . app_github_url } >
44
- GitHub < i className = "fab fa-github" />
46
+ GITHUB < i className = "fab fa-github" />
45
47
</ a >
46
48
</ li >
47
49
) }
48
50
{ configs . community_website && (
49
51
< li >
50
52
< a href = { configs . community_website } >
51
- Community < i className = "fas fa-comments" />
53
+ COMMUNITY < i className = "fas fa-comments" />
52
54
</ a >
53
55
</ li >
54
56
) }
Original file line number Diff line number Diff line change @@ -80,11 +80,6 @@ export default createGlobalStyle`
80
80
border-radius: 0px 0px 40px 40px;
81
81
}
82
82
83
- .headerBackground {
84
- height: 115px;
85
- background-color: ${ configs . header_background } ;
86
- }
87
-
88
83
.container {
89
84
// Set up the container for the site content
90
85
display: grid;
@@ -122,7 +117,12 @@ export default createGlobalStyle`
122
117
123
118
header {
124
119
display: flex;
120
+ padding: 0px 50px;
121
+ position: sticky;
122
+ top: 0;
125
123
width: 100%;
124
+ background-color: ${ configs . header_background } ;
125
+ z-index: 2;
126
126
}
127
127
128
128
.logo {
Original file line number Diff line number Diff line change @@ -93,22 +93,22 @@ class IndexPage extends React.PureComponent {
93
93
< Layout >
94
94
< SEO title = "Home" keywords = { configs . app_keywords } />
95
95
96
+ < Nav data = { data } />
96
97
< div
97
98
className = "imageWrapper"
98
99
style = { {
99
100
background : configs . main_color ,
100
101
} }
101
102
>
102
- < div className = "headerBackground" >
103
- < div className = "container" >
104
- < Nav data = { data } />
105
- < Header data = { data } version = { version } />
106
- < Features />
107
- < Changelog releaseNotes = { releaseNotes } />
108
- < Footer />
109
- </ div >
103
+ < div className = "container" >
104
+ < Header data = { data } version = { version } />
110
105
</ div >
111
106
</ div >
107
+ < div className = "container" >
108
+ < Features />
109
+ < Changelog releaseNotes = { releaseNotes } />
110
+ < Footer />
111
+ </ div >
112
112
</ Layout >
113
113
)
114
114
}
You can’t perform that action at this time.
0 commit comments