Skip to content

Commit

Permalink
Centered munu items in homepage footer (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap authored Jun 16, 2021
1 parent 7e3b998 commit 31f9991
Show file tree
Hide file tree
Showing 288 changed files with 349 additions and 217 deletions.
3 changes: 2 additions & 1 deletion geonode_mapstore_client/client/js/components/Menu/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ Menu.defaultProps = {
items: [],
query: {},
user: undefined,
formatHref: () => '#'
formatHref: () => '#',
containerClass: ''
};


Expand Down
8 changes: 3 additions & 5 deletions geonode_mapstore_client/client/js/components/home/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,9 @@ const Footer = forwardRef(({
className="gn-footer"
style={style}
>
<div>
<Menu
items={footerItems}
/>
</div>
<Menu
items={footerItems}
/>
</footer>
);
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,15 @@
z-index: 18;
padding: 0.5rem;
width: 100%;
display: flex;
align-items: center;
ul {
list-style-type: none;
padding: 0;
margin: 0;
display: flex;
flex-wrap: wrap;
margin: auto;
width: 100%;
li {
padding: 0;
margin: 0;
Expand Down
2 changes: 1 addition & 1 deletion geonode_mapstore_client/client/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
geonode-mapstore-client-v2.0.9-5f925682906987ce436be979b619843993bb5b14
geonode-mapstore-client-v2.0.9-d53571f0c57c61a426b944bc867188d6cb33a145
83 changes: 23 additions & 60 deletions geonode_mapstore_client/static/mapstore/configs/localConfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,15 @@
"filter{is_approved}": false
},
"authenticated": true
},
{
"id": "favorite",
"labelId": "gnhome.favorites",
"type": "filter",
"query": {
"favorite": true
},
"authenticated": true
}
]
},
Expand Down Expand Up @@ -363,7 +372,7 @@
"logo": [
{
"src": "/static/mapstore/img/geonode-logo.svg",
"href": "#/"
"href": "/"
}
],
"items": [
Expand Down Expand Up @@ -2671,9 +2680,6 @@
{
"name": "Expander"
},
{
"name": "BurgerMenu"
},
{
"name": "MapFooter",
"override": {
Expand Down Expand Up @@ -2823,12 +2829,6 @@
{
"name": "Notifications"
},
{
"name": "Share",
"cfg": {
"pathTemplate": "/maps/{id}/embed"
}
},
{
"name": "Locate"
}
Expand Down Expand Up @@ -2918,6 +2918,8 @@
{
"name": "Map",
"cfg": {
"shouldLoadFont": false,
"fonts": [],
"tools": [
"measurement",
"draw",
Expand Down Expand Up @@ -3009,14 +3011,6 @@
{
"name": "Expander"
},
{
"name": "BurgerMenu",
"override": {
"ViewerLayout": {
"priority": 1
}
}
},
{
"name": "MapFooter",
"override": {
Expand Down Expand Up @@ -3087,12 +3081,7 @@
"name": "ScaleBox"
},
{
"name": "FeatureEditor",
"override": {
"ViewerLayout": {
"priority": 1
}
}
"name": "FeatureEditor"
},
{
"name": "QueryPanel",
Expand Down Expand Up @@ -3182,20 +3171,10 @@
"cfg": {
"hideTitleTranslations": true,
"showFeatureInfoTab": false
},
"override": {
"ViewerLayout": {
"priority": 1
}
}
},
{
"name": "Widgets",
"override": {
"ViewerLayout": {
"priority": 1
}
}
"name": "Widgets"
},
{
"name": "WidgetsTray",
Expand Down Expand Up @@ -3269,27 +3248,6 @@
{ "name": "ViewerLayout" },
{ "name": "ActionNavbar" },
{ "name": "BrandNavbar" },
{
"name": "OmniBar",
"cfg": {
"disablePluginIf": "{!!(state('browser') && state('browser').mobile)}",
"containerPosition": "header",
"className": "navbar shadow navbar-home"
},
"override": {
"ViewerLayout": {
"priority": 1
}
}
},
{
"name": "BurgerMenu",
"override": {
"ViewerLayout": {
"priority": 1
}
}
},
{
"name": "GeoStory",
"cfg": {
Expand Down Expand Up @@ -3355,12 +3313,16 @@
{
"name": "GeoStoryEditor",
"cfg": {
"disablePluginIf": "{!!(state('browser') && state('browser').mobile)}",
"containerPosition": "columns"
"disablePluginIf": "{!!(state('browser') && state('browser').mobile)}"
},
"override": {
"ViewerLayout": {
"GeoStoryNavigation": {
"priority": 1
},
"ViewerLayout": {
"priority": 1,
"target": "leftColumn",
"name": "GeoStoryEditor"
}
}
},
Expand Down Expand Up @@ -3392,7 +3354,8 @@
{ "name": "ViewerLayout" },
{ "name": "ActionNavbar" },
{ "name": "BrandNavbar" },
{ "name": "DetailViewer"}
{ "name": "DetailViewer"},
{"name": "MediaViewer"}
]
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit 31f9991

Please sign in to comment.