move website to own directory

This commit is contained in:
Rene Haas
2022-10-17 22:12:54 +02:00
parent f47e2728f7
commit 83e7ffcd3a
49 changed files with 4310 additions and 363 deletions
+34
View File
@@ -0,0 +1,34 @@
import mdx from '@next/mdx';
import rehypePrettyCode from 'rehype-pretty-code';
import rehypeSlug from 'rehype-slug';
import remarkGfm from 'remark-gfm';
/** @type {import('next').NextConfig} */
const withMDX = mdx({
extension: /\.mdx?$/,
options: {
remarkPlugins: [remarkGfm],
rehypePlugins: [
rehypeSlug,
[
rehypePrettyCode,
{
theme: 'solarized-light',
},
],
],
providerImportSource: '@mdx-js/react',
},
});
const nextConfig = {
reactStrictMode: true,
swcMinify: true,
images: {
unoptimized: true,
},
pageExtensions: ['js', 'jsx', 'ts', 'tsx', 'md', 'mdx'],
};
export default withMDX(nextConfig);