mirror of
https://github.com/vercel/commerce.git
synced 2025-07-23 04:36:49 +00:00
bug: add dot MenuFilter, add page AccountSignIn , fix spacing MenuFilter
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
import React from "react"
|
||||
import { ButtonCommon, StaticImage } from "src/components/common";
|
||||
import s from './AccountSignIn.module.scss';
|
||||
import {LANGUAGE} from 'src/utils/language.utils';
|
||||
import AccountSignInImg from '../../../../../public/assets/images/accountsignin.png'
|
||||
import Link from 'next/link';
|
||||
import { useRouter } from 'next/router';
|
||||
interface AccountSignIn {
|
||||
|
||||
}
|
||||
|
||||
const AccountSignIn = ({ } : AccountSignIn) => {
|
||||
const router = useRouter();
|
||||
function openLogin(){
|
||||
router.push({
|
||||
pathname: '/account/query',
|
||||
search: '?openLogin=true'
|
||||
});
|
||||
}
|
||||
return (
|
||||
<>
|
||||
<div className={s.accountSignInWrapper}>
|
||||
<div className={s.imgError}>
|
||||
<StaticImage src={AccountSignInImg} />
|
||||
</div>
|
||||
<div className={s.text}>
|
||||
Sign in to get more interesting <br/> features
|
||||
</div>
|
||||
<div className={s.btn}>
|
||||
<ButtonCommon size="default" onClick={openLogin}>{LANGUAGE.BUTTON_LABEL.SIGNIN}</ButtonCommon>
|
||||
</div>
|
||||
<div className={s.dontHaveAccount}>
|
||||
<div>Don't have an account? </div> <span><a><Link href="/"> Create Account</Link></a></span>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
|
||||
export default AccountSignIn
|
Reference in New Issue
Block a user