spee.ch/client/reducers/site.js

35 lines
554 B
JavaScript
Raw Normal View History

const siteConfig = require('../../config/siteConfig.js');
const {
analytics: {
googleId: googleAnalyticsId,
},
assetDefaults: {
thumbnail: defaultThumbnail,
description: defaultDescription,
},
details: {
description,
host,
title,
twitter,
},
} = siteConfig;
2018-02-05 18:14:12 -08:00
const initialState = {
description,
2018-03-15 11:02:23 -07:00
googleAnalyticsId,
host,
title,
twitter,
defaultDescription,
defaultThumbnail,
2018-02-05 18:14:12 -08:00
};
export default function (state = initialState, action) {
switch (action.type) {
default:
return state;
}
}