Skip to content

Commit

Permalink
feat: Khar Domain
Browse files Browse the repository at this point in the history
  • Loading branch information
Javid Momeni committed Jul 1, 2024
1 parent e08285d commit ed581e0
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 145 deletions.
24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,36 +16,36 @@
"list": "yarn list"
},
"dependencies": {
"@mantine/core": "7.10.1",
"@mantine/hooks": "7.10.1",
"@tabler/icons-react": "^3.5.0",
"@mantine/core": "7.11.0",
"@mantine/hooks": "7.11.0",
"@tabler/icons-react": "^3.7.0",
"@tonconnect/ui-react": "^2.0.5",
"@twa-dev/sdk": "^7.0.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-microsoft-clarity": "^1.2.0",
"react-router-dom": "^6.23.1"
"react-router-dom": "^6.24.0"
},
"devDependencies": {
"@testing-library/dom": "^10.1.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/dom": "^10.2.0",
"@testing-library/jest-dom": "^6.4.6",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^20.14.2",
"@types/node": "^20.14.9",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-basic-ssl": "^1.1.0",
"@vitejs/plugin-react": "^4.3.0",
"@vitejs/plugin-react": "^4.3.1",
"identity-obj-proxy": "^3.0.0",
"jsdom": "^24.1.0",
"postcss": "^8.4.38",
"postcss": "^8.4.39",
"postcss-preset-mantine": "1.15.0",
"postcss-simple-vars": "^7.0.1",
"prettier": "^3.3.1",
"prettier": "^3.3.2",
"prop-types": "^15.8.1",
"tslib": "^2.6.3",
"typescript": "^5.4.5",
"vite": "^5.2.12",
"typescript": "^5.5.2",
"vite": "^5.3.2",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0"
}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/Boosts.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export function BoostsPage() {
method: "POST",
body: formdata,
};
fetch("https://kharapi.rahomaskan.com/api/savewallet", requestOptions)
fetch("https://api.kharcoin.info/api/savewallet", requestOptions)
.then((response) => {
if (!response.ok) {
throw new Error('Network response was not ok');
Expand All @@ -41,7 +41,7 @@ export function BoostsPage() {
withBorder={false}
>
<AppShell.Header>
<HeaderMenu username={user?.username ?? 'KC'} photoUrl={user?.photo_url ?? 'https://kc.rahomaskan.com/assets/images/kharcoin.jpg'} />
<HeaderMenu username={user?.username ?? 'KC'} photoUrl={user?.photo_url ?? 'https://bot.kharcoin.info/assets/images/kharcoin.jpg'} />
</AppShell.Header>
<AppShell.Main>
<Container>
Expand Down
35 changes: 3 additions & 32 deletions src/pages/Game.page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,42 +78,13 @@ export function GamePage() {
withBorder={false}
>
<AppShell.Header>
<HeaderMenu username={user?.username ?? 'KC'} photoUrl={user?.photo_url ?? 'https://kc.rahomaskan.com/assets/images/kharcoin.jpg'} />
<HeaderMenu username={user?.username ?? 'KC'} photoUrl={user?.photo_url ?? 'https://bot.kharcoin.info/assets/images/kharcoin.jpg'} />
</AppShell.Header>
<AppShell.Main>
<Container>
{/* <Box
maw={300}
mah={400}
h={400}
w={200}
mx="auto"
ta={'center'}
mt={'lg'}
pt={'lg'}
style={{
width: '100%',
height: '100%',
transition: 'opacity 0.5s',
opacity: isBlinking ? 0 : 1,
}}
onMouseDown={handleMouseDown}
onMouseUp={handleMouseUp}
>
<BackgroundImage
src="https://kc.rahomaskan.com/assets/images/khar10.png"
radius="sm"
>
<Text>
خربازیامون
</Text>
</BackgroundImage>
</Box> */}

{/* <Container fluid> */}
<Paper
style={{
backgroundImage: "url('https://kc.rahomaskan.com/assets/images/khar10.png')",
backgroundImage: "url('https://bot.kharcoin.info/assets/images/khar10.png')",
backgroundSize: 'cover',
backgroundPosition: 'center',
width: '100%',
Expand All @@ -127,7 +98,7 @@ export function GamePage() {
onTouchEnd={handleMouseUp}
>
<Image
src="https://kc.rahomaskan.com/assets/images/khar10.png" />
src="https://bot.kharcoin.info/assets/images/khar10.png" />
</Paper>

{isLoading && (
Expand Down
Loading

0 comments on commit ed581e0

Please sign in to comment.