import React, { Component } from 'react';
import { Link } from 'react-router-dom';

class Logo extends Component {
    render() {
        const size = {
            height: this.props.size ? this.props.size : 105,
            width: this.props.size ? this.props.size : 105,
        }
        return (
            <div className="logo-main">
                <Link to="/">
                    <img style={size} alt="daily smarty ui image logo big" src="/assets/daily-smarty-logo.png"/>
                </Link>
            </div>
        )
    }
}

export default Logo