diff --git a/frontend/src/bundles/common/components/button/button.tsx b/frontend/src/bundles/common/components/button/button.tsx index 7fb25ff6b..69b312847 100644 --- a/frontend/src/bundles/common/components/button/button.tsx +++ b/frontend/src/bundles/common/components/button/button.tsx @@ -6,6 +6,7 @@ import { type Properties = { label: string; type?: 'button' | 'submit'; + variant?: string; size?: 'md' | 'lg'; isDisabled?: boolean; sx?: SystemStyleObject; @@ -14,13 +15,15 @@ type Properties = { const Button: React.FC = ({ label, type = 'button', + variant = 'solid', size = 'md', isDisabled = false, sx = {}, }) => ( { +type Properties = { + left?: React.ReactNode; + center?: React.ReactNode; + right?: React.ReactNode; +}; + +const Header: React.FC = ({ left, center, right }) => { return ( { position="sticky" top="0" left="0" - width="100%" + width="full" backgroundColor="background.900" - color="white" boxShadow="md" zIndex="1000" padding="4" marginBottom="20px" + alignItems="center" + justifyContent="space-between" > - - + {left ?? ( + // {/* TODO: Add logo */} + Logo - + )} + {center} + {right} ); }; diff --git a/frontend/src/bundles/common/enums/app-route.enum.ts b/frontend/src/bundles/common/enums/app-route.enum.ts index dfc5352ec..9d1c5334e 100644 --- a/frontend/src/bundles/common/enums/app-route.enum.ts +++ b/frontend/src/bundles/common/enums/app-route.enum.ts @@ -2,6 +2,7 @@ const AppRoute = { ROOT: '/', SIGN_IN: '/sign-in', SIGN_UP: '/sign-up', + STUDIO: '/studio', } as const; export { AppRoute }; diff --git a/frontend/src/bundles/studio/pages/studio.tsx b/frontend/src/bundles/studio/pages/studio.tsx new file mode 100644 index 000000000..fd0acd3d0 --- /dev/null +++ b/frontend/src/bundles/studio/pages/studio.tsx @@ -0,0 +1,31 @@ +import { + Button, + DownloadIcon, + Header, + IconButton, +} from '~/bundles/common/components/components.js'; + +const Studio: React.FC = () => { + return ( + <> +
+ } + right={ + } + /> + } + /> + + ); +}; + +export { Studio }; diff --git a/frontend/src/framework/theme/styles/components.styles.ts b/frontend/src/framework/theme/styles/components.styles.ts index ff9a15c66..070571443 100644 --- a/frontend/src/framework/theme/styles/components.styles.ts +++ b/frontend/src/framework/theme/styles/components.styles.ts @@ -66,6 +66,19 @@ const components = { }, }, }, + primaryOutlined: { + color: colors.background[300], + border: '1px solid', + borderColor: colors.background[300], + _hover: { + color: 'white', + bg: colors.background[300], + _disabled: { + color: colors.background[300], + bg: 'none', + }, + }, + }, ghostIcon: { color: colors.white, _hover: { diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx index 1412d521b..901c2d1de 100644 --- a/frontend/src/index.tsx +++ b/frontend/src/index.tsx @@ -9,6 +9,7 @@ import { StoreProvider, } from '~/bundles/common/components/components.js'; import { AppRoute } from '~/bundles/common/enums/enums.js'; +import { Studio } from '~/bundles/studio/pages/studio.js'; import { store } from '~/framework/store/store.js'; import { theme } from '~/framework/theme/theme.js'; @@ -29,6 +30,10 @@ const routes = [ path: AppRoute.SIGN_UP, element: , }, + { + path: AppRoute.STUDIO, + element: , + }, ], }, ];