2018-09-09 17:22:44 -04:00
|
|
|
import React from 'react';
|
|
|
|
import './logo.css';
|
|
|
|
|
2019-09-05 08:33:20 -04:00
|
|
|
interface LogoProps {
|
|
|
|
variant: 'default' | 'animated' | 'gray';
|
|
|
|
}
|
|
|
|
|
2018-09-09 17:22:44 -04:00
|
|
|
/**
|
|
|
|
* Logo
|
2019-08-14 03:56:00 -04:00
|
|
|
*
|
|
|
|
* As link to homepage, used in top header
|
2018-09-09 17:22:44 -04:00
|
|
|
*/
|
2019-09-05 08:33:20 -04:00
|
|
|
const Logo: React.FunctionComponent<LogoProps> = (props) => {
|
|
|
|
const variantClass = props.variant === 'default' ? '' : props.variant;
|
|
|
|
return (
|
|
|
|
<div className={`logo ${variantClass}`} >
|
|
|
|
<LogoGrid />
|
|
|
|
<h1 className="logotype">
|
|
|
|
<span>Colouring</span>
|
|
|
|
<span>London</span>
|
|
|
|
</h1>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
};
|
2019-08-14 03:56:00 -04:00
|
|
|
|
|
|
|
const LogoGrid: React.FunctionComponent = () => (
|
|
|
|
<div className="grid">
|
|
|
|
<div className="row">
|
|
|
|
<div className="cell"></div>
|
|
|
|
<div className="cell"></div>
|
|
|
|
<div className="cell"></div>
|
|
|
|
<div className="cell"></div>
|
|
|
|
</div>
|
|
|
|
<div className="row">
|
|
|
|
<div className="cell"></div>
|
|
|
|
<div className="cell"></div>
|
|
|
|
<div className="cell"></div>
|
|
|
|
<div className="cell"></div>
|
|
|
|
</div>
|
|
|
|
<div className="row">
|
|
|
|
<div className="cell"></div>
|
|
|
|
<div className="cell"></div>
|
|
|
|
<div className="cell"></div>
|
|
|
|
<div className="cell"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
|
2019-09-05 08:33:20 -04:00
|
|
|
export { Logo };
|