diff options
Diffstat (limited to 'src/core/components/elements')
| -rw-r--r-- | src/core/components/elements/Appbar/Appbar.jsx | 2 | ||||
| -rw-r--r-- | src/core/components/elements/Popup/BottomPopup.jsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/core/components/elements/Appbar/Appbar.jsx b/src/core/components/elements/Appbar/Appbar.jsx index 2a19ec6c..8d060c44 100644 --- a/src/core/components/elements/Appbar/Appbar.jsx +++ b/src/core/components/elements/Appbar/Appbar.jsx @@ -19,7 +19,7 @@ const AppBar = ({ title }) => { <Link href="/shop/cart" className="py-4 px-2"> <ShoppingCartIcon className="w-6 text-gray_r-12" /> </Link> - <Link href="/shop/cart" className="py-4 px-2"> + <Link href="/" className="py-4 px-2"> <HomeIcon className="w-6 text-gray_r-12" /> </Link> <Link href="/shop/cart" className="py-4 px-2"> diff --git a/src/core/components/elements/Popup/BottomPopup.jsx b/src/core/components/elements/Popup/BottomPopup.jsx index e687cf20..5deceadf 100644 --- a/src/core/components/elements/Popup/BottomPopup.jsx +++ b/src/core/components/elements/Popup/BottomPopup.jsx @@ -6,7 +6,7 @@ const BottomPopup = ({ children, active, title, close }) => ( onClick={close} className={`overlay ${active ? 'block' : 'hidden'}`} /> - <div className={`fixed bottom-0 left-0 w-full border-t border-gray_r-6 rounded-t-xl z-[60] p-4 pt-0 bg-white ${active ? 'block' : 'hidden'}`}> + <div className={`fixed left-0 w-full border-t border-gray_r-6 rounded-t-xl z-[60] p-4 pt-0 bg-white idt-transition ${active ? 'bottom-0' : '-bottom-full'}`}> <div className="flex justify-between py-4"> <div className="font-semibold text-h-sm">{ title }</div> <button type="button" onClick={close}> |
