From 9c150d4a846b381b55d672c59b692be1839e42be Mon Sep 17 00:00:00 2001
From: LittleSheep
Date: Tue, 29 Jul 2025 01:14:03 +0800
Subject: [PATCH] :sparkles: Better product carsouel
---
app/app.vue | 6 ++++++
app/pages/index.vue | 26 +++++++++++++++++++++-----
bun.lock | 5 +++++
package.json | 3 +++
4 files changed, 35 insertions(+), 5 deletions(-)
diff --git a/app/app.vue b/app/app.vue
index c4b0ffa..7a39414 100644
--- a/app/app.vue
+++ b/app/app.vue
@@ -48,5 +48,11 @@ body {
padding: 0;
margin: 0;
font-family: Nunito Variable, sans-serif;
+
+ scroll-behavior: smooth;
+}
+
+.n-layout-scroll-container {
+ scroll-behavior: smooth;
}
diff --git a/app/pages/index.vue b/app/pages/index.vue
index fce0cb1..8352337 100644
--- a/app/pages/index.vue
+++ b/app/pages/index.vue
@@ -8,18 +8,18 @@
that interesting.
- Explore around
+ Explore around
About us
-
+
@@ -45,6 +45,14 @@
"
class="absolute left-0 right-0 top-1/2 bottom-0"
/>
+
+
+
+
+
+
+
+
Our products
-
The made various of software, from social network to cloud drive.
-
Take a look of them on the left on your own ヽ(>∀<☆)ノ
+
+ The made various of software, from social network to cloud
+ drive.
+
+
+ Take a look of them on the left on your own
+ ヽ(>∀<☆)ノ
+
@@ -82,8 +96,10 @@ import {
NGi,
NCarousel,
NCarouselItem,
+ NIcon,
useThemeVars,
} from "naive-ui";
+import { LaunchRound, CodeRound } from "@vicons/material";
import Typed from "typed.js";
const route = useRoute();
diff --git a/bun.lock b/bun.lock
index d072330..77ef649 100644
--- a/bun.lock
+++ b/bun.lock
@@ -21,6 +21,9 @@
"vue": "^3.5.18",
"vue-router": "^4.5.1",
},
+ "devDependencies": {
+ "@vicons/material": "^0.13.0",
+ },
},
},
"packages": {
@@ -604,6 +607,8 @@
"@vercel/nft": ["@vercel/nft@0.29.4", "", { "dependencies": { "@mapbox/node-pre-gyp": "^2.0.0", "@rollup/pluginutils": "^5.1.3", "acorn": "^8.6.0", "acorn-import-attributes": "^1.9.5", "async-sema": "^3.1.1", "bindings": "^1.4.0", "estree-walker": "2.0.2", "glob": "^10.4.5", "graceful-fs": "^4.2.9", "node-gyp-build": "^4.2.2", "picomatch": "^4.0.2", "resolve-from": "^5.0.0" }, "bin": { "nft": "out/cli.js" } }, "sha512-6lLqMNX3TuycBPABycx7A9F1bHQR7kiQln6abjFbPrf5C/05qHM9M5E4PeTE59c7z8g6vHnx1Ioihb2AQl7BTA=="],
+ "@vicons/material": ["@vicons/material@0.13.0", "", {}, "sha512-lKVxFNprM+CaBkUH3gt6VjIeiMsKQl2zARQMwTCZruQl2vRHzyeZiKeCflWS99CEfv2JzX/6y697smxlzyxcVw=="],
+
"@vitejs/plugin-vue": ["@vitejs/plugin-vue@6.0.1", "", { "dependencies": { "@rolldown/pluginutils": "1.0.0-beta.29" }, "peerDependencies": { "vite": "^5.0.0 || ^6.0.0 || ^7.0.0", "vue": "^3.2.25" } }, "sha512-+MaE752hU0wfPFJEUAIxqw18+20euHHdxVtMvbFcOEpjEyfqXH/5DCoTHiVJ0J29EhTJdoTkjEv5YBKU9dnoTw=="],
"@vitejs/plugin-vue-jsx": ["@vitejs/plugin-vue-jsx@5.0.1", "", { "dependencies": { "@babel/core": "^7.27.7", "@babel/plugin-transform-typescript": "^7.27.1", "@rolldown/pluginutils": "^1.0.0-beta.21", "@vue/babel-plugin-jsx": "^1.4.0" }, "peerDependencies": { "vite": "^5.0.0 || ^6.0.0 || ^7.0.0", "vue": "^3.0.0" } }, "sha512-X7qmQMXbdDh+sfHUttXokPD0cjPkMFoae7SgbkF9vi3idGUKmxLcnU2Ug49FHwiKXebfzQRIm5yK3sfCJzNBbg=="],
diff --git a/package.json b/package.json
index 4d93a66..57be926 100644
--- a/package.json
+++ b/package.json
@@ -26,5 +26,8 @@
"typed.js": "^2.1.0",
"vue": "^3.5.18",
"vue-router": "^4.5.1"
+ },
+ "devDependencies": {
+ "@vicons/material": "^0.13.0"
}
}