File tree Expand file tree Collapse file tree 5 files changed +42
-15
lines changed Expand file tree Collapse file tree 5 files changed +42
-15
lines changed Original file line number Diff line number Diff line change
1
+ - title : Docs
2
+ link : /documentation/
3
+ - title : Community
4
+ link : /community/
5
+ - title : Packages
6
+ link : /packages/
7
+ - title : Blog
8
+ link : /blog/
9
+ - title : Install
10
+ link : /install/
Original file line number Diff line number Diff line change 1
1
< footer class ="global-footer ">
2
2
< div class ="container ">
3
3
< div class ="footer-navigation-container ">
4
- < div class ="notes ">
5
- < a class ="logo " href ="/ " title ="Swift.org "> {% include new-includes/header/logo.html %} </ a >
6
- </ div >
4
+ {% include new-includes/footer/navigations/main.html %}
7
5
8
6
{% include new-includes/footer/navigations/tools.html %}
9
7
Original file line number Diff line number Diff line change
1
+ < nav aria-label ="Main ">
2
+ < a class ="logo " href ="/ " title ="Swift.org "> {% include new-includes/header/logo.html %} </ a >
3
+
4
+ < ul >
5
+ {% for item in site.data.new-data.footer.main-navigation %}
6
+ < li class ="item {% if page.url == item.url %}active{% endif %} ">
7
+ < a href ="{{ item.link }} " data-text ="{{ item.title }} "> {{ item.title }}</ a >
8
+ </ li >
9
+ {% endfor %}
10
+ </ ul >
11
+ </ nav >
Original file line number Diff line number Diff line change @@ -30,27 +30,29 @@ footer.global-footer {
30
30
flex-wrap : wrap ;
31
31
margin-bottom : 5em ;
32
32
33
- .notes {
34
- .logo {
35
- display : flex ;
36
- width : 116 px ;
33
+ .logo {
34
+ display : flex ;
35
+ height : 36 px ;
36
+ margin-bottom : 15 px ;
37
37
38
- svg {
39
- flex : 1 ;
40
- }
38
+ svg {
39
+ height : 100 % ;
40
+ }
41
41
42
- #logotype {
43
- fill : #ebecf0 ;
44
- }
45
- }
42
+ #logotype {
43
+ fill : #ebecf0 ;
44
+ }
46
45
}
47
46
48
47
h3 {
48
+ height : 36px ;
49
49
margin-bottom : 15px ;
50
50
color : #FCA76C ;
51
51
font-size : 1.17em ;
52
52
line-height : 1.2 ;
53
53
font-weight : bold ;
54
+ display : flex ;
55
+ align-items : center ;
54
56
}
55
57
56
58
nav {
Original file line number Diff line number Diff line change 5
5
align-items : center ;
6
6
margin-bottom : 3em ;
7
7
8
- .notes . logo {
8
+ .logo {
9
9
margin-bottom : 3em ;
10
10
}
11
11
12
+ h3 {
13
+ height : auto ;
14
+ display : block ;
15
+ align-items : unset ;
16
+ }
17
+
12
18
nav {
13
19
text-align : center ;
14
20
margin-bottom : 30px ;
You can’t perform that action at this time.
0 commit comments