diff options
Diffstat (limited to 'apps/website')
-rw-r--r-- | apps/website/astro.config.ts | 2 | ||||
-rw-r--r-- | apps/website/package.json | 18 | ||||
-rw-r--r-- | apps/website/src/env.d.ts | 2 | ||||
-rw-r--r-- | apps/website/src/layouts/Layout.astro | 15 | ||||
-rw-r--r-- | apps/website/src/pages/mods.astro | 2 |
5 files changed, 10 insertions, 29 deletions
diff --git a/apps/website/astro.config.ts b/apps/website/astro.config.ts index 4f394a1..60831d1 100644 --- a/apps/website/astro.config.ts +++ b/apps/website/astro.config.ts @@ -16,7 +16,7 @@ export default defineConfig({ vite: { css: { postcss: { - plugins: [postcssNesting], + plugins: [postcssNesting()], }, }, }, diff --git a/apps/website/package.json b/apps/website/package.json index a6e73a0..730f5a5 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -11,20 +11,18 @@ "test": "vitest" }, "dependencies": { - "@astrojs/mdx": "^2.0.2", + "@astrojs/mdx": "^2.0.3", "@astrojs/rss": "^4.0.1", - "@astrojs/sitemap": "^3.0.3", - "@astrojs/tailwind": "^5.0.4", - "astro": "^4.0.7", - "fullpage.js": "^4.0.20", - "locomotive-scroll": "^4.1.4", - "sass": "^1.69.5", - "tailwindcss": "^3.4.0", - "vitest": "^1.1.0" + "@astrojs/sitemap": "^3.0.4", + "@astrojs/tailwind": "^5.1.0", + "astro": "^4.1.1", + "sass": "^1.69.7", + "tailwindcss": "^3.4.1", + "vitest": "^1.1.3" }, "devDependencies": { "@polyfrost/config": "workspace:*", - "@types/node": "~20.10.5", + "@types/node": "~20.10.7", "node-html-parser": "^6.1.12", "typescript": "^5.3.3" } diff --git a/apps/website/src/env.d.ts b/apps/website/src/env.d.ts index 01db714..acef35f 100644 --- a/apps/website/src/env.d.ts +++ b/apps/website/src/env.d.ts @@ -1,4 +1,2 @@ /// <reference path="../.astro/types.d.ts" /> /// <reference types="astro/client" /> - -declare module 'locomotive-scroll'; diff --git a/apps/website/src/layouts/Layout.astro b/apps/website/src/layouts/Layout.astro index a14bc65..f157e73 100644 --- a/apps/website/src/layouts/Layout.astro +++ b/apps/website/src/layouts/Layout.astro @@ -4,8 +4,6 @@ import Favicon from '/media/polyfrost/minimal_bg.svg?url'; import Navbar from '../components/base/navbar/Navbar.astro'; import '../styles/global.css'; -// import 'locomotive-scroll/dist/locomotive-scroll.min.css'; - interface Props { title?: string description?: string @@ -47,16 +45,3 @@ const { </body> </html> - -<!-- <script> -import LocomotiveScroll from 'locomotive-scroll'; - -// eslint-disable-next-line unused-imports/no-unused-vars -const scroll = new LocomotiveScroll({ - el: document.querySelector('[data-scroll-container]'), - smooth: true, - lerp: 0.05, - touchMultiplier: 0, - resetNativeScroll: false, -}); -</script> --> diff --git a/apps/website/src/pages/mods.astro b/apps/website/src/pages/mods.astro index 5a9b303..ae1002c 100644 --- a/apps/website/src/pages/mods.astro +++ b/apps/website/src/pages/mods.astro @@ -124,7 +124,7 @@ const modrinthUrl = `https://modrinth.com/${modrinthType}/${modrinthId}`; OneConfig brings the simplicity of a client to the everyday user, gives advanced users and developers complete control over everything, while remaining free and open-source. </Paragraph> <div class="flex"> - <Button href="/projects/oneconfig/download" style="secondary" iconLeft="oneconfig" text="See OneConfig"/> + <Button href="/projects/oneconfig" style="secondary" iconLeft="oneconfig" text="See OneConfig"/> </div> </div> <div slot="right"> |