Skip to content

Commit

Permalink
Add initial HTML structure for Tailwind CSS project with navigation a…
Browse files Browse the repository at this point in the history
…nd sections
  • Loading branch information
SJ22032003 committed Sep 17, 2024
1 parent 2b444a4 commit f374fb5
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
Binary file added tailwind-project/images/hero-img.avif
Binary file not shown.
59 changes: 59 additions & 0 deletions tailwind-project/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<script src="https://cdn.tailwindcss.com"></script>
<script
src="https://kit.fontawesome.com/faad120103.js"
crossorigin="anonymous"
></script>
</head>
<body class="min-h-screen">
<div>
<nav class="flex justify-center w-full mx-auto p-4 absolute z-10">
<div class="flex justify-between w-full max-w-7xl">
<div>
<h1 class="text-xl text-white font-semibold">THE NOVEMBER ROOM</h1>
</div>

<div class="text-2xl text-orange-500 flex gap-8">
<i class="fa-brands fa-facebook"></i>
<i class="fa-brands fa-twitter"></i>
<i class="fa-brands fa-linkedin"></i>
</div>
</div>
</nav>

<section>
<div
class="bg-[url('./images/hero-img.avif')] h-screen flex justify-center items-center"
>
<span class="w-full h-full absolute opacity-75 bg-black"></span>
<div class="text-white z-10 w-1/2 flex flex-col items-center gap-4">
<h1 class="text-center text-5xl font-semibold">
Feel the <span class="text-orange-500">Power</span>
</h1>
<p class="text-center text-xl text-gray-300 leading-9">
Welcome to The November Room. We are a fitness and training center
that focuses on pushing you to your absolute limit. Download our
complete brochure to get started today!
</p>
<button
class="border border-orange-500 w-fit py-4 px-5 rounded text-blue-500 hover:bg-orange-500 hover:text-white"
>
Download Brochure
</button>
</div>
</div>
</section>

<section>about</section>
<section>meet the trainers</section>
<section>contact us</section>

<footer>footer</footer>
</div>
</body>
</html>

0 comments on commit f374fb5

Please sign in to comment.