diff --git a/components/metrics/WebsiteHeader.js b/components/metrics/WebsiteHeader.js index d5015d7c..023d1142 100644 --- a/components/metrics/WebsiteHeader.js +++ b/components/metrics/WebsiteHeader.js @@ -10,12 +10,21 @@ import Arrow from 'assets/arrow-right.svg'; import styles from './WebsiteHeader.module.css'; export default function WebsiteHeader({ websiteId, title, domain, showLink = false }) { + let TitleHeader = showLink ? ( + + + {title} + + ) : ( +
+ + {title} +
+ ); + return ( -
- - {title} -
+
{TitleHeader}