import React from 'react';
import cl from './PleeseReg.module.css'
import { Link } from "react-router-dom";
import a1 from './img/1.png';
import MyButton_1 from '../MyButton_1/MyButton_1';

const PleeseReg = ({textDefault,...props}) => {
    
    return (
        <div className={cl.Wrap} {...props}>
            <div className={cl.wrapLast}>
                <img src={a1} alt="" />
                <div>
                    <Link to="/login" style={{ textDecoration: 'none' }}><MyButton_1>Войди</MyButton_1></Link>
                    <p>или</p>
                    <Link to="/registration" style={{ textDecoration: 'none' }}><MyButton_1>Зарегистрируйся</MyButton_1></Link>
                    <p className={cl.ppropsRegPleese}>{textDefault}</p>
                </div>
            </div>
        </div>
    )
};

export default PleeseReg;
