Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilritgithub authored Jul 23, 2024
1 parent e720a07 commit f2646b1
Show file tree
Hide file tree
Showing 9 changed files with 993 additions and 0 deletions.
Binary file added black.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added download.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
262 changes: 262 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,262 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="shortcut icon" type="x-icon" href="">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<title>AutoGo</title>
</head>
<body>
<header>
<nav>
<div class="nav__header">
<div class="nav__logo">
<a href="#">AutoGo</a>
</div>
<div class="nav__menu__btn" id="menu-btn">
<i class="ri-menu-line"></i>
</div>
</div>
<ul class="nav__links" id="nav-links">
<li><a href="#home">Home</a></li>
<li><a href="#rent">Rent</a></li>
<li><a href="#service">Services</a></li>
<li><a href="#ride">Ride</a></li>
<li><a href="#contact">Contact Us</a></li>
<li class="nav__links__btn">
<button class="btn">Sign Up</button>
</li>
<li class="nav__links__btn">
<button class="btn">Sign In</button>
</li>
</ul>
<div class="nav__btns">
<button class="btn btn__primary">Sign Up</button>
<button class="btn btn__secondary">Sign In</button>
</div>
</nav>
<div class="section__container header__container" id="home">
<div class="header__image">
<img src="pure.png" alt="header" />
</div>
<div class="header__content">
<h1>Looking to save more on your rental car?</h1>
<p>
Discover AutoGo bike & car rental in your city with Rent a Car Select
from a range of car options and local specials.
</p>
<div class="header__links">
<a href="#">
<img src="store.jpg" alt="app store" />
</a>
<a href="#">
<img src="play.png" alt="play" />
</a>
</div>
</div>
</div>
</header>

<section class="section__container steps__container" id="rent">
<p class="section__subheader">HOW IT WORKS</p>
<h2 class="section__header">AutoGo following 3 working steps</h2>
<div class="steps__grid">
<div class="steps__card">
<span><i class="ri-map-pin-fill"></i></span>
<h4>Choose a location</h4>
<p>
Select your desired rental location from our extensive network of
rental spots.
</p>
</div>
<div class="steps__card">
<span><i class="ri-calendar-check-fill"></i></span>
<h4>Pick-up date</h4>
<p>
Specify the date and time you wish to pick up your car with flexible
scheduling options.
</p>
</div>
<div class="steps__card">
<span><i class="ri-bookmark-3-fill"></i></span>
<h4>Book your vehicle/h4>
<p>
Browse through our wide range of vehicles and choose the one that
best suits your needs.
</p>
</div>
</div>
</section>

<section class="section__container service__container" id="service">
<div class="service__image">
<img src="black.png" alt="service" />
</div>
<div class="service__content">
<p class="section__subheader">BEST SERVICES</p>
<h2 class="section__header">
Feel the best experience with our rental deals
</h2>
<ul class="service__list">
<li>
<span><i class="ri-price-tag-3-fill"></i></span>
<div>
<h4>Deals for every budget</h4>
<p>
From economy cars to luxury vehicles, we have something for
everyone, ensuring you get the best value for your money.
</p>
</div>
</li>
<li>
<span><i class="ri-wallet-fill"></i></span>
<div>
<h4>Best price guarantee</h4>
<p>
We ensure you get competitive rates in the market, so you can
book with confidence knowing you're getting the best deal.
</p>
</div>
</li>
<li>
<span><i class="ri-customer-service-fill"></i></span>
<div>
<h4>Support 24/7</h4>
<p>
Our dedicated team is available 24/7 to assist you with any
questions or concerns, ensuring a smooth rental experience.
</p>
</div>
</li>
</ul>
</div>
</section>

<section class="section__container experience__container" id="ride">
<p class="section__subheader">CUSTOMER EXPERIENCE</p>
<h2 class="section__header">
We are ensuring the best customer experience
</h2>
<div class="experience__content">
<div class="experience__card">
<span><i class="ri-price-tag-3-fill"></i></span>
<h4>Competitive pricing</h4>
</div>
<div class="experience__card">
<span><i class="ri-money-rupee-circle-fill"></i></span>
<h4>Easier Rent On Your Budget</h4>
</div>
<div class="experience__card">
<span><i class="ri-bank-card-fill"></i></span>
<h4>Most Felxible Payment Plans</h4>
</div>
<div class="experience__card">
<span><i class="ri-award-fill"></i></span>
<h4>The Best Extended Auto Warranties</h4>
</div>
<div class="experience__card">
<span><i class="ri-customer-service-2-fill"></i></span>
<h4>Roadside Assistance 24/7</h4>
</div>
<div class="experience__card">
<span><i class="ri-car-fill"></i></span>
<h4>Your Choice Of Mechanic</h4>
</div>
<img src="smt.png" alt="experience" />
</div>
</section>

