From 124defde64de6defe6f81e57f93b0ef10c92cdf8 Mon Sep 17 00:00:00 2001 From: HoangNDM6 Date: Wed, 24 Jul 2024 11:05:35 +0700 Subject: [PATCH] update --- src/app/globals.css | 10 ---------- src/sections/abstraction/index.tsx | 14 +++++++------- .../blogs/components/Slider/index.tsx | 1 - src/sections/blogs/index.tsx | 2 +- .../statistics/components/Card/index.tsx | 2 +- src/sections/statistics/index.tsx | 19 ++++++------------- 6 files changed, 15 insertions(+), 33 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index bf054d2..c9528e0 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -86,16 +86,6 @@ body { .card { width: 272px; } - - .swiper { - height: 370px !important; - } -} - -@media screen and (min-width: 375px) { - .card { - width: 100%; - } } @media screen and (min-width: 425px) { diff --git a/src/sections/abstraction/index.tsx b/src/sections/abstraction/index.tsx index 9f67ad4..08eaa20 100644 --- a/src/sections/abstraction/index.tsx +++ b/src/sections/abstraction/index.tsx @@ -7,13 +7,13 @@ import { PAGE_ROUTE } from "../../common"; function AbstractionLayer() { return ( -
- - -
-
- Aura as an Abstraction Layer - +
+ + +
+
+ Aura as an Abstraction Layer + A decentralized middleware infrastructure accelerates the interoperability of IPs across chains.
diff --git a/src/sections/blogs/components/Slider/index.tsx b/src/sections/blogs/components/Slider/index.tsx index 1c24af4..2d25cf9 100644 --- a/src/sections/blogs/components/Slider/index.tsx +++ b/src/sections/blogs/components/Slider/index.tsx @@ -16,7 +16,6 @@ const BlogsSlider = forwardRef((props, ref: any) => { const [sliderReach, setSliderReach] = useState("start") const [posts, setPosts] = useState([]) - useEffect(() => { const changeButtonStyle = (button: HTMLElement, isReached: boolean) => { if (isReached) { diff --git a/src/sections/blogs/index.tsx b/src/sections/blogs/index.tsx index 8d02cad..c8c02b5 100644 --- a/src/sections/blogs/index.tsx +++ b/src/sections/blogs/index.tsx @@ -16,7 +16,7 @@ function Blogs() { sliderRef.current?.slidePrev()} onClickNext={() => sliderRef.current?.slideNext()} />
-
+
diff --git a/src/sections/statistics/components/Card/index.tsx b/src/sections/statistics/components/Card/index.tsx index 56e21ad..42d891f 100644 --- a/src/sections/statistics/components/Card/index.tsx +++ b/src/sections/statistics/components/Card/index.tsx @@ -13,7 +13,7 @@ type CardProps = { function Card({ data, className }: CardProps) { const { value, title, img } = data return ( -
+
{img} diff --git a/src/sections/statistics/index.tsx b/src/sections/statistics/index.tsx index 956c279..f13230f 100644 --- a/src/sections/statistics/index.tsx +++ b/src/sections/statistics/index.tsx @@ -108,24 +108,17 @@ function Statistics() { AURA IN NUMBERS

The most thriving blockchain in emerging countries

-
+
-
- {statisticData.map((item: any, i: number) => { - return ( - < Card data={item} /> - ) - })} -
- + {statisticData.map((item: any, i: number) => { + return ( + + ) + })}