import React from 'react'; import { useRouter } from 'next/router'; import PageHeader from 'components/layout/PageHeader'; import Link from 'components/common/Link'; import Button from 'components/common/Button'; import ActiveUsers from './ActiveUsers'; import Arrow from 'assets/arrow-right.svg'; import styles from './WebsiteHeader.module.css'; export default function WebsiteHeader({ websiteId, name, showLink = false }) { const router = useRouter(); return ( {showLink ? ( {name} ) : (
{name}
)} {showLink && ( )}
); }