2018-09-09 17:22:44 -04:00
|
|
|
import React from 'react';
|
2019-11-07 02:39:26 -05:00
|
|
|
|
2018-09-09 17:22:44 -04:00
|
|
|
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">
|
2019-10-28 12:46:22 -04:00
|
|
|
<div className="cell background-location"></div>
|
|
|
|
<div className="cell background-use"></div>
|
|
|
|
<div className="cell background-type"></div>
|
|
|
|
<div className="cell background-age"></div>
|
2019-08-14 03:56:00 -04:00
|
|
|
</div>
|
|
|
|
<div className="row">
|
2019-10-28 12:46:22 -04:00
|
|
|
<div className="cell background-size"></div>
|
|
|
|
<div className="cell background-construction"></div>
|
|
|
|
<div className="cell background-streetscape"></div>
|
|
|
|
<div className="cell background-team"></div>
|
2019-08-14 03:56:00 -04:00
|
|
|
</div>
|
|
|
|
<div className="row">
|
2019-10-28 12:46:22 -04:00
|
|
|
<div className="cell background-sustainability"></div>
|
|
|
|
<div className="cell background-planning"></div>
|
2020-02-03 17:21:33 -05:00
|
|
|
<div className="cell background-dynamics"></div>
|
|
|
|
<div className="cell background-community"></div>
|
2019-08-14 03:56:00 -04:00
|
|
|
</div>
|
|
|
|
</div>
|
2019-11-07 03:13:30 -05:00
|
|
|
);
|
2019-08-14 03:56:00 -04:00
|
|
|
|
2019-09-05 08:33:20 -04:00
|
|
|
export { Logo };
|