2018-09-09 17:22:44 -04:00
|
|
|
import React from 'react';
|
|
|
|
import { Link } from 'react-router-dom';
|
|
|
|
import './logo.css';
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 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-08-14 03:56:00 -04:00
|
|
|
const Logo: React.FunctionComponent = () => (
|
2018-09-09 17:22:44 -04:00
|
|
|
<Link to="/" className="logo navbar-brand" id="top">
|
2019-08-14 03:56:00 -04:00
|
|
|
<LogoGrid />
|
2018-09-09 17:22:44 -04:00
|
|
|
<h1 className="logotype">
|
|
|
|
<span>Colouring</span>
|
|
|
|
<span>London</span>
|
|
|
|
</h1>
|
|
|
|
</Link>
|
|
|
|
);
|
|
|
|
|
2019-08-14 03:56:00 -04:00
|
|
|
/**
|
|
|
|
* MinorLogo
|
|
|
|
*
|
|
|
|
* As plain logo, used in legend
|
|
|
|
*/
|
|
|
|
const MinorLogo: React.FunctionComponent = () => (
|
|
|
|
<div className="logo">
|
|
|
|
<LogoGrid />
|
|
|
|
<h3 className="h3 logotype">
|
|
|
|
<span>Colouring</span>
|
|
|
|
<span>London</span>
|
|
|
|
</h3>
|
|
|
|
</div>
|
|
|
|
)
|
|
|
|
|
|
|
|
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>
|
|
|
|
)
|
|
|
|
|
|
|
|
export { Logo, MinorLogo };
|