Skip to content

Commit

Permalink
external link
Browse files Browse the repository at this point in the history
  • Loading branch information
rosticom committed Oct 9, 2024
1 parent 1701f79 commit 4f50858
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<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-BcsfzKUp.js"></script>
<script type="module" crossorigin src="./assets/index-62ipdNg9.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-Dia3AHGV.css">
</head>
<body>
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.13",
"version": "0.0.14",
"type": "module",
"scripts": {
"dev": "vite",
Expand Down
6 changes: 4 additions & 2 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ import HoldersList from "./components/HoldersList/HoldersList";

function App() {
// const [count, setCount] = useState(0)

const openLink = (url: string | URL | undefined) => {
window.open(url, '_blank');
};
return (
<TonConnectUIProvider
manifestUrl="https://rosticom.github.io/coobot-merkaba-tma/tonconnect-manifest.json"
Expand Down Expand Up @@ -73,7 +75,7 @@ function App() {
<a href="https://t.me/+JuO8mZMYOnRmN2Ux">
<img src={chatLogo} className="logo" alt="Coobot chat" />
</a>
<a href="https://coo.topme.be" target="_blank">
<a onClick={() => openLink('https://coo.topme.be')}>
<img src={coobotLogo} className="logo_app" alt="Coobot app" />
</a>
<a href="https://t.me/gasPump_bot/app?startapp=eyJyZWZfdXNlcl9pZCI6NTY1ODY0MzE4LCJ0b2tlbl9hZGRyZXNzIjoiRVFEZGlyd3l5YXNST2tvUnc5bUJCekJkUUhjYUFjOUV5OFpoak1TdXRkdHJmU2M1In0">
Expand Down

0 comments on commit 4f50858

Please sign in to comment.