Korbs/Contour
Archived
Template
1
Fork 0

Minor updates

This commit is contained in:
Korbs 2024-02-02 08:37:24 -05:00
parent 00f9593c3e
commit 0892f424ad
No known key found for this signature in database
5 changed files with 39 additions and 45 deletions

View file

@ -1,11 +1,12 @@
import { defineConfig } from 'astro/config'
import starlight from '@astrojs/starlight'
import { defineConfig } from 'astro/config';
import starlight from '@astrojs/starlight';
// import node from '@astrojs/node'
import astroFontPicker from 'astro-font-picker'
import vue from '@astrojs/vue'
import astroI18next from "astro-i18next"
import Compress from "astro-compress"
import astroFontPicker from 'astro-font-picker';
import vue from '@astrojs/vue';
import astroI18next from "astro-i18next";
import Compress from "astro-compress";
// https://astro.build/config
export default defineConfig({
site: 'https://fluxnodes.net',
trailingSlash: "ignore",
@ -13,12 +14,7 @@ export default defineConfig({
// adapter: node({
// mode: 'standalone',
// }),
integrations: [
astroFontPicker(),
astroI18next(),
Compress(),
vue(),
starlight({
integrations: [astroFontPicker(), astroI18next(), Compress(), vue(), starlight({
title: 'Flux Support',
tableOfContents: false, // If you need this in an article, add this: https://github.com/withastro/starlight/blob/main/docs/src/content/docs/reference/plugins.md?plain=1#L4-L5
lastUpdated: true, // Staff must set "lastUpdated" date in the article file
@ -26,22 +22,18 @@ export default defineConfig({
components: {
Header: './src/components/global/Header.astro',
PageFrame: './src/components/PageFrame.astro',
Pagination: './src/components/starlight/Pagination.astro',
Pagination: './src/components/Pagination.astro'
},
customCss: [
'./src/styles/Starlight.scss',
'./src/styles/Header.scss',
],
sidebar: [
{
customCss: ['./src/styles/Starlight.scss', './src/styles/Header.scss'],
sidebar: [{
label: 'Account',
autogenerate: { directory: 'support/account' },
},
],
})
],
autogenerate: {
directory: 'support/account'
}
}]
})],
server: {
port: 2000,
host: true
}
})
});

BIN
bun.lockb

Binary file not shown.

View file

@ -23,7 +23,7 @@
"astro-font-picker": "^0.2.1",
"astro-i18next": "^1.0.0-beta.21",
"astro-useragent": "^4.0.1",
"dayjs": "^1.11.10",
"cobe": "^0.6.3",
"sass": "^1.70.0",
"shikiji-core": "^0.10.2"
},

View file

@ -13,6 +13,7 @@ import '@styles/Header.scss'
// Other Stuff
import i18next, { t } from "i18next"
import { HeadHrefLangs } from "astro-i18next/components";
import { fade, ViewTransitions } from 'astro:transitions'
---

View file

@ -1,6 +1,7 @@
{
"compilerOptions": {
"baseUrl": ".",
"skipLibCheck": true,
"paths": {
"@assets/*": ["src/assets/*"],
"@components/*": ["src/components/*"],