-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
88 lines (82 loc) · 2.74 KB
/
Copy pathastro.config.mjs
File metadata and controls
88 lines (82 loc) · 2.74 KB
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
// astro.config.mjs
import { defineConfig } from "astro/config";
import starlight from "@astrojs/starlight";
export default defineConfig({
integrations: [
starlight({
title: "OpenHack Guide",
logo: {
src: "./src/assets/logo.inline.js",
alt: "OpenHack",
replacesTitle: true,
},
favicon: "/logo.svg",
customCss: ["./src/styles/zinc-theme.css"],
components: {
PageTitle: "./src/components/PageTitle.astro",
},
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/OpenLabsRo",
},
],
sidebar: [
// — General —
{
label: "General",
items: [
{ label: "Summary", slug: "summary" }, // summary.md
{ label: "Packing List", slug: "packing-list" }, // packing-list.md
{ label: "Location & Venue", slug: "location-venue" }, // location-venue.md
{ label: "Check-In", slug: "check-in" }, // check-in.md
{ label: "Agenda", slug: "agenda" }, // agenda.md
{ label: "Transportation", slug: "transportation" }, // transportation.md
{ label: "Perks", slug: "perks" }, // perks.md
],
},
// — Hacking —
{
label: "Hacking",
items: [
{ label: "Challenge Info", slug: "challenge-info" }, // challenge-info.md
{ label: "Resources", slug: "resources" }, // resources.md
{ label: "Judging Process", slug: "judging-process" }, // judging-process.md
{ label: "Submissions", slug: "submissions" }, // submissions.md
{ label: "Pitching", slug: "pitching" }, // pitching.md
],
},
// — Safety Rules —
{
label: "Safety Rules",
items: [
{
label: "First Aid and Security",
slug: "first-aid-security",
}, // first-aid-security.md
{ label: "Code of Conduct", slug: "code-of-conduct" }, // code-of-conduct.md
{ label: "OpenHack rules", slug: "openhack-rules" }, // openhack-rules.md
],
},
// — Relax and Recharge —
{
label: "Relax and Recharge",
items: [
{ label: "Food and drinks", slug: "food-and-drinks" }, // food-and-drinks.md
],
},
// — After the event —
{
label: "After the event",
items: [
{ label: "Photos & Videos", slug: "photos-videos" }, // photos-videos.md
{ label: "Prizes", slug: "prizes" }, // photos-videos.md
],
},
],
// Optional niceties
// search is on by default; dark mode too
}),
],
});