-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
45 lines (44 loc) · 1.2 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
// @ts-check
import { defineConfig } from 'astro/config'
import starlight from '@astrojs/starlight'
import react from '@astrojs/react'
import tailwind from '@astrojs/tailwind'
// https://astro.build/config
export default defineConfig({
site: 'https://cmubig.github.io',
integrations: [
starlight({
title: 'BIG',
favicon: '/cmubig.svg',
// logo: {
// src: './src/assets/my-logo.svg',
// },
social: {
twitter: 'https://twitter.com/jeanoh',
github: 'https://github.com/cmubig',
youtube: 'https://www.youtube.com/c/JeanohOrg',
},
sidebar: [
{ slug: 'people' },
{ slug: 'publications' },
{
slug: 'research',
label: 'Research',
autogenerate: { directory: 'research' },
},
{ slug: 'talks', label: 'Talks' },
{ slug: 'teaching' },
],
// credits: true,
pagination: false,
components: {
// Override the default components.
Header: './src/components/Header.astro',
Footer: './src/components/Footer.astro',
},
customCss: ['./src/tailwind.css'],
}),
react(),
tailwind({ applyBaseStyles: false }),
],
})