diff --git a/web/components/ui/Content/Content.module.scss b/web/components/ui/Content/Content.module.scss index 70cd848a1..4a1fae93e 100644 --- a/web/components/ui/Content/Content.module.scss +++ b/web/components/ui/Content/Content.module.scss @@ -17,6 +17,11 @@ display: grid; } +.buttonsLogoTitleSection { + margin-left: 1.5vw; + margin-right: 1.5vw; +} + .pageContentSection { background-color: var(--theme-background-secondary); border-radius: var(--theme-rounded-corners); @@ -25,6 +30,29 @@ width: 100%; } +.logoTitleSection { + display: flex; + flex-direction: row; +} + +.titleSection { + display: flex; + flex-direction: column; + margin-top: 20px; + margin-left: 10px; + + .title { + font-size: 2.5vw; + font-weight: bold; + color: var(--theme-text-primary); + } + + .subtitle { + font-size: 1.6vw; + font-weight: bold; + } +} + @media (min-width: 768px) { .mobileChat { display: none; diff --git a/web/components/ui/Content/Content.tsx b/web/components/ui/Content/Content.tsx index af854917c..c0d50a10c 100644 --- a/web/components/ui/Content/Content.tsx +++ b/web/components/ui/Content/Content.tsx @@ -1,5 +1,5 @@ import { useRecoilValue } from 'recoil'; -import { Layout, Button, Tabs, Typography } from 'antd'; +import { Layout, Button, Tabs } from 'antd'; import { chatVisibilityAtom, clientConfigStateAtom, @@ -29,7 +29,6 @@ import ServerLogo from '../Logo/Logo'; const { TabPane } = Tabs; const { Content } = Layout; -const { Title } = Typography; export default function ContentComponent() { const status = useRecoilValue(serverStatusState); @@ -74,19 +73,30 @@ export default function ContentComponent() { lastDisconnectTime={lastDisconnectTime} viewerCount={viewerCount} /> - - {externalActionButtons} - - {}} notificationClosed={() => {}}> - - - +
+ + {externalActionButtons} + + {}} + notificationClosed={() => {}} + > + + + + +
+
+ +
+
{name}
+
{title}
+
{tags.length > 0 && tags.map(tag => #{tag} )}
+
+
+
-
- - {name} - {online && title !== '' && {title}} -
{tags.length > 0 && tags.map(tag => #{tag} )}