summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-18 22:08:07 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-18 22:08:07 +0700
commit347e28848fb063ffcb7f9268384409e57b7ef3ad (patch)
tree4c107dd96796ecdf6baa867dd8524c31079c6060 /src
parent69f55de26319e570ce0a8c4dbe8a29cb0d0b51c5 (diff)
change animation
Diffstat (limited to 'src')
-rw-r--r--src/core/components/layouts/AnimationLayout.jsx4
-rw-r--r--src/lib/brand/components/Brand.jsx4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/core/components/layouts/AnimationLayout.jsx b/src/core/components/layouts/AnimationLayout.jsx
index cdd2d059..12b6d112 100644
--- a/src/core/components/layouts/AnimationLayout.jsx
+++ b/src/core/components/layouts/AnimationLayout.jsx
@@ -8,9 +8,9 @@ const AnimationLayout = ({ children, ...props }) => {
return children && (
<motion.main
- initial={{ opacity: 0, x: 0, y: 0 }}
+ initial={{ opacity: 0, x: 15, y: 0 }}
animate={{ opacity: 1, x: 0, y: 0 }}
- exit={{ opacity: 0, x: 15, y: 0 }}
+ exit={{ opacity: 0, x: 0, y: 0 }}
transition={transition}
{...props}
>
diff --git a/src/lib/brand/components/Brand.jsx b/src/lib/brand/components/Brand.jsx
index a42f4c81..c1215976 100644
--- a/src/lib/brand/components/Brand.jsx
+++ b/src/lib/brand/components/Brand.jsx
@@ -23,7 +23,7 @@ const Brand = ({ id }) => {
return (
<>
- <div className="min-h-[200px]">
+ <div className="min-h-[150px]">
{ brand.isLoading && <ImageSkeleton /> }
{ brand.data && (
<>
@@ -44,7 +44,7 @@ const Brand = ({ id }) => {
</SwiperSlide>
)) }
</Swiper>
- <div className="p-4 pt-2">
+ <div className="p-4">
<div className="text-caption-1 text-gray_r-11 mb-2">Produk dari brand:</div>
{ brand?.data?.logo && (
<Image