-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
58 lines (53 loc) · 1.53 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
49
50
51
52
53
54
55
56
57
58
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
import react from "@astrojs/react";
import expressiveCode from "astro-expressive-code";
import tailwind from "@astrojs/tailwind";
import node from "@astrojs/node";
/** @type {import('astro-expressive-code').AstroExpressiveCodeOptions} */
const astroExpressiveCodeOptions = {
// Example: Change the theme to "dracula"
// theme: 'dracula',
styleOverrides: {
codeFontSize: "1.1rem"
}
};
// https://astro.build/config
export default defineConfig({
integrations: [starlight({
title: "at re:Invent Guide",
components: {
Hero: "/src/components/hero.astro"
},
favicon: '/src/assets/img/osmo.png',
logo: {
dark: "/src/assets/img/ToggleTunes.png",
light: "/src/assets/img/ToggleTunes.png"
},
customCss: ["./src/styles/custom.css", "./src/styles/index.module.css", "./src/tailwind.css"],
social: {
github: "https://github.com/launchdarkly-labs/talkin-ship-workshop-guide"
},
sidebar: [{
label: "Intro - Queue Up The Track!",
link: "/introduction"
}, {
label: "Task List",
// Autogenerate a group of links for the 'guides' directory.
autogenerate: {
directory: "workshop"
}
}]
}), react(), expressiveCode(astroExpressiveCodeOptions), tailwind()],
name: "LaunchDarkly ToggleTunes Booth Experience",
base: "/",
trailingSlash: "never",
output: "hybrid",
adapter: node({
mode: 'standalone',
}),
server: {
port: 3000,
host: true
}
});