Skip to content

Commit

Permalink
Merge pull request #38 from IshuSinghSE/gh-pages
Browse files Browse the repository at this point in the history
added telegram bot link to website
  • Loading branch information
Harish-2003 authored Oct 2, 2024
2 parents fd33bed + 46b16dc commit 089101c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ <h2>Crypto Price Predictor</h2>
<h3>Predicted Price:</h3>
<p id="price"></p>
</div>
<div id="telegram-bot">
<p class="bot-text">Track prices with our Telegram bot</p>
<h3><a href="https://t.me/trackingcryptopricerbot" class="bot-link">@TrackCryptoPriceBot</a></h3>
</div>
</section>
</div>

Expand Down
17 changes: 17 additions & 0 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ const cryptoMap = {
'FIL': 'filecoin',
'NEAR': 'near',
'HBAR': 'hedera-hashgraph',
'TON': 'toncoin',
'SUI':'sui',
'OP': 'optimism',
'INJ': 'injective',
'ARB': 'arbitrum',

// Stablecoins
'DAI': 'dai',
Expand Down Expand Up @@ -84,8 +89,20 @@ const cryptoMap = {
'BABYDOGE': 'baby-doge-coin',
'SAFEMOON': 'safemoon',
'ELON': 'dogelon-mars',
'PEPE': 'memetic',
'WIF': 'dogwithat',
'BONK': 'bonk',
'FLOKI': 'floki',

// Add more symbols and tokens as needed
'WETH': 'wrapped-ethereum',
'MKR': 'maker',
'BAL': 'balancer',
'WLD': 'worldcoin',
'OM': 'mantra-dao',
'PHB': 'phoenix',
'LISTA': 'lista',
'RENDER': 'render',
};

const cryptoInput = document.getElementById('crypto');
Expand Down
19 changes: 19 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -219,3 +219,22 @@ h1, h2, h3 {
word-wrap: break-word;
}
}



#telegram-bot {
align-items: center;
display: flex;
flex-direction: column;
gap: 0.25rem;
}

.bot-link{
text-decoration: none;
color: #FFEB55;
}

.bot-text{
font-size: 1rem;
margin-block: 0px;
}

0 comments on commit 089101c

Please sign in to comment.