-
-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "changed the complete ui of the webpage and added a static air…
…drop secion and contract button"
- Loading branch information
1 parent
4949921
commit d31af87
Showing
7 changed files
with
117 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
|
@@ -7,100 +6,45 @@ | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>OpenTekHub Blockchain Repo</title> | ||
<link rel="preconnect" href="https://fonts.googleapis.com"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Monofett&family=Teko:[email protected]&family=Handjet:[email protected]&family=Fredoka:[email protected]&family=Gowun+Batang:wght@400;700&family=Mate+SC&display=swap" rel="stylesheet"> | ||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | ||
<link href="https://fonts.googleapis.com/css2?family=Fredoka:[email protected]&family=Gowun+Batang:wght@400;700&family=Mate+SC&display=swap" rel="stylesheet"> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
|
||
|
||
|
||
<body> | ||
<script> | ||
document.addEventListener('DOMContentLoaded', function() { | ||
const fadeElements = document.querySelectorAll('.fade-in'); | ||
|
||
function checkVisibility() { | ||
const triggerBottom = window.innerHeight / 5 * 4; | ||
|
||
fadeElements.forEach(element => { | ||
const box = element.getBoundingClientRect(); | ||
if (box.top < triggerBottom) { | ||
element.classList.add('visible'); | ||
} else { | ||
element.classList.remove('visible'); | ||
} | ||
}); | ||
} | ||
|
||
window.addEventListener('scroll', checkVisibility); | ||
checkVisibility(); | ||
}); | ||
document.addEventListener("DOMContentLoaded", function() { | ||
const text = "Explore the Blockchain implementation and predict the latest cryptocurrency prices."; | ||
const container = document.getElementsByClassName("tagline")[0]; | ||
|
||
function animatetext() { | ||
[...text].forEach((letter, index) => { | ||
const span = document.createElement('span'); | ||
span.textContent = letter; | ||
span.style.opacity = 0; | ||
span.style.transition = 'opacity 0.5s'; | ||
container.appendChild(span); | ||
|
||
setTimeout(() => { | ||
span.style.opacity = 1; | ||
}, index * 100); | ||
}); | ||
} | ||
|
||
animatetext(); | ||
}); | ||
|
||
</script> | ||
|
||
<header class="header"> | ||
<h1>OpenTekHub Blockchain Repository</h1> | ||
<button class="contract">Contact Us</button> | ||
</header> | ||
|
||
<h1 id="main">Discover the Latest <span>Airdrop$</span> <br><span id="space"> and</span > <span> crypto</span> Prices!</h1> | ||
<img src="public/image1.png" alt="icons" id="icon1"> | ||
<img src="public/airdrop.png" alt="icons" id="icon2"> | ||
|
||
<div class="tagline"></div> | ||
|
||
<div class="central"> | ||
<p class="tagline">Explore the Blockchain implementation and predict the latest cryptocurrency prices.</p> | ||
|
||
<section id="crypto-price-predictor"> | ||
<img src="public/predict.png" id="icon3" alt="prediction icon"> | ||
<h2 >Crypto Price Predictor</h2> | ||
<h2>Crypto Price Predictor</h2> | ||
<div id="crypto-form"> | ||
<label for="crypto">Enter Cryptocurrency Symbol (e.g., BITCOIN(BTC), ETHERUM(ETH)):</label> | ||
<input type="text" id="crypto" name="crypto" autocomplete="off" > | ||
<div id="crypto-suggestions"></div> | ||
<input type="text" id="crypto" name="crypto"> | ||
<button id="predict-btn">Predict Price</button> | ||
|
||
|
||
|
||
<div id="crypto-suggestions"></div> | ||
</div> | ||
<div id="price-result"> | ||
<h3>Predicted Price:</h3> | ||
<p id="price"></p> | ||
<div id="market-details"></div> | ||
|
||
</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"> <img src="public/telegram.png" onclick="" id="Telegram" alt="telegram-bot">@TrackCryptoPriceBot</a></h3> | ||
<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> | ||
<div id="airdrop-section"> | ||
<h3>Upcoming Airdrops</h3> | ||
<div id="airdrop-list"></div> | ||
</div> | ||
|
||
<script src="script.js"></script> | ||
<section id="repo-info"> | ||
<h2>About the Repository</h2> | ||
<p>This repository demonstrates blockchain prices using api and javascript.</p> | ||
<a href="https://github.com/OpenTekHub/blockchain" target="_blank">Visit the Repo</a> | ||
</section> | ||
|
||
<script src="script.js"></script> | ||
</body> | ||
|
||
</html> | ||
</html> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.