<section class="section__container download__container" id="contact">
<div class="download__grid">
<div class="download__content">
<h2 class="section__header">Download the free AutoGo app</h2>
<p>
Download the AutoGo app to manage your bookings, find exclusive
deals, and access 24/7 support, all from your mobile device.
</p>
<div class="download__links">
<a href="#">
<img src="store.jpg" alt="app store" />
</a>
<a href="#">
<img src="play.png" alt="play" />
</a>
</div>
</div>
<div class="download__image">
<img src="download.png" alt="download" />
</div>
</div>
</section>

<footer>
<div class="section__container footer__container">
<div class="footer__col">
<h4>Our Products</h4>
<ul class="footer__links">
<li><a href="#">Career</a></li>
<li><a href="#">Hotels</a></li>
<li><a href="#">Cars</a></li>
<li><a href="#">Packages</a></li>
<li><a href="#">Features</a></li>
<li><a href="#">Priceline</a></li>
</ul>
</div>
<div class="footer__col">
<h4>About AutoGo</h4>
<ul class="footer__links">
<li><a href="#">Why AutoGo</a></li>
<li><a href="#">Our Story</a></li>
<li><a href="#">Investors</a></li>
<li><a href="#">Press Centers</a></li>
<li><a href="#">Advertise</a></li>
</ul>
</div>
<div class="footer__col">
<h4>Resources</h4>
<ul class="footer__links">
<li><a href="#">Download</a></li>
<li><a href="#">Help Centers</a></li>
<li><a href="#">Guides</a></li>
<li><a href="#">Partner Network</a></li>
<li><a href="#">Mechanics</a></li>
<li><a href="#">Developer</a></li>
</ul>
</div>
<div class="footer__col">
<h4>Extras</h4>
<ul class="footer__links">
<li><a href="#">Rental Deal</a></li>
<li><a href="#">Repair Shop</a></li>
<li><a href="#">View Booking</a></li>
<li><a href="#">Hire Companies</a></li>
<li><a href="#">New Offers</a></li>
</ul>
</div>
</div>
<div class="section__container footer__bar">
<h4>AutoGo</h4>
<p>Copyright © 2024 All rights reserved.</p>
<ul class="footer__socials">
<li>
<a href="#"><i class="ri-facebook-fill"></i></a>
</li>
<li>
<a href="#"><i class="ri-twitter-fill"></i></a>
</li>
<li>
<a href="#"><i class="ri-google-fill"></i></a>
</li>
</ul>
</div>
</footer>

<script src="https://unpkg.com/scrollreveal"></script>
<script src="main.js"></script>
</body>
</html>
83 changes: 83 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
const menuBtn = document.getElementById("menu-btn");
const navLinks = document.getElementById("nav-links");
const menuBtnIcon = menuBtn.querySelector("i");

menuBtn.addEventListener("click", (e) => {
navLinks.classList.toggle("open");

const isOpen = navLinks.classList.contains("open");
menuBtnIcon.setAttribute("class", isOpen ? "ri-close-line" : "ri-menu-line");
});

navLinks.addEventListener("click", (e) => {
navLinks.classList.remove("open");
menuBtnIcon.setAttribute("class", "ri-menu-line");
});

const scrollRevealOption = {
distance: "50px",
origin: "bottom",
duration: 1000,
};

ScrollReveal().reveal(".header__image img", {
...scrollRevealOption,
origin: "right",
});
ScrollReveal().reveal(".header__content h1", {
...scrollRevealOption,
delay: 500,
});
ScrollReveal().reveal(".header__content p", {
...scrollRevealOption,
delay: 1000,
});
ScrollReveal().reveal(".header__links", {
...scrollRevealOption,
delay: 1500,
});

ScrollReveal().reveal(".steps__card", {
...scrollRevealOption,
interval: 500,
});

ScrollReveal().reveal(".service__image img", {
...scrollRevealOption,
origin: "left",
});
ScrollReveal().reveal(".service__content .section__subheader", {
...scrollRevealOption,
delay: 500,
});
ScrollReveal().reveal(".service__content .section__header", {
...scrollRevealOption,
delay: 1000,
});
ScrollReveal().reveal(".service__list li", {
...scrollRevealOption,
delay: 1500,
interval: 500,
});

ScrollReveal().reveal(".experience__card", {
duration: 1000,
interval: 500,
});

ScrollReveal().reveal(".download__image img", {
...scrollRevealOption,
origin: "right",
});
ScrollReveal().reveal(".download__content .section__header", {
...scrollRevealOption,
delay: 500,
});
ScrollReveal().reveal(".download__content p", {
...scrollRevealOption,
delay: 1000,
});
ScrollReveal().reveal(".download__links", {
...scrollRevealOption,
delay: 1500,
});
Binary file added play.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added smt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added store.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f2646b1

Please sign in to comment.