feat: updated /owned-tanks to new width

This commit is contained in:
TresAbhi committed 2023-08-09 00:19:50 +00:00
1 parent 81bc9f9ba6
commit 270a3051b7
6 files changed
+113 -41

No files matched your search

+2 -1
View File
@@ -9,7 +9,8 @@ export function Root({ children }: RootProps) {
<div
style={{
display: 'flex',
gap: 8,
flexDirection: 'column',
gap: 16,
}}
>
{children}
+18
View File
@@ -0,0 +1,18 @@
import { ReactNode } from 'react';
export interface RowProps {
children: ReactNode;
}
export function Row({ children }: RowProps) {
return (
<div
style={{
display: 'flex',
gap: 8,
}}
>
{children}
</div>
);
}
+19
View File
@@ -0,0 +1,19 @@
import { theme } from '../../../stitches.config';
export interface TitleProps {
children: string;
}
export function Title({ children }: TitleProps) {
return (
<span
style={{
fontWeight: 900,
color: theme.colors.textHighContrast,
fontSize: 24,
}}
>
{children}
</span>
);
}
+2
View File
@@ -1,3 +1,5 @@
export * from './components/Column';
export * from './components/Item';
export * from './components/Root';
export * from './components/Row';
export * from './components/Title';