From ad320aebd31602c82a6a598d2aa4b981d6a3b978 Mon Sep 17 00:00:00 2001 From: Semyon Okulov Date: Mon, 8 Jan 2024 21:32:58 +0700 Subject: [PATCH] updates --- src/views/Contacts.tsx | 59 +------------------------------- src/views/Profile.tsx | 77 +++++++++++++++++++++++++++++++++++++++++- 2 files changed, 77 insertions(+), 59 deletions(-) diff --git a/src/views/Contacts.tsx b/src/views/Contacts.tsx index de08079..ebf62e7 100644 --- a/src/views/Contacts.tsx +++ b/src/views/Contacts.tsx @@ -14,7 +14,7 @@ import { import { FC } from 'react' import PanelHeaderWithBack from '../components/PanelHeaderWithBack' -import { GITHUB_URL, HABR_URL, VKT_URL, VK_URL } from '../constants' +import { GITHUB_URL, HABR_URL, VK_URL } from '../constants' const Contacts: FC<{ id: string }> = ({ id }) => { const { panel: activePanel, panelsHistory } = useActiveVkuiLocation() @@ -53,63 +53,6 @@ const Contacts: FC<{ id: string }> = ({ id }) => { - Что-то другое}> - - - - vk.com/testers - - - - - - - github.com/scffs/diary-admin - - - - - - - github.com/scffs/explorer - - - - - Мои любимые репозитории на GitHub - } - > - - - - VKCOM/VKUI - - - - - - - oven-sh/bun - - - - - - - elysiajs/elysia - - - - - - - rust-lang/rust - - - - ) diff --git a/src/views/Profile.tsx b/src/views/Profile.tsx index 5fe02c9..3c30fc9 100644 --- a/src/views/Profile.tsx +++ b/src/views/Profile.tsx @@ -2,12 +2,23 @@ import { useActiveVkuiLocation, useRouteNavigator } from '@vkontakte/vk-mini-apps-router' -import { Div, Group, Panel, Separator, View } from '@vkontakte/vkui' +import { + Div, + Group, + Header, + InfoRow, + Link, + Panel, + Separator, + SimpleCell, + View +} from '@vkontakte/vkui' import { FC } from 'react' import PanelHeaderWithBack from '../components/PanelHeaderWithBack' import { UserInfo, UserStory } from '../components/ProfileInfo' import Suspense from '../components/Suspense' +import { VKT_URL } from '../constants' const Profile: FC<{ id: string }> = ({ id }) => { const { panel: activePanel, panelsHistory } = useActiveVkuiLocation() @@ -35,6 +46,70 @@ const Profile: FC<{ id: string }> = ({ id }) => { + Что-то другое}> + + + + vk.com/testers + + + + + + + github.com/scffs/diary-admin + + + + + + + github.com/scffs/explorer + + + + + Мои любимые репозитории на GitHub + } + > + + + + VKCOM/VKUI + + + + + + + oven-sh/bun + + + + + + + elysiajs/elysia + + + + + + + rust-lang/rust + + + + + + + ziglang/zig + + + + )