forked from akash-network/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.mjs
48 lines (45 loc) · 1.4 KB
/
astro.config.mjs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import { defineConfig } from "astro/config";
import remark from "remark-directive";
import { customAsidePlugin } from "./src/lib/aside/customAsidePlugin";
import astroExpressiveCode from "astro-expressive-code";
import mdx from "@astrojs/mdx";
// https://astro.build/config
export default defineConfig({
// experimental: {
// contentCollectionCache: true,
// },
redirects: {
"/ecosystem": "/ecosystem/akash-tools/latest/",
"/development": "/development/welcome/overview/",
"/community": "/community/akash-insiders/",
"/about": "/about/general-information/",
"/about/pricing": "/about/pricing/compare",
},
markdown: {
// shikiConfig: {
// theme: theme,
// },
remarkPlugins: [remark, customAsidePlugin],
},
integrations: [
tailwind(),
sitemap(),
react(),
astroExpressiveCode({
themes: ["light-plus", "dark-plus"],
useDarkModeMediaQuery: true,
themeCssSelector: (theme) => `[data-theme='${theme.name}']`,
styleOverrides: {
terminalTitlebarForeground: "var(--theme-header-bg)",
terminalTitlebarDotsForeground: "var(--three-dots-bg)",
terminalTitlebarBackground: "var(--theme-header-bg)",
terminalTitlebarDotsOpacity: "1",
},
}),
mdx(),
],
site: "https://akash.network",
});