diff --git a/astro.config.mjs b/astro.config.mjs index db1e0ef..e1bb91a 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -1,47 +1,39 @@ -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", - // output: 'server', - // adapter: node({ - // mode: 'standalone', - // }), - 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 - titleDelimiter: " - ", // Flux Support " - " Article Title - components: { - Header: './src/components/global/Header.astro', - PageFrame: './src/components/PageFrame.astro', - Pagination: './src/components/starlight/Pagination.astro', - }, - customCss: [ - './src/styles/Starlight.scss', - './src/styles/Header.scss', - ], - sidebar: [ - { - label: 'Account', - autogenerate: { directory: 'support/account' }, - }, - ], - }) - ], - server: { - port: 2000, - host: true - } -}) \ No newline at end of file + site: 'https://fluxnodes.net', + trailingSlash: "ignore", + // output: 'server', + // adapter: node({ + // mode: 'standalone', + // }), + 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 + titleDelimiter: " - ", // Flux Support " - " Article Title + components: { + Header: './src/components/global/Header.astro', + PageFrame: './src/components/PageFrame.astro', + Pagination: './src/components/Pagination.astro' + }, + customCss: ['./src/styles/Starlight.scss', './src/styles/Header.scss'], + sidebar: [{ + label: 'Account', + autogenerate: { + directory: 'support/account' + } + }] + })], + server: { + port: 2000, + host: true + } +}); \ No newline at end of file diff --git a/bun.lockb b/bun.lockb index e41b5e0..28e84bf 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index d6263af..84bd0f0 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/src/layouts/Default.astro b/src/layouts/Default.astro index 423ac0e..ff76412 100644 --- a/src/layouts/Default.astro +++ b/src/layouts/Default.astro @@ -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' --- diff --git a/tsconfig.json b/tsconfig.json index 17a759a..36fdfe0 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,6 +1,7 @@ { "compilerOptions": { "baseUrl": ".", + "skipLibCheck": true, "paths": { "@assets/*": ["src/assets/*"], "@components/*": ["src/components/*"],