mirror of
https://github.com/owncast/owncast.git
synced 2024-12-27 19:48:32 +03:00
00bc662c7f
logo has two variants. Changed story to reflect that. Updated header
21 lines
487 B
TypeScript
21 lines
487 B
TypeScript
import { Layout } from 'antd';
|
|
import { OwncastLogo, UserDropdown } from '../../common';
|
|
import s from './Header.module.scss';
|
|
|
|
const { Header } = Layout;
|
|
|
|
interface Props {
|
|
name: string;
|
|
}
|
|
|
|
export default function HeaderComponent({ name = 'Your stream title' }: Props) {
|
|
return (
|
|
<Header className={`${s.header}`}>
|
|
<div className={`${s.logo}`}>
|
|
<OwncastLogo variant='contrast'/>
|
|
<span>{name}</span>
|
|
</div>
|
|
<UserDropdown />
|
|
</Header>
|
|
);
|
|
}
|