diff --git a/app/src/frontend/components/logo.tsx b/app/src/frontend/components/logo.tsx index 06863a5b..e3781fcb 100644 --- a/app/src/frontend/components/logo.tsx +++ b/app/src/frontend/components/logo.tsx @@ -4,29 +4,12 @@ import './logo.css'; /** * Logo + * + * As link to homepage, used in top header */ -const Logo = () => ( +const Logo: React.FunctionComponent = () => ( -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+

Colouring London @@ -34,4 +17,42 @@ const Logo = () => ( ); -export default Logo; +/** + * MinorLogo + * + * As plain logo, used in legend + */ +const MinorLogo: React.FunctionComponent = () => ( +
+ +

+ Colouring + London +

+
+) + +const LogoGrid: React.FunctionComponent = () => ( +
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+) + +export { Logo, MinorLogo }; diff --git a/app/src/frontend/header.tsx b/app/src/frontend/header.tsx index 73ab5ccd..76b28d40 100644 --- a/app/src/frontend/header.tsx +++ b/app/src/frontend/header.tsx @@ -2,7 +2,7 @@ import React, { Fragment } from 'react'; import { NavLink } from 'react-router-dom'; import PropTypes from 'prop-types'; -import Logo from './components/logo'; +import { Logo } from './components/logo'; import './header.css'; /** diff --git a/app/src/frontend/legend.tsx b/app/src/frontend/legend.tsx index 3c4cc352..21fb1005 100644 --- a/app/src/frontend/legend.tsx +++ b/app/src/frontend/legend.tsx @@ -2,6 +2,7 @@ import React from 'react'; import PropTypes from 'prop-types'; import './legend.css'; +import { MinorLogo } from './components/logo'; const LEGEND_CONFIG = { location: { @@ -145,32 +146,7 @@ class Legend extends React.Component { // TODO: add proper types return (
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

- Colouring - London -

-
+

{ title } {elements.length?:null}

{ details.description?