From 3118d80aee4d6265dd0d89533e3bda1c5532ad1e Mon Sep 17 00:00:00 2001 From: Nazareno Oviedo Date: Fri, 8 Apr 2022 13:03:33 -0300 Subject: [PATCH] Button Motion (#25) --- .../common/header/header.module.scss | 2 +- src/components/common/header/index.tsx | 6 ++- .../primitives/button/button.module.scss | 37 +++++++++++++++++++ src/components/primitives/button/index.tsx | 4 +- src/css/global.scss | 1 + 5 files changed, 46 insertions(+), 4 deletions(-) diff --git a/src/components/common/header/header.module.scss b/src/components/common/header/header.module.scss index 94105c3..16a62bf 100644 --- a/src/components/common/header/header.module.scss +++ b/src/components/common/header/header.module.scss @@ -38,7 +38,7 @@ width: tovw(7px, 'default', 7px); height: tovw(7px, 'default', 7px); content: ''; - transition: opacity var(--normal-transition); + transition: opacity var(--duration-normal) var(--ease); transform: translateY(-50%); opacity: 0; background: var(--color-white); diff --git a/src/components/common/header/index.tsx b/src/components/common/header/index.tsx index 926605a..9b0da7c 100644 --- a/src/components/common/header/index.tsx +++ b/src/components/common/header/index.tsx @@ -39,7 +39,10 @@ const HeaderMobile = React.forwardRef< ))} - + Join Us