Skip to content

Commit

Permalink
Feat: Boosts list
Browse files Browse the repository at this point in the history
  • Loading branch information
jaavid committed Jun 27, 2024
1 parent 3950e40 commit 6edaccc
Showing 1 changed file with 71 additions and 20 deletions.
91 changes: 71 additions & 20 deletions src/pages/Boosts.page.tsx
Original file line number Diff line number Diff line change
@@ -1,30 +1,81 @@
import FooterMenu from '../components/FooterMenu/FooterMenu';
import HeaderMenu from '../components/HeaderMenu/HeaderMenu';
import { Welcome } from '../components/Welcome/Welcome';
import { AppShell, Container, Title } from '@mantine/core';
import { AppShell, Container, SimpleGrid, Title, Text, Box, Button } from '@mantine/core';
import WebApp from '@twa-dev/sdk';
export function BoostsPage() {
const user = WebApp.initDataUnsafe.user;
const usertgid = user?.id;
return (
<Container size={'xs'}>
<AppShell
header={{ height: 40 }}
footer={{ height: 70 }}
withBorder={false}
>
<AppShell.Header>
<HeaderMenu username={user?.username ?? 'KC'} photoUrl={user?.photo_url ?? 'https://kc.rahomaskan.com/assets/images/kharcoin.jpg'} />
</AppShell.Header>
<AppShell.Main>
<Container>
<Title order={1}>تقویت</Title>
</Container>
</AppShell.Main>
<AppShell.Footer>
<FooterMenu />
</AppShell.Footer>
</AppShell>
</Container>
<Container size={'xs'}>
<AppShell
header={{ height: 40 }}
footer={{ height: 70 }}
withBorder={false}
>
<AppShell.Header>
<HeaderMenu username={user?.username ?? 'KC'} photoUrl={user?.photo_url ?? 'https://kc.rahomaskan.com/assets/images/kharcoin.jpg'} />
</AppShell.Header>
<AppShell.Main>
<Container>
<Title order={1}>تقویت</Title>
<Box pt={'lg'} mt={'lg'} ta={'center'}>
<Button variant="filled" color="yellow" size="xl" radius="md" ta={'center'}>
خر کوین
</Button>
</Box>
<SimpleGrid cols={2} spacing="xl" verticalSpacing="xl" pt={'lg'} mt={'lg'}>
<Box p={'lg'} bg={'gray'}>
<Text
ta={'center'}
size="xl"
fw={900}
variant="gradient"
gradient={{ from: 'blue', to: 'rgba(255, 255, 255, 1)', deg: 0 }}
>
شــیــر خـــــر
</Text>
</Box>
<Box p={'lg'} bg={'gray'}>
<Text
ta={'center'}
size="xl"
fw={900}
variant="gradient"
gradient={{ from: 'orange', to: 'yellow', deg: 0 }}
>
عنـبـر نــســا
</Text>
</Box>
<Box p={'lg'} bg={'gray'}>
<Text
ta={'center'}
size="xl"
fw={900}
variant="gradient"
gradient={{ from: 'brown', to: 'green', deg: 0 }}
>
کـــره خـــــر
</Text>
</Box>
<Box p={'lg'} bg={'gray'}>
<Text
ta={'center'}
size="xl"
fw={900}
variant="gradient"
gradient={{ from: 'red', to: 'blue', deg: 0 }}
>
جــفــتــک
</Text>
</Box>
</SimpleGrid>
</Container>
</AppShell.Main>
<AppShell.Footer>
<FooterMenu />
</AppShell.Footer>
</AppShell>
</Container>
);
}

0 comments on commit 6edaccc

Please sign in to comment.