Skip to content

Commit 33f35f5

Browse files
committed
Migrate blog to MDX and update index page with blog card
1 parent e495c10 commit 33f35f5

File tree

10 files changed

+2191
-918
lines changed

10 files changed

+2191
-918
lines changed

astro.config.mjs

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,25 @@
1-
import { defineConfig } from 'astro/config';
2-
import react from '@astrojs/react';
3-
import tailwind from '@astrojs/tailwind';
1+
import { defineConfig } from "astro/config";
2+
import react from "@astrojs/react";
3+
import tailwind from "@astrojs/tailwind";
4+
import mdx from "@astrojs/mdx";
45

56
export default defineConfig({
6-
site: 'https://cooperbench.com',
7-
output: 'static',
7+
site: "https://cooperbench.com",
8+
output: "static",
89
build: {
9-
format: 'file',
10+
format: "file",
1011
},
1112
integrations: [
1213
react(),
1314
tailwind({
1415
applyBaseStyles: false,
1516
}),
17+
mdx(),
1618
],
1719
vite: {
1820
resolve: {
1921
alias: {
20-
'@': '/src',
22+
"@": "/src",
2123
},
2224
},
2325
},

0 commit comments

Comments
 (0)