Skip to content

Commit

Permalink
google play
Browse files Browse the repository at this point in the history
  • Loading branch information
rosticom committed Oct 10, 2024
1 parent 6ea9542 commit 732dd51
Show file tree
Hide file tree
Showing 21 changed files with 307 additions and 202 deletions.
Binary file added docs/assets/148_148-orOfdDNG.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/232_232-B5KD57Zr.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/assets/buy_coo_image_1-WcpaUSdZ.png
Binary file not shown.
Binary file removed docs/assets/coobot_logo-B83-6CHg.png
Binary file not shown.
1 change: 1 addition & 0 deletions docs/assets/index-P5MbBlxN.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion docs/assets/index-fBJGFjO1.css

This file was deleted.

288 changes: 144 additions & 144 deletions docs/assets/index-CGXkOy18.js → docs/assets/index-m7s08lMF.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Staking $COO</title>
<script src="https://telegram.org/js/telegram-web-app.js"></script>
<script type="module" crossorigin src="./assets/index-CGXkOy18.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-fBJGFjO1.css">
<script type="module" crossorigin src="./assets/index-m7s08lMF.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-P5MbBlxN.css">
</head>
<body>
<div id="root"></div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "coobot-merkaba",
"private": true,
"version": "0.0.16",
"version": "0.1.0",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
64 changes: 46 additions & 18 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,46 +1,82 @@
#root {
max-width: 1280px;
max-width: 480px;
margin: 0 auto;
padding: 1rem;
text-align: center;
min-height: 88vh;
width: 100%;
}

.logo {
height: 5em;
margin-top: 1em;
height: 4em;
/* margin-top: 1em; */
will-change: filter;
transition: filter 300ms;
border-radius: 50%;
}

.logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
transform: scale(1.05);
}

.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
transform: scale(1.05);
}

.logo_app {
height: 5em;
padding-left: 1.5em;
padding-right: 1.5em;
height: 4em;
/* padding-left: 1.5em;
padding-right: 1.5em; */
will-change: filter;
transition: filter 300ms;
border-radius: 50%;
align-self: center;
}

.logo_app:hover {
filter: drop-shadow(0 0 2em #646cffaa);
transform: scale(1.05);
}

.logo_app.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
transform: scale(1.05);
}

/* .buy_logo {
border-radius: 50%;
align-self: center;
height: 10em;
}
.buy_coo_image {
width: 93%;
border-radius: 10px;
.buy_logo:hover {
filter: drop-shadow(0 0 2em #646cffaa);
transform: scale(1.05);
}
.buy_logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
transform: scale(1.05);
} */

.card {
padding: 0.68em;
}

.read-the-docs {
color: #888;
}

.row_center {
padding-top: 1.2em;
display: flex;
justify-content: space-evenly;
}



/* @keyframes logo-spin {
from {
transform: rotate(0deg);
Expand All @@ -54,12 +90,4 @@
a:nth-of-type(2) .logo {
animation: logo-spin infinite 20s linear;
}
} */

.card {
padding: 2em;
}

.read-the-docs {
color: #888;
}
} */
24 changes: 14 additions & 10 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import { Header } from "./components/Header/Header";

