diff --git a/surfsense_web/components/homepage/integrations.tsx b/surfsense_web/components/homepage/integrations.tsx index a0ffd1d8c..53aaf624a 100644 --- a/surfsense_web/components/homepage/integrations.tsx +++ b/surfsense_web/components/homepage/integrations.tsx @@ -16,7 +16,10 @@ const INTEGRATIONS: Integration[] = [ { name: "Elasticsearch", icon: "https://cdn.simpleicons.org/elastic/00A9E5" }, // Communication - { name: "Slack", icon: "https://upload.wikimedia.org/wikipedia/commons/d/d5/Slack_icon_2019.svg" }, + { + name: "Slack", + icon: "https://upload.wikimedia.org/wikipedia/commons/d/d5/Slack_icon_2019.svg", + }, { name: "Discord", icon: "https://cdn.simpleicons.org/discord/5865F2" }, { name: "Gmail", icon: "https://cdn.simpleicons.org/gmail/EA4335" }, diff --git a/surfsense_web/lib/source.ts b/surfsense_web/lib/source.ts index 271ac5435..9d879b517 100644 --- a/surfsense_web/lib/source.ts +++ b/surfsense_web/lib/source.ts @@ -1,5 +1,5 @@ -import { docs } from "@/.source/server"; import { loader } from "fumadocs-core/source"; +import { docs } from "@/.source/server"; export const source = loader({ baseUrl: "/docs", diff --git a/surfsense_web/source.config.ts b/surfsense_web/source.config.ts index d8c0981d3..335435cfd 100644 --- a/surfsense_web/source.config.ts +++ b/surfsense_web/source.config.ts @@ -1,4 +1,4 @@ -import { defineDocs, defineConfig } from "fumadocs-mdx/config"; +import { defineConfig, defineDocs } from "fumadocs-mdx/config"; export const docs = defineDocs({ dir: "content/docs", diff --git a/surfsense_web/tsconfig.json b/surfsense_web/tsconfig.json index 1390f93ed..06c759b45 100644 --- a/surfsense_web/tsconfig.json +++ b/surfsense_web/tsconfig.json @@ -1,45 +1,35 @@ { - "compilerOptions": { - "target": "ES2017", - "lib": [ - "dom", - "dom.iterable", - "esnext" - ], - "allowJs": true, - "skipLibCheck": true, - "strict": true, - "noEmit": true, - "esModuleInterop": true, - "module": "esnext", - "moduleResolution": "bundler", - "resolveJsonModule": true, - "isolatedModules": true, - "jsx": "react-jsx", - "incremental": true, - "plugins": [ - { - "name": "next" - } - ], - "paths": { - "@/*": [ - "./*" - ], - "fumadocs-mdx:collections/*": [ - "./.source/*" - ] - } - }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - "next.config.mjs", - ".next/dev/types/**/*.ts" - ], - "exclude": [ - "node_modules" - ] + "compilerOptions": { + "target": "ES2017", + "lib": ["dom", "dom.iterable", "esnext"], + "allowJs": true, + "skipLibCheck": true, + "strict": true, + "noEmit": true, + "esModuleInterop": true, + "module": "esnext", + "moduleResolution": "bundler", + "resolveJsonModule": true, + "isolatedModules": true, + "jsx": "react-jsx", + "incremental": true, + "plugins": [ + { + "name": "next" + } + ], + "paths": { + "@/*": ["./*"], + "fumadocs-mdx:collections/*": ["./.source/*"] + } + }, + "include": [ + "next-env.d.ts", + "**/*.ts", + "**/*.tsx", + ".next/types/**/*.ts", + "next.config.mjs", + ".next/dev/types/**/*.ts" + ], + "exclude": ["node_modules"] }