Minor updates
This commit is contained in:
parent
00f9593c3e
commit
0892f424ad
5 changed files with 39 additions and 45 deletions
|
@ -1,11 +1,12 @@
|
||||||
import { defineConfig } from 'astro/config'
|
import { defineConfig } from 'astro/config';
|
||||||
import starlight from '@astrojs/starlight'
|
import starlight from '@astrojs/starlight';
|
||||||
// import node from '@astrojs/node'
|
// import node from '@astrojs/node'
|
||||||
import astroFontPicker from 'astro-font-picker'
|
import astroFontPicker from 'astro-font-picker';
|
||||||
import vue from '@astrojs/vue'
|
import vue from '@astrojs/vue';
|
||||||
import astroI18next from "astro-i18next"
|
import astroI18next from "astro-i18next";
|
||||||
import Compress from "astro-compress"
|
import Compress from "astro-compress";
|
||||||
|
|
||||||
|
// https://astro.build/config
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
site: 'https://fluxnodes.net',
|
site: 'https://fluxnodes.net',
|
||||||
trailingSlash: "ignore",
|
trailingSlash: "ignore",
|
||||||
|
@ -13,12 +14,7 @@ export default defineConfig({
|
||||||
// adapter: node({
|
// adapter: node({
|
||||||
// mode: 'standalone',
|
// mode: 'standalone',
|
||||||
// }),
|
// }),
|
||||||
integrations: [
|
integrations: [astroFontPicker(), astroI18next(), Compress(), vue(), starlight({
|
||||||
astroFontPicker(),
|
|
||||||
astroI18next(),
|
|
||||||
Compress(),
|
|
||||||
vue(),
|
|
||||||
starlight({
|
|
||||||
title: 'Flux Support',
|
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
|
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
|
lastUpdated: true, // Staff must set "lastUpdated" date in the article file
|
||||||
|
@ -26,22 +22,18 @@ export default defineConfig({
|
||||||
components: {
|
components: {
|
||||||
Header: './src/components/global/Header.astro',
|
Header: './src/components/global/Header.astro',
|
||||||
PageFrame: './src/components/PageFrame.astro',
|
PageFrame: './src/components/PageFrame.astro',
|
||||||
Pagination: './src/components/starlight/Pagination.astro',
|
Pagination: './src/components/Pagination.astro'
|
||||||
},
|
},
|
||||||
customCss: [
|
customCss: ['./src/styles/Starlight.scss', './src/styles/Header.scss'],
|
||||||
'./src/styles/Starlight.scss',
|
sidebar: [{
|
||||||
'./src/styles/Header.scss',
|
|
||||||
],
|
|
||||||
sidebar: [
|
|
||||||
{
|
|
||||||
label: 'Account',
|
label: 'Account',
|
||||||
autogenerate: { directory: 'support/account' },
|
autogenerate: {
|
||||||
},
|
directory: 'support/account'
|
||||||
],
|
}
|
||||||
})
|
}]
|
||||||
],
|
})],
|
||||||
server: {
|
server: {
|
||||||
port: 2000,
|
port: 2000,
|
||||||
host: true
|
host: true
|
||||||
}
|
}
|
||||||
})
|
});
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -23,7 +23,7 @@
|
||||||
"astro-font-picker": "^0.2.1",
|
"astro-font-picker": "^0.2.1",
|
||||||
"astro-i18next": "^1.0.0-beta.21",
|
"astro-i18next": "^1.0.0-beta.21",
|
||||||
"astro-useragent": "^4.0.1",
|
"astro-useragent": "^4.0.1",
|
||||||
"dayjs": "^1.11.10",
|
"cobe": "^0.6.3",
|
||||||
"sass": "^1.70.0",
|
"sass": "^1.70.0",
|
||||||
"shikiji-core": "^0.10.2"
|
"shikiji-core": "^0.10.2"
|
||||||
},
|
},
|
||||||
|
|
|
@ -13,6 +13,7 @@ import '@styles/Header.scss'
|
||||||
|
|
||||||
// Other Stuff
|
// Other Stuff
|
||||||
import i18next, { t } from "i18next"
|
import i18next, { t } from "i18next"
|
||||||
|
import { HeadHrefLangs } from "astro-i18next/components";
|
||||||
import { fade, ViewTransitions } from 'astro:transitions'
|
import { fade, ViewTransitions } from 'astro:transitions'
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
|
"skipLibCheck": true,
|
||||||
"paths": {
|
"paths": {
|
||||||
"@assets/*": ["src/assets/*"],
|
"@assets/*": ["src/assets/*"],
|
||||||
"@components/*": ["src/components/*"],
|
"@components/*": ["src/components/*"],
|
||||||
|
|
Reference in a new issue