spee.ch/client/reducers/site.js

35 lines
541 B
JavaScript
Raw Normal View History

2018-03-29 22:39:04 +02:00
const siteConfig = require('siteConfig.js');
const {
analytics: {
googleId: googleAnalyticsId,
},
assetDefaults: {
thumbnail: defaultThumbnail,
description: defaultDescription,
},
details: {
description,
host,
title,
twitter,
},
} = siteConfig;
2018-02-06 03:14:12 +01:00
const initialState = {
description,
2018-03-15 19:02:23 +01:00
googleAnalyticsId,
host,
title,
twitter,
defaultDescription,
defaultThumbnail,
2018-02-06 03:14:12 +01:00
};
export default function (state = initialState, action) {
switch (action.type) {
default:
return state;
}
}