From 73566d3aca0ae341eb7ec751f9307361d32cd418 Mon Sep 17 00:00:00 2001 From: Roman Timashev Date: Wed, 12 Oct 2022 15:52:27 +0600 Subject: [PATCH] update --- src/components/App/index.tsx | 47 +++++++++++++++---- .../{Footer/Author.tsx => Author/index.tsx} | 0 src/components/Contacts/index.tsx | 3 +- src/components/Footer/footer.module.css | 1 - src/components/Footer/index.tsx | 40 ++-------------- src/style/style.css | 21 +++++++++ src/ui/Box/index.tsx | 7 ++- src/ui/Panel/index.tsx | 6 ++- src/ui/Panel/panel.module.css | 6 ++- src/ui/Title/index.tsx | 12 +++++ 10 files changed, 92 insertions(+), 51 deletions(-) rename src/components/{Footer/Author.tsx => Author/index.tsx} (100%) create mode 100644 src/ui/Title/index.tsx diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index 4e0a1cd5..175c8c07 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -13,6 +13,12 @@ import { Box } from "@/ui/Box" import { Button } from "@/ui/Button" import { EyeOpenIcon } from "@radix-ui/react-icons" import { useTheme } from "@/ui/theme/useTheme" +import { Copyright } from "../Copyright" +import { Spacer } from "../Spacer" +import { Author } from "../Author" +import { Title } from "@/ui/Title" +import { Panel } from "@/ui/Panel" +import { Contacts } from "../Contacts" export type AppProps = { showAuthor?: boolean @@ -54,23 +60,46 @@ export const App: React.FC = ({ showAuthor = false, menu, ...props }) )} footer={( -