Update packages and add Lenis smooth scroll to Docs

This commit is contained in:
Emil Gulamov 2024-08-11 15:46:43 +04:00
parent 28deace36d
commit c07dda3427
3 changed files with 644 additions and 1138 deletions

1757
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -10,35 +10,37 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"@astrojs/check": "^0.8.2", "@astrojs/check": "^0.9.2",
"@astrojs/sitemap": "^3.1.6", "@astrojs/sitemap": "^3.1.6",
"@astrojs/starlight": "^0.25.1", "@astrojs/starlight": "^0.25.4",
"@astrojs/starlight-tailwind": "^2.0.3", "@astrojs/starlight-tailwind": "^2.0.3",
"@astrojs/tailwind": "^5.1.0", "@astrojs/tailwind": "^5.1.0",
"@astrojs/vercel": "^7.7.2", "@astrojs/vercel": "^7.7.2",
"@preline/accordion": "^2.4.1", "@preline/accordion": "^2.4.1",
"@preline/collapse": "^2.3.0", "@preline/collapse": "^2.4.1",
"@preline/dropdown": "^2.4.1", "@preline/dropdown": "^2.4.1",
"@preline/overlay": "^2.4.0", "@preline/overlay": "^2.4.1",
"@preline/tabs": "^2.4.0", "@preline/tabs": "^2.4.1",
"astro": "^4.12.2", "@vercel/nft": "^0.27.3",
"astro": "^4.13.3",
"astro-compressor": "^0.4.1", "astro-compressor": "^0.4.1",
"clipboard": "^2.0.11", "clipboard": "^2.0.11",
"globby": "^14.0.2", "globby": "^14.0.2",
"gsap": "^3.12.5", "gsap": "^3.12.5",
"html-minifier-terser": "^7.2.0", "html-minifier-terser": "^7.2.0",
"lenis": "^1.1.9", "lenis": "^1.1.9",
"preline": "^2.4.0", "preline": "^2.4.1",
"rimraf": "^6.0.1",
"sharp": "^0.33.4", "sharp": "^0.33.4",
"sharp-ico": "^0.1.5", "sharp-ico": "^0.1.5",
"tailwindcss": "^3.4.7" "tailwindcss": "^3.4.9"
}, },
"devDependencies": { "devDependencies": {
"@tailwindcss/forms": "^0.5.7", "@tailwindcss/forms": "^0.5.7",
"astro-vtbot": "^1.7.27", "astro-vtbot": "^1.8.4",
"prettier": "^3.3.3", "prettier": "^3.3.3",
"prettier-plugin-astro": "^0.14.1", "prettier-plugin-astro": "^0.14.1",
"prettier-plugin-tailwindcss": "^0.6.5", "prettier-plugin-tailwindcss": "^0.6.6",
"typescript": "^5.5.4" "typescript": "^5.5.4"
} }
} }

View file

@ -11,6 +11,9 @@ Astro.props.viewTransitionsFallback = "animate";
<VtbotStarlight {...Astro.props}> <VtbotStarlight {...Astro.props}>
<StarlightHead {...Astro.props} /> <StarlightHead {...Astro.props} />
<script>
import "@scripts/lenisSmoothScroll.js";
</script>
</VtbotStarlight> </VtbotStarlight>
<style is:global> <style is:global>