Skip to content

Commit

Permalink
Add blog for Splitpro (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
KMKoushik authored Mar 24, 2024
1 parent 9fd8f7d commit f731e52
Show file tree
Hide file tree
Showing 7 changed files with 2,454 additions and 68 deletions.
10 changes: 9 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable @typescript-eslint/ban-ts-comment */
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
/**
Expand All @@ -9,6 +10,8 @@ await import('./src/env.js');
/** @type {import("next").NextConfig} */

import pwa from 'next-pwa';
// @ts-ignore
import nextra from 'nextra';

// eslint-disable-next-line @typescript-eslint/no-unsafe-call
const withPwa = pwa({
Expand Down Expand Up @@ -50,4 +53,9 @@ const config = {
},
};

export default withPwa(config);
const withNextra = nextra({
theme: 'nextra-theme-blog',
themeConfig: './theme.config.jsx',
});

export default withNextra(withPwa(config));
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
"next-auth": "^4.24.5",
"next-pwa": "^5.6.0",
"next-themes": "^0.2.1",
"nextra": "^2.13.4",
"nextra-theme-blog": "^2.13.4",
"nodemailer": "^6.9.8",
"react": "18.2.0",
"react-day-picker": "^8.10.0",
Expand Down
Loading

0 comments on commit f731e52

Please sign in to comment.