34 lines
554 B
JavaScript
34 lines
554 B
JavaScript
const siteConfig = require('../../config/siteConfig.js');
|
|
|
|
const {
|
|
analytics: {
|
|
googleId: googleAnalyticsId,
|
|
},
|
|
assetDefaults: {
|
|
thumbnail: defaultThumbnail,
|
|
description: defaultDescription,
|
|
},
|
|
details: {
|
|
description,
|
|
host,
|
|
title,
|
|
twitter,
|
|
},
|
|
} = siteConfig;
|
|
|
|
const initialState = {
|
|
description,
|
|
googleAnalyticsId,
|
|
host,
|
|
title,
|
|
twitter,
|
|
defaultDescription,
|
|
defaultThumbnail,
|
|
};
|
|
|
|
export default function (state = initialState, action) {
|
|
switch (action.type) {
|
|
default:
|
|
return state;
|
|
}
|
|
}
|