diff --git a/src/components/task.module.scss b/src/components/task.module.scss index 3360d89..0165375 100644 --- a/src/components/task.module.scss +++ b/src/components/task.module.scss @@ -1,5 +1,5 @@ @reference "../index.scss"; .task { - @apply flex h-24 w-[300px] flex-col items-center justify-center rounded-md border-2 text-xl md:w-[500px]; + @apply flex h-24 w-[300px] cursor-pointer flex-col items-center justify-center rounded-md border-2 text-xl transition-transform hover:scale-[1.05] active:scale-[1.05] md:w-[500px]; } diff --git a/src/pages/profile.module.scss b/src/pages/profile.module.scss index 0be3cf1..29a3374 100644 --- a/src/pages/profile.module.scss +++ b/src/pages/profile.module.scss @@ -1 +1,13 @@ @reference "../index.scss"; + +#main_container { + @apply flex h-screen flex-col md:flex-row; +} + +#router_container { + @apply flex-1 overflow-y-auto px-3 pb-[6rem] break-all md:pb-5; +} + +#menu_container { + @apply md:sticky md:top-0 md:h-screen; +} diff --git a/src/pages/profile.tsx b/src/pages/profile.tsx index cf9d61c..6e1d0d9 100644 --- a/src/pages/profile.tsx +++ b/src/pages/profile.tsx @@ -1,12 +1,13 @@ import Menu from "@/components/menu"; import { FunctionComponent } from "preact"; import { lazy, Route, Router, useLocation } from "preact-iso"; +import ids from "./profile.module.scss"; const ProfilePage: FunctionComponent = () => { const { route } = useLocation(); return ( -
Никнейм
-Статус
-Никнейм
+Статус
+