mirror of
https://github.com/sern-handler/website
synced 2026-06-06 01:16:47 +00:00
feat: add DISCORD_URL constant
This commit is contained in:
@@ -5,13 +5,14 @@ import tailwind from "@astrojs/tailwind";
|
||||
import starlightTypeDoc, { typeDocSidebarGroup } from 'starlight-typedoc';
|
||||
|
||||
export const GITHUB_URL = 'https://github.com/sern-handler';
|
||||
export const DISCORD_URL = 'https://discord.gg/DwbF5H5JgQ';
|
||||
|
||||
export default defineConfig({
|
||||
integrations: [starlight({
|
||||
title: 'sern',
|
||||
social: {
|
||||
github: GITHUB_URL,
|
||||
discord: 'https://discord.gg/DwbF5H5JgQ',
|
||||
discord: DISCORD_URL,
|
||||
},
|
||||
editLink: {
|
||||
baseUrl: GITHUB_URL + '/website/edit/main/',
|
||||
|
||||
@@ -1 +1,5 @@
|
||||
<meta http-equiv="refresh" content="0; url=https://discord.gg/DwbF5H5JgQ" />
|
||||
---
|
||||
import { DISCORD_URL } from '../../astro.config.mjs'
|
||||
---
|
||||
|
||||
<meta http-equiv="refresh" content={`0; url=${DISCORD_URL}`} />
|
||||
|
||||
Reference in New Issue
Block a user