diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 088bc262..05214d74 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -1,3 +1,7 @@ +/public/ @dan-online @RealShadowNova +/src/ @dan-online @RealShadowNova + + /.github/ @RealShadowNova /.husky/ @RealShadowNova /.vscode/ @RealShadowNova diff --git a/.husky/commit-msg b/.husky/commit-msg old mode 100644 new mode 100755 diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/.prettierignore b/.prettierignore index 7f680533..f640b1fa 100644 --- a/.prettierignore +++ b/.prettierignore @@ -27,3 +27,5 @@ CHANGELOG.md # Ignore toml files *.toml + +*.mdx \ No newline at end of file diff --git a/index.html b/index.html index f419b9b8..e9298d7a 100644 --- a/index.html +++ b/index.html @@ -6,7 +6,7 @@ - +
diff --git a/package.json b/package.json index 65f97200..6bbe2fdb 100644 --- a/package.json +++ b/package.json @@ -21,12 +21,14 @@ }, "dependencies": { "@mdx-js/rollup": "^2.3.0", + "@sapphire/fetch": "^2.4.1", "@solidjs/meta": "^0.28.2", "@solidjs/router": "^0.7.0", "@tailwindcss/typography": "^0.5.9", "@types/markdown-it": "^12.2.3", "highlight.js": "^11.7.0", "markdown-it": "^13.0.1", + "query-registry": "^2.6.0", "remark-gfm": "^3.0.1", "solid-icons": "^1.0.4", "solid-js": "^1.6.11", diff --git a/src/App.tsx b/src/App.tsx index b0bde240..a9f2e8a0 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,25 +1,19 @@ -import { Route, Routes } from '@solidjs/router'; - +import { useRoutes } from '@solidjs/router'; import { Footer } from './components/layout/footer'; import { Navigation } from './components/layout/navigation'; -import DocsPage from './pages/docs'; -import { LandingPage } from './pages/landing'; -import NotFound from './pages/notfound'; +import { Up } from './components/layout/up'; +import { routes } from './routes'; export function App() { + const Routes = useRoutes(routes); + return (