From b6fd6c8001fc79fb7825da5cdcd8cfd3460193ad Mon Sep 17 00:00:00 2001 From: Vladislav Kibenko Date: Fri, 28 Jun 2024 00:41:50 +0300 Subject: [PATCH] Update the template --- src/pages/IndexPage/IndexPage.css | 23 ----------------------- src/pages/IndexPage/IndexPage.tsx | 2 -- src/pages/InitDataPage/InitDataPage.css | 7 ------- src/pages/InitDataPage/InitDataPage.tsx | 2 -- 4 files changed, 34 deletions(-) delete mode 100644 src/pages/IndexPage/IndexPage.css delete mode 100644 src/pages/InitDataPage/InitDataPage.css diff --git a/src/pages/IndexPage/IndexPage.css b/src/pages/IndexPage/IndexPage.css deleted file mode 100644 index eddc134..0000000 --- a/src/pages/IndexPage/IndexPage.css +++ /dev/null @@ -1,23 +0,0 @@ -.index-page__links { - list-style: none; - padding-left: 0; -} - -.index-page__link { - font-weight: bold; - display: inline-flex; - gap: 5px; -} - -.index-page__link-item + .index-page__link-item { - margin-top: 10px; -} - -.index-page__link-icon { - width: 20px; - display: block; -} - -.index-page__link-icon svg { - display: block; -} \ No newline at end of file diff --git a/src/pages/IndexPage/IndexPage.tsx b/src/pages/IndexPage/IndexPage.tsx index 6aacc25..70105c1 100644 --- a/src/pages/IndexPage/IndexPage.tsx +++ b/src/pages/IndexPage/IndexPage.tsx @@ -5,8 +5,6 @@ import { Link } from '@/components/Link/Link.tsx'; import tonSvg from './ton.svg'; -import './IndexPage.css'; - export const IndexPage: FC = () => { return ( diff --git a/src/pages/InitDataPage/InitDataPage.css b/src/pages/InitDataPage/InitDataPage.css deleted file mode 100644 index fab4ae0..0000000 --- a/src/pages/InitDataPage/InitDataPage.css +++ /dev/null @@ -1,7 +0,0 @@ -.init-data-page__section + .init-data-page__section { - margin-top: 12px; -} - -.init-data-page__section-title { - margin-bottom: 4px; -} \ No newline at end of file diff --git a/src/pages/InitDataPage/InitDataPage.tsx b/src/pages/InitDataPage/InitDataPage.tsx index 5ba05bb..fcb4bc0 100644 --- a/src/pages/InitDataPage/InitDataPage.tsx +++ b/src/pages/InitDataPage/InitDataPage.tsx @@ -4,8 +4,6 @@ import { List, Placeholder } from '@telegram-apps/telegram-ui'; import { DisplayData, type DisplayDataRow } from '@/components/DisplayData/DisplayData.tsx'; -import './InitDataPage.css'; - function getUserRows(user: User): DisplayDataRow[] { return [ { title: 'id', value: user.id.toString() },