-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e59cef
commit 8bef10b
Showing
11 changed files
with
536 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
const observer = new IntersectionObserver((entries) => { | ||
entries.forEach((entry) => { | ||
console.log(entry) | ||
if (entry.isIntersecting) { | ||
entry.target.classList.add('show'); | ||
} else { | ||
entry.target.classList.remove('show'); | ||
} | ||
}); | ||
}); | ||
|
||
const hiddenElements = document.querySelectorAll('.hidden,.hidden-hero-text'); | ||
hiddenElements.forEach((el) => observer.observe(el)); |
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 |
---|---|---|
@@ -0,0 +1,121 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
|
||
|
||
<link rel="icon" type="image/webp" size="32x32" href="./img/cosmezis_logo.webp"> | ||
<link href="https://fonts.googleapis.com/css2?family=Kufam&family=Mouse+Memoirs&family=Nunito:wght@300&display=swap" | ||
rel="stylesheet"> | ||
<link rel="stylesheet" href="style.css"> | ||
<script defer src="app.js"></script> | ||
<title>cosmezis</title> | ||
</head> | ||
|
||
<body> | ||
<nav> | ||
<div class="logo"> | ||
<a href="">cosmezis</a> | ||
</div> | ||
<ul> | ||
<li><a class="nav-link" href="#about_us">About Us</a></li> | ||
<li><a class="nav-link" href="#missions">Missions</a></li> | ||
<li><a class="nav-link">Xplore</a></li> | ||
</ul> | ||
</nav> | ||
<main> | ||
<section class="hero"> | ||
<video autoplay loop muted playsinline class="hero_video"> | ||
<source src="vid/by-Timo-Herbert-from-Pixabay.mp4" type="video/mp4"> | ||
</video> | ||
<div class="hero_img"><img src="img/pexels-Photo-by-Kristaps.webp"></div> | ||
<h1 class="hero_text hidden-hero-text">TOUCH NEW HORIZONS</h1> | ||
</section> | ||
<section class="space hidden"> | ||
<div class="space_text hidden"> | ||
<h2 class="space_h">Space Odyssey</h2> | ||
<p class="space_p">Welcome aboard Cosmezis!<br> | ||
Join us on a thrilling journey to explore<br> | ||
and conquer the uncharted reaches of<br> | ||
the cosmos. Witness the breathtaking <br> | ||
beauty and profound mysteries that <br> | ||
await us beyond our world.</p> | ||
</div> | ||
<div class="space_achieve hidden"> | ||
<div> | ||
<h3>250</h3> | ||
<p>Galactic Destinations</p> | ||
</div> | ||
<div> | ||
<h3>150</h3> | ||
<p>Successful Missions</p> | ||
</div> | ||
<div> | ||
<h3>500+</h3> | ||
<p>Astro-Enthusiasts</p> | ||
</div> | ||
</div> | ||
<div class="space_img-bg hidden"> | ||
<img src="img/dyson-sphere.webp" class="space_img hidden"> | ||
</div> | ||
</section> | ||
<section class="about" id="about_us"> | ||
<video autoplay loop muted playsinline class="about_video"> | ||
<source src="vid/by-9991096-from-Pixabay.mp4" type="video/mp4"> | ||
</video> | ||
<div class="about_text hidden"> | ||
<div class="about_bg hidden"> | ||
<h2>About Us</h2> | ||
<div class="about_p_bg hidden"> | ||
<p class="about_p">At Cosmezis, we're passionate pioneers of humanity's | ||
cosmic adventure. Our team of bright minds and | ||
fearless visionaries is committed to breaking barriers | ||
and seeking hidden mysteries that lie beyond Earth. | ||
Established in 2027, we've been on a remarkable | ||
journey, fueled by the desire to explore, understand, | ||
and touch new horizons in the universe. | ||
|
||
<p class="p2">Our team comprises a diverse mix of scientists, | ||
engineers, astronauts, and forward-thinkers, each | ||
bringing their unique expertise to the cosmic journey.</p> | ||
</p> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</section> | ||
<section class="missions hidden" id="missions"> | ||
<h2 class="mission_h">Our Missions</h2> | ||
<div class="mission_img hidden"> | ||
<img class="hidden" src="img/space-colony.webp"><img class="hidden" src="img/alien-planet.webp"><img | ||
class="hidden" src="img/black-hole-home.webp"> | ||
</div> | ||
</section> | ||
</main> | ||
<footer> | ||
<div> | ||
<ul class="f-li"> | ||
<li>Facebook</li> | ||
<li>Twitter</li> | ||
<li>Instagram</li> | ||
</ul> | ||
<ul class="f-li"> | ||
<li>Explore</li> | ||
<li>Blog</li> | ||
<li>FAQ</li> | ||
</ul> | ||
<ul class="f-li"> | ||
<li>Address</li> | ||
<li>Email</li> | ||
<li>Phone</li> | ||
</ul> | ||
</div> | ||
<p>Copyright © 2023 Cosmezis. All Rights Reserved. | ||
<br>Explore, Discover, and Cosmize. | ||
</p> | ||
</footer> | ||
</body> | ||
|
||
</html> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.