feat: add content layer

Add blog pages

Add privacy page
This commit is contained in:
David Nguyen
2023-07-27 18:29:22 +10:00
committed by Mythie
parent bc425abe35
commit 154ef26465
23 changed files with 6318 additions and 2188 deletions

View File

@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const path = require('path');
const { withContentlayer } = require('next-contentlayer');
const { parsed: env } = require('dotenv').config({
path: path.join(__dirname, '../../.env.local'),
@ -12,4 +13,4 @@ const config = {
env,
};
module.exports = config;
module.exports = withContentlayer(config);