// import { useState } from 'react'
// import reactLogo from './assets/merkaba_tv.jpg'
import buyCooImage from './assets/buy_coo_image_1.png'
// import buyCooImage from './assets/buy_coo_image_1.png'
import chatLogo from './assets/coobot_23.jpg'
import coobotLogo from './assets/coobot_logo.png'
import coobotLogo from './assets/148_148.png'
import coobotAndroidLogo from './assets/232_232.png'
import gasPumbLogo from './assets/gaspump.jpg'
import './App.css'
import TonUsdChart from "./components/TonusdChart/TonusdChart";
Expand Down Expand Up @@ -71,10 +72,13 @@ function App() {
{/* <TxForm /> */}
{/* <TonProofDemo /> */}

<div>
<div className = "row_center">
<a href="https://t.me/+JuO8mZMYOnRmN2Ux">
<img src={chatLogo} className="logo" alt="Coobot chat" />
</a>
<a onClick={() => openLink('https://play.google.com/store/apps/details?id=com.rosticom.qantb&hl=ru')}>
<img src={coobotAndroidLogo} className="logo_app" alt="Coobot app" />
</a>
<a onClick={() => openLink('https://coo.topme.be')}>
<img src={coobotLogo} className="logo_app" alt="Coobot app" />
</a>
Expand All @@ -95,18 +99,18 @@ function App() {
{/* <button onClick={() => setCount((count) => count + 1)}>
earn coins for your wallet: {count} money transfer
</button> */}
<p>
{/* <p>
<a href="https://t.me/gasPump_bot/app?startapp=eyJyZWZfdXNlcl9pZCI6NTY1ODY0MzE4LCJ0b2tlbl9hZGRyZXNzIjoiRVFEZGlyd3l5YXNST2tvUnc5bUJCekJkUUhjYUFjOUV5OFpoak1TdXRkdHJmU2M1In0">
Buy $COO and chill out until November 1st, 2024.
Buy $COO and chill out until November 1st, 2024. */}
{/* Please, buy some $COO to be rich */}
{/* Transfer coobots to your wallet */}
{/* <code>coobot coins</code> */}
</a>
</p>
{/* </a>
</p> */}
</div>
<a href="https://t.me/gasPump_bot/app?startapp=eyJyZWZfdXNlcl9pZCI6NTY1ODY0MzE4LCJ0b2tlbl9hZGRyZXNzIjoiRVFEZGlyd3l5YXNST2tvUnc5bUJCekJkUUhjYUFjOUV5OFpoak1TdXRkdHJmU2M1In0">
<img src={buyCooImage} className="logo" alt="Coobot app" />
</a>
{/* <a href="https://t.me/gasPump_bot/app?startapp=eyJyZWZfdXNlcl9pZCI6NTY1ODY0MzE4LCJ0b2tlbl9hZGRyZXNzIjoiRVFEZGlyd3l5YXNST2tvUnc5bUJCekJkUUhjYUFjOUV5OFpoak1TdXRkdHJmU2M1In0">
<img src={buyCooImage} className="buy_logo" alt="Coobot app" />
</a> */}

<Footer />
</div>
Expand Down
Binary file added src/assets/148_148.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/232_232.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/Pasted Graphic 2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/android_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed src/assets/app_icon.png
Binary file not shown.
Binary file added src/assets/google_play_badge.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/square_logo_android.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 13 additions & 3 deletions src/components/Footer/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
// import {Locales, ReturnStrategy, Theme, THEME, useTonConnectUI} from "@tonconnect/ui-react";
// import {BorderRadius} from "@tonconnect/ui-react";
import {useTonConnectUI} from "@tonconnect/ui-react";
// import {useTonConnectUI} from "@tonconnect/ui-react";
import './footer.scss';
// import {useEffect, useState} from "react";
// import {ColorsModal} from "./ColorsModal/ColorsModal";

// const defaultWalletsSelectValue = '["Tonkeeper", "OpenMask"]';
const openLink = (url: string | URL | undefined) => {
window.open(url, '_blank');
};

export const Footer = () => {
// const [checkboxes, setCheckboxes] = useState(
Expand All @@ -16,7 +19,7 @@ export const Footer = () => {
// const [skipRedirect, setSkipRedirect] = useState('ios');

// eslint-disable-next-line @typescript-eslint/no-unused-vars
const [_, setOptions] = useTonConnectUI();
// const [_, setOptions] = useTonConnectUI();

// const onLangChange = (lang: string) => {
// setOptions({language: lang as Locales})
Expand All @@ -30,7 +33,7 @@ export const Footer = () => {
// setOptions({uiPreferences: {borderRadius: borders as BorderRadius}})
// }

setOptions({uiPreferences: {borderRadius: 'm'}}) // or 's'
// setOptions({uiPreferences: {borderRadius: 'm'}}) // or 's'

// console.log("hi!");

Expand Down Expand Up @@ -67,6 +70,13 @@ export const Footer = () => {
// }, [checkboxes, setOptions])

return <footer className="footer">
<button className="google-play-button" onClick={ () => {
openLink('https://play.google.com/store/apps/details?id=com.rosticom.qantb&hl=ru')
} }>
<img src="src/assets/google_play_badge.png" alt="Google Play" />
</button>
{/* google-play-badge.png */}

{/* <div>
<label>language</label>
<select onChange={e => onLangChange(e.target.value)}>
Expand Down
95 changes: 73 additions & 22 deletions src/components/Footer/footer.scss
Original file line number Diff line number Diff line change
@@ -1,28 +1,79 @@
.footer {
padding: 20px;
display: flex;
gap: 20px;
justify-content: flex-end;
align-items: center;
flex-wrap: wrap;

> div > label {
color: white;
margin-right: 5px;
}
// padding: 20px;
// display: flex;
// gap: 20px;
// justify-content: flex-end;
// align-items: center;
// flex-wrap: wrap;

// > div > label {
// color: white;
// margin-right: 5px;
// }

// .google-play-badge {
// background-image: url('./google-play-badge.png');
// // background-size: cover;
// display: inline-flex;
// // width: 100px;
// // height: 60px;
// border: none;
// cursor: pointer;
// .google-play-badge img {
// width: 50px;
// height: auto;
// }
// }
.google-play-button {
background-color: transparent; /* Цвет фона кнопки */
// background-color: wheat; /* Цвет фона кнопки */
border: none; /* Убираем границу */
display: inline-flex; /* Используем flex для выравнивания */
align-items: center; /* Выравнивание по вертикали */
// padding: 10px 20px; /* Отступы */
cursor: pointer; /* Курсор при наведении */
border-radius: 8px; /* Скругленные углы */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Тень */
transition: transform 0.2s, box-shadow 0.2s; /* Плавные переходы */
width: 180px;
}

.footer-checkbox-container {
display: flex;
flex-direction: column;
button {
padding: 0;
}

> span {
color: white;
font-weight: bold;
margin-bottom: 4px;
}
.google-play-button img {
width: 180px; /* Ширина изображения */
height: auto; /* Автоматическая высота для сохранения пропорций */
// margin-right: 10px; /* Отступ между изображением и текстом */
background-size: contain;
}

input {
margin-left: 3px;
}
.google-play-button:hover {
transform: scale(1.05); /* Увеличиваем кнопку при наведении */
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3); /* Увеличиваем тень при наведении */
}

.google-play-button:active {
transform: scale(0.95); /* Уменьшаем кнопку при нажатии */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Возвращаем тень при нажатии */
}

}

// .footer-checkbox-container {
// display: flex;
// flex-direction: column;

// > span {
// color: white;
// font-weight: bold;
// margin-bottom: 4px;
// }

// input {
// margin-left: 3px;
// }
// }


14 changes: 13 additions & 1 deletion src/components/HoldersList/Holders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@
border-bottom: none;
}

.holders-item:hover {
background-color: #ffffff;
// box-shadow: 0 0px 0px rgba(0, 0, 0, 0.1);
// outline: 10px solid transparent;
// outline-offset: -5px;
transform: scale(1.05);
border-radius: 11px;
&.holders-item::before {
display: none;
}
}

.holders-list-container {
// background-color: #f0f0f0;
background-color: transparent;
Expand Down Expand Up @@ -101,7 +113,7 @@
top: 56px; /* Позиционируем псевдоэлемент по центру высоты элемента */
left: 56px; /* Отступ слева */
width: calc(100% - 56px);
height: 0.5px;
height: 0.2px;
background-color: #ccc;
}

Expand Down

0 comments on commit 732dd51

Please sign in to comment.