Skip to content

Commit 32fd1c3

Browse files
authored
Update footer alignment (#96)
* Upgraded bootstrap to v5.2 * Updated date on footer. * Corrected row alinment of hero image icon. * Adjusted quickstart numbering offsets. * Added font-awesome v4.7. * Corrected placement of the navigation collapse button on small media devices. * Scaled banner image for small and medium devices. * Adjusted the base layout. * Updated gallery page. * Updated Dev Features page. * Updated Admin Features page. * Updated gallery page. * Aligned important link and icons using flexbox. * Aligned gallery hero content. * Aligned footer to center. * Fixed unresponsive header dropdown button. * Updated Bootstrap base JS and CSS libraries and references. * Removed obscuring text from base and footer pages. * Realigned footer text to center.
1 parent e677cae commit 32fd1c3

File tree

7 files changed

+42
-47
lines changed

7 files changed

+42
-47
lines changed

_includes/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
<section class="btm">
88
<div class="row">
9-
<div class="col-md-6">
9+
<div class="col-md-10">
1010
<p>This <a href="http://github.com/geonode/geonode.github.com/" target="_blank">Website</a> is licensed <a href='https://github.com/GeoNode/geonode/blob/master/license.txt'>CC by SA 2022.</a> - <a href='https://github.com/GeoNode/geonode/blob/master/AUTHORS'>GeoNode Contributors.</a> Designed by <a href="http://www.spatialdev.com/" target="_blank">Spatial Dev</a></p>
1111
</div>
12-
<div class="col-md-6">
12+
<div class="col-md-2">
1313
<div class="pull-right social">
1414
<a href="http://github.com/geonode/" target="_blank" alt="GitHub"><i class="fa fa-github-alt"></i></a>
1515
<a href="https://twitter.com/GeoNode" class="tw" target="_blank" alt="Twitter"><i class="fa fa-twitter"></i></a>

_includes/header.html

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,34 @@
11
<header class="main">
2-
<div class="container">
3-
<div class="row">
4-
<div class="col-md-2 col-lg-2 col-sm-3 col-xs-2"><a class="brand" href="{{ site.baseurl }}/">GeoNode</a></div>
5-
<div class="col-md-1 col-lg-1 col-sm-1 col-xs-1">
6-
<div class="btn-group nav-coll">
7-
<button type="button" class="btn-nav-coll" data-toggle="dropdown">
8-
<span class="icon-bar"></span>
9-
<span class="icon-bar"></span>
10-
<span class="icon-bar"></span>
11-
</button>
12-
<ul class="dropdown-menu">
13-
<li><a href="{{ site.baseurl }}/user_features">For Users</a></li>
14-
<li><a href="{{ site.baseurl }}/dev_features">For Developers</a></li>
15-
<li><a href="{{ site.baseurl }}/admin_features">For Admins</a></li>
16-
<li><a href="https://docs.geonode.org/en/master/usage/index.html">Workshops</a></li>
17-
<li><a href="{{ site.baseurl }}/communication/">Communication</a></li>
18-
<li><a href="{{ site.baseurl }}/faqs">FAQs</a></li>
19-
<li><a href="{{ site.baseurl }}/gallery/">Sites Gallery</a></li>
20-
<li><a href="{{ site.baseurl }}/blog/">Blog</a></li>
21-
<li><a href="https://docs.geonode.org" target="_blank">Documentation</a></li>
22-
<li><a href="http://github.com/geonode/geonode/issues" target = "_blank">Issue Tracker</a></li>
23-
<li><a href="{{ site.baseurl }}/providers/">Commercial Providers</a></li>
24-
<li><a href="{{ site.baseurl }}/jobs/">Jobs</a></li>
25-
</ul>
2+
<div class="navbar">
3+
<div class="container-fluid">
4+
<a class="brand" href="{{ site.baseurl }}/">GeoNode</a>
5+
<div class="btn-group nav-coll">
6+
<button type="button" class="btn-nav-coll" data-bs-toggle="dropdown" aria-expanded="false">
7+
<span class="icon-bar"></span>
8+
<span class="icon-bar"></span>
9+
<span class="icon-bar"></span>
10+
</button>
11+
<ul class="dropdown-menu dropdown-menu-dark" aria-labelledby="navbarDarkDropdownMenuLink">
12+
<li><a class="dropdown-item" href="{{ site.baseurl }}/user_features">For Users</a></li>
13+
<li><a class="dropdown-item" href="{{ site.baseurl }}/dev_features">For Developers</a></li>
14+
<li><a class="dropdown-item" href="{{ site.baseurl }}/admin_features">For Admins</a></li>
15+
<li><a class="dropdown-item" href="https://docs.geonode.org/en/master/usage/index.html">Workshops</a></li>
16+
<li><a class="dropdown-item" href="{{ site.baseurl }}/communication/">Communication</a></li>
17+
<li><a class="dropdown-item" href="{{ site.baseurl }}/faqs">FAQs</a></li>
18+
<li><a class="dropdown-item" href="{{ site.baseurl }}/gallery/">Sites Gallery</a></li>
19+
<li><a class="dropdown-item" href="{{ site.baseurl }}/blog/">Blog</a></li>
20+
<li><a class="dropdown-item" href="https://docs.geonode.org" target="_blank">Documentation</a></li>
21+
<li><a class="dropdown-item" href="http://github.com/geonode/geonode/issues" target = "_blank">Issue Tracker</a></li>
22+
<li><a class="dropdown-item" href="{{ site.baseurl }}/providers/">Commercial Providers</a></li>
23+
<li><a class="dropdown-item" href="{{ site.baseurl }}/jobs/">Jobs</a></li>
24+
</ul>
2625
</div>
27-
</div>
28-
<div class="col-md-7 col-lg-8 col-sm-7">
29-
<div class="pull-right">
30-
<a href="{{ site.baseurl }}/gallery" class="btn btn-success">Gallery</a>
31-
<a href="{{ site.baseurl }}/#install" class="btn btn-success">Quick Start</a>
32-
<a target="_blank" href="http://master.demo.geonode.org" class="btn btn-warning">Try the Demo</a>
33-
<a href="{{ site.baseurl }}/blog/" class="btn btn-success">Blog</a>
26+
<div class="pull-right">
27+
<a href="{{ site.baseurl }}/gallery" class="btn btn-success">Gallery</a>
28+
<a href="{{ site.baseurl }}/#install" class="btn btn-success">Quick Start</a>
29+
<a target="_blank" href="http://master.demo.geonode.org" class="btn btn-warning">Try the Demo</a>
30+
<a href="{{ site.baseurl }}/blog/" class="btn btn-success">Blog</a>
31+
</div>
3432
</div>
35-
</div>
3633
</div>
37-
</div>
38-
</header>
34+
</header>

_layouts/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<link href="https://fonts.googleapis.com/css?family={{ font }}" rel="stylesheet" type="text/css">
1919
{% endfor %}
2020
<link rel="stylesheet" href="{{site.baseurl}}/static/css/site.css" type="text/css" media="all" />
21-
<link rel="stylesheet" href="{{site.baseurl}}/static/css/bootstrap.css" type="text/css" media="all" />
21+
<link rel="stylesheet" href="{{site.baseurl}}/static/css/bootstrap.min.css" type="text/css" media="all" />
2222
<link rel="stylesheet" href="{{site.baseurl}}/static/css/font-awesome.min.css">
2323
<!-- HTML5 shim, for IE6-8 support of HTML elements -->
2424
<!--[if lt IE 9]>

static/css/bootstrap.min.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/css/site.css

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5802,15 +5802,15 @@ strong {
58025802
@media (min-width: 1200px) {
58035803
header.main {
58045804
background: #03424c;
5805-
padding: 10px 0;
5805+
padding: 1px 0;
58065806
font-family: 'Lato', sans-serif;
58075807
}
58085808

58095809
header.main a.brand {
58105810
display: block;
58115811
width: 138px;
58125812
height: 35px;
5813-
margin-top: 8px;
5813+
margin: 8px 0 0 0;
58145814
text-indent: -9999px;
58155815
background: url("../img/geonode_logo.png") no-repeat 0 0;
58165816
float: left
@@ -5825,11 +5825,11 @@ strong {
58255825

58265826
.nav-coll .btn-nav-coll {
58275827
padding: 7px 10px;
5828-
margin: 5px 0 0;
5828+
margin: 5px 1px 0 0;
58295829
background: #055f6d;
58305830
height: 40px;
58315831
border: 0;
5832-
border-radius: 2px;
5832+
border-radius: 5px;
58335833
}
58345834
}
58355835

@@ -5864,7 +5864,7 @@ strong {
58645864
background: #055f6d;
58655865
height: 40px;
58665866
border: 0;
5867-
border-radius: 2px;
5867+
border-radius: 5px;
58685868
}
58695869
}
58705870

@@ -6394,7 +6394,8 @@ footer.footer section.btm {
63946394
padding: 19px 0;
63956395
font-size: 11px;
63966396
font-family: 'Lato', sans-serif;
6397-
font-weight: 700
6397+
font-weight: 700;
6398+
text-align: center;
63986399
}
63996400

64006401
footer.footer section.btm .social a {

static/js/bootstrap.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

static/js/jquery-2.1.4.min.js

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

0 commit comments

Comments
 (0)