Skip to content
Open
Show file tree
Hide file tree
Changes from 17 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions astro/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,21 @@
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import icon from 'astro-icon';
import expressiveCode from 'astro-expressive-code';

// https://astro.build/config
export default defineConfig({
site: 'https://expressjs.com',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We still need the site.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed it by mistake. Thanks for the catch. Fixed now.

integrations: [mdx(), icon()],
markdown: {
shikiConfig: {
theme: 'github-dark',
},
},
integrations: [
expressiveCode({
themes: ['github-dark'],
styleOverrides: {
uiFontSize: 'var(--font-size-sm)',
codeFontSize: 'var(--font-size-sm)',
borderRadius: 'var(--radius-base)',
borderWidth: 'var(--border-width-1)',
},
}),
mdx(),
icon(),
],
});
203 changes: 202 additions & 1 deletion astro/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"dependencies": {
"@astrojs/mdx": "^4.3.13",
"astro": "^5.18.0",
"astro-expressive-code": "^0.41.7",
"astro-icon": "^1.1.5"
},
"devEngines": {
Expand Down
Binary file added astro/public/hero-poster-light.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added astro/public/hero-poster.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading