Skip to content

Commit

Permalink
fix(site): removed sitemap customization, volto stock templates works…
Browse files Browse the repository at this point in the history
… without customizations
  • Loading branch information
ichim-david committed May 22, 2023
1 parent f9e5ef6 commit 786786d
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 167 deletions.
12 changes: 0 additions & 12 deletions src/actions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
GET_PARENT_FOLDER_DATA,
GET_LOCALNAVIGATION,
GET_CHART_DATA_FROM_VISUALIZATION,
GET_NAVSITEMAP,
SET_CURRENT_VERSION,
GET_INDEX_VALUES,
GET_CONTROLPANEL_FALLBACKS,
Expand Down Expand Up @@ -124,17 +123,6 @@ export function getChartDataFromVisualization(path) {
};
}

export function getNavSiteMap(url, depth) {
// Note: Depth can't be 0 in plone.restapi
return {
type: GET_NAVSITEMAP,
request: {
op: 'get',
path: `${url}/@navigation?expand.navigation.depth=${depth || 3}`,
},
};
}

export function getIndexValues(name) {
return {
type: GET_INDEX_VALUES,
Expand Down
80 changes: 0 additions & 80 deletions src/components/theme/SiteMap/SiteMap.jsx

This file was deleted.

1 change: 0 additions & 1 deletion src/constants/ActionTypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ export const GET_MOSAIC_SETTINGS = 'GET_MOSAIC_SETTINGS';
export const GET_LOCALNAVIGATION = 'GET_LOCALNAVIGATION';
export const GET_CHART_DATA_FROM_VISUALIZATION =
'GET_CHART_DATA_FROM_VISUALIZATION';
export const GET_NAVSITEMAP = 'GET_NAVSITEMAP';
// NEWS
export const GET_NEWS = 'GET_NEWS';
export const SET_CURRENT_VERSION = 'SET_CURRENT_VERSION';
Expand Down
1 change: 0 additions & 1 deletion src/localconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export function applyConfig(config) {
// handled differently in getBaseUrl
...config.settings.nonContentRoutes,
'/manage-slider',
'/sitemap',
'/unauthorized',
],
ownDomain: 'forest.eea.europa.eu',
Expand Down
2 changes: 0 additions & 2 deletions src/reducers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import folder_tabs from '@eeacms/volto-forest-policy/reducers/folder_tabs';
import default_header_image from '@eeacms/volto-forest-policy/reducers/default_header_image';
import parent_folder_data from '@eeacms/volto-forest-policy/reducers/parent_folder_data';
import localnavigation from '@eeacms/volto-forest-policy/reducers/localnavigation';
import navSiteMap from '@eeacms/volto-forest-policy/reducers/sitemap';
import current_version from '@eeacms/volto-forest-policy/reducers/current_version';
import cloned_type from '@eeacms/volto-forest-policy/reducers/cloned_type';
import attachments, {
Expand Down Expand Up @@ -40,7 +39,6 @@ const reducers = {
folder_tabs,
parent_folder_data,
localnavigation,
navSiteMap,
current_version,
attachments,
cloned_type,
Expand Down
71 changes: 0 additions & 71 deletions src/reducers/sitemap.js

This file was deleted.

0 comments on commit 786786d

Please sign in to comment.