mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-26 03:50:31 +00:00
* feat: added a new logo for sidebar and login page * chore: removed the signoz-signup.svg * feat: updated the svg * feat: updated the svg
41 lines
956 B
TypeScript
41 lines
956 B
TypeScript
import { Card, Space, Typography } from 'antd';
|
|
import { ReactChild } from 'react';
|
|
import { useTranslation } from 'react-i18next';
|
|
|
|
import { Container, LeftContainer, Logo } from './styles';
|
|
|
|
const { Title } = Typography;
|
|
|
|
function WelcomeLeftContainer({
|
|
version,
|
|
children,
|
|
}: WelcomeLeftContainerProps): JSX.Element {
|
|
const { t } = useTranslation();
|
|
|
|
return (
|
|
<Container>
|
|
<LeftContainer direction="vertical">
|
|
<Space align="center">
|
|
<Logo src="/Logos/signoz-brand-logo.svg" alt="logo" />
|
|
<Title style={{ fontSize: '46px', margin: 0 }}>SigNoz</Title>
|
|
</Space>
|
|
<Typography>{t('monitor_signup')}</Typography>
|
|
<Card
|
|
style={{ width: 'max-content' }}
|
|
bodyStyle={{ padding: '1px 8px', width: '100%' }}
|
|
>
|
|
SigNoz {version}
|
|
</Card>
|
|
</LeftContainer>
|
|
{children}
|
|
</Container>
|
|
);
|
|
}
|
|
|
|
interface WelcomeLeftContainerProps {
|
|
version: string;
|
|
children: ReactChild;
|
|
}
|
|
|
|
export default WelcomeLeftContainer;
|