feat: Update footer layout, add social media links, and improve styling

This commit is contained in:
mauro-balades
2024-09-02 18:43:52 +02:00
parent 7071eed755
commit 44a697ee49
4 changed files with 39 additions and 16 deletions

View File

@@ -1,7 +1,9 @@
const createNextIntlPlugin = require('next-intl/plugin');
const { PHASE_DEVELOPMENT_SERVER } = require('next/constants')
const withNextIntl = createNextIntlPlugin();
/** @type {import('next').NextConfig} */
const nextConfig = (phase, { defaultConfig }) => {
const defaultConfigWWW = {
@@ -29,18 +31,6 @@ const nextConfig = (phase, { defaultConfig }) => {
compiler: {
styledComponents: true,
},
webpack: (
config,
{ buildId, dev, isServer, defaultLoaders, nextRuntime, webpack }
) => {
// Important: return the modified config
return {
output: {
// ...
globalObject: 'this',
},
}
},
};
if (phase === PHASE_DEVELOPMENT_SERVER) {
return {
@@ -55,4 +45,4 @@ const nextConfig = (phase, { defaultConfig }) => {
};
};
module.exports = nextConfig;
module.exports = withNextIntl(nextConfig);