Skip to content

Commit

Permalink
Merge pull request #10 from chaitin/fe-new-home
Browse files Browse the repository at this point in the history
feat: home page
  • Loading branch information
phxa1 authored Dec 22, 2023
2 parents 37b7d40 + 2b1e3fc commit 8d99b4d
Show file tree
Hide file tree
Showing 70 changed files with 1,894 additions and 1,281 deletions.
17 changes: 9 additions & 8 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
/** @type {import('next').NextConfig} */
const withPlugins = require('next-compose-plugins');
const withTM = require('next-transpile-modules')(['react-syntax-highlighter']);
const withFonts = require('next-fonts');

const nextConfig = withPlugins([withTM], {
const nextConfig = withPlugins([withFonts, withTM], {
reactStrictMode: false,
output: 'export',
images: {
Expand All @@ -11,14 +12,14 @@ const nextConfig = withPlugins([withTM], {
basePath: '/tools',
async redirects() {
return [
{
source: '/',
destination: '/tools',
basePath: false,
permanent: true
}
{
source: '/',
destination: '/tools',
basePath: false,
permanent: true
}
]
}
}
});

module.exports = nextConfig;
Loading

0 comments on commit 8d99b4d

Please sign in to comment.