This is an automated email from the ASF dual-hosted git repository.
wangweipeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git
The following commit(s) were added to refs/heads/main by this push:
new 2c3e67c6 remove animation as is block the layout (#245)
2c3e67c6 is described below
commit 2c3e67c622ce576380fdda5e739a90a53f44f20d
Author: weipeng <[email protected]>
AuthorDate: Fri Jun 6 11:58:47 2025 +0800
remove animation as is block the layout (#245)
Co-authored-by: quanzheng <[email protected]>
---
src/pages/user/index.jsx | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/src/pages/user/index.jsx b/src/pages/user/index.jsx
index b4cd0c9b..e83d9c6a 100644
--- a/src/pages/user/index.jsx
+++ b/src/pages/user/index.jsx
@@ -7,8 +7,6 @@ import "./index.css";
import companies from "./companies.json";
import nologo_companies from "./nologo_companies.json";
import Layout from "@theme/Layout";
-import AOS from "aos";
-import "aos/dist/aos.css";
export default function UserPage() {
const isBrowser = useIsBrowser();
@@ -16,16 +14,6 @@ export default function UserPage() {
isBrowser && location.pathname.indexOf("/zh-CN/") === 0 ? "zh-CN" : "en";
const dataSource = config?.[language];
- React.useEffect(() => {
- AOS.init({
- offset: 80,
- duration: 500,
- easing: "ease-out-quad",
- once: true,
- });
- window.addEventListener("load", AOS.refresh);
- }, []);
-
const ourUsers = dataSource.common.ourUsers;
const tip = dataSource.common.tip;
@@ -53,8 +41,6 @@ export default function UserPage() {
{companies.map((item, i) => (
<div
key={i}
- data-aos="fade-up"
- data-aos-delay={i * 50}
className="company-item"
>
<a
@@ -74,8 +60,6 @@ export default function UserPage() {
{nologo_companies.map((item, i) => (
<div
key={i}
- data-aos="fade-up"
- data-aos-delay={i * 50}
className="company-item"
>
<a className="company_name ">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]