Updated the website a bit.

This commit is contained in:
Batuhan Berk Başoğlu 2021-02-27 18:23:42 -05:00
parent 2b0ea0a375
commit db1844acaf
2 changed files with 126 additions and 64 deletions

View file

@ -102,9 +102,8 @@ p {
/* Title Image */ /* Title Image */
.title-image { .title-image {
width: 60%; width: 100%;
transform: rotate(25deg); position: right;
position: absolute;
right: 30%; right: 30%;
} }
@ -207,3 +206,31 @@ p {
.colored-section#title { .colored-section#title {
background-image: url("images/biking.jpg"); background-image: url("images/biking.jpg");
} }
/* Style inputs with type="text", select elements and textareas */
input[type=text], select, textarea {
width: 100%; /* Full width */
padding: 12px; /* Some padding */
border: 1px solid #ccc; /* Gray border */
border-radius: 4px; /* Rounded borders */
box-sizing: border-box; /* Make sure that padding and width stays in place */
margin-top: 6px; /* Add a top margin */
margin-bottom: 16px; /* Bottom margin */
resize: vertical /* Allow the user to vertically resize the textarea (not horizontally) */
}
/* Style the submit button with a specific background color etc */
input[type=submit] {
background-color: #d60024;
color: white;
padding: 12px 20px;
border: none;
border-radius: 4px;
cursor: pointer;
}
/* When moving the mouse over the submit button, add a darker green color */
input[type=submit]:hover {
background-color: #fa4664;
}

View file

@ -3,19 +3,29 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>TinDog</title> <title>Batuhan's Bikes</title>
<!-- Google fonts --> <!-- Google fonts -->
<link href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;900&family=Ubuntu:wght@300;400;700&display=swap" rel="stylesheet"> <link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@100;400;900&family=Ubuntu:wght@300;400;700&display=swap"
rel="stylesheet">
<!-- CSS stylesheet --> <!-- CSS stylesheet -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="css/styles.css"> <link rel="stylesheet" href="css/styles.css">
<!-- fontawesome --> <!-- fontawesome -->
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" /> <link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css"
integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
<!-- Bootstrap Scripts --> <!-- Bootstrap Scripts -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"></script>
</head> </head>
<body> <body>
@ -27,19 +37,20 @@
<!-- Nav Bar --> <!-- Nav Bar -->
<nav class="navbar navbar-expand-lg navbar-dark"> <nav class="navbar navbar-expand-lg navbar-dark">
<a class="navbar-brand" href="#">Batuhan's Bikes</a> <a class="navbar-brand" href="#">Batuhan's Bikes</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02"
aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>
<div class="collapse navbar-collapse" id="navbarTogglerDemo02"> <div class="collapse navbar-collapse" id="navbarTogglerDemo02">
<ul class="navbar-nav ml-auto"> <ul class="navbar-nav ml-auto">
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="#footer">Contact</a> <a class="nav-link" href="#pricing">Repair Plans</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="#pricing">Pricing</a> <a class="nav-link" href="#cta">Contact Us</a>
</li> </li>
<li class="nav-item"> <li class="nav-item">
<a class="nav-link" href="#cta">Book an Appointment</a> <a class="nav-link" href="#appointment">Appointment</a>
</li> </li>
</ul> </ul>
</div> </div>
@ -50,11 +61,12 @@
<div class="row"> <div class="row">
<div class="col-lg-6"> <div class="col-lg-6">
<h1 class="big-heading">Nothing beats the high of a good bike ride. </h1> <h1 class="big-heading">Nothing beats the high of a good bike ride. </h1>
<button type="button" class="btn btn-lg btn-dark download-btn"><i class="fab fa-apple"></i> Book an Appointment</button> <button type="button" class="btn btn-lg btn-dark download-btn"><i class="fas fa-bicycle"></i> Book an
Appointment</button>
</div> </div>
<div class="col-lg-6"> <div class="col-lg-6">
<img class="title-image" src="images/iphone6.png" alt="iphone-mockup"> <img class="title-image" src="images/bike_repair1.jpg" alt="iphone-mockup">
</div> </div>
</div> </div>
</div> </div>
@ -106,13 +118,15 @@
</div> </div>
<div class="carousel-item container-fluid"> <div class="carousel-item container-fluid">
<h2 class="testimonial-text">"Thanks to the folks over at Batuhan's Bikes, I just upgraded my old bike to a new mountain bike. Love it!" </h2> <h2 class="testimonial-text">"Thanks to the folks over at Batuhan's Bikes, I just upgraded my old bike to a
new mountain bike. Love it!" </h2>
<img class="testimonial-img" src="images\customers\elizabeth.jpg" alt="lady-profile"> <img class="testimonial-img" src="images\customers\elizabeth.jpg" alt="lady-profile">
<em>Ellie Bean</em> <em>Ellie Bean</em>
</div> </div>
<div class="carousel-item container-fluid"> <div class="carousel-item container-fluid">
<h2 class="testimonial-text">"Most people don't know me. If you ask any of my friends they will say I bike. And the only place I trust to get my bikes are Batuhan's Bikes"</h2> <h2 class="testimonial-text">"Most people don't know me. If you ask any of my friends they will say I bike.
And the only place I trust to get my bikes are Batuhan's Bikes"</h2>
<img class="testimonial-img" src="images\customers\bobby.jpg" alt="lady-profile"> <img class="testimonial-img" src="images\customers\bobby.jpg" alt="lady-profile">
<em>Bob </em> <em>Bob </em>
</div> </div>
@ -166,9 +180,9 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<h2 class="price-text">$47.95</h2> <h2 class="price-text">$47.95</h2>
<p>5 Matches Per Day</p> <p>Repair Using Standard kit</p>
<p>10 Messages Per Day</p> <p>Part Replacement</p>
<p>Unlimited App Usage</p> <p>Cleaning</p>
<button type="button" class="btn btn-block btn-outline-dark btn-lg">Buy</button> <button type="button" class="btn btn-block btn-outline-dark btn-lg">Buy</button>
</div> </div>
</div> </div>
@ -181,9 +195,9 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<h2 class="price-text">$59.95</h2> <h2 class="price-text">$59.95</h2>
<p>Unlimited Matches</p> <p>More Repair Using Advanced Kit</p>
<p>Unlimited Messages</p> <p>More Part Replacement</p>
<p>Unlimited App Usage</p> <p>More Cleaning</p>
<button type="button" class="btn btn-block btn-outline-dark btn-lg">Buy</button> <button type="button" class="btn btn-block btn-outline-dark btn-lg">Buy</button>
</div> </div>
</div> </div>
@ -197,10 +211,9 @@
</div> </div>
<div class="card-body"> <div class="card-body">
<h2 class="price-text">$79.95</h2> <h2 class="price-text">$79.95</h2>
<p>Pirority Listing</p> <p>Full Repair Using Ultimate Kit</p>
<p>Unlimited Matches</p> <p>Full Part Replacement</p>
<p>Unlimited Messages</p> <p>Full Cleaning</p>
<p>Unlimited App Usage</p>
<button type="button" class="btn btn-block btn-outline-dark btn-lg">Buy</button> <button type="button" class="btn btn-block btn-outline-dark btn-lg">Buy</button>
</div> </div>
</div> </div>
@ -237,21 +250,43 @@
</div> </div>
<script> <script>
function myMap() { function myMap() {
var mapProp= { var mapProp = {
center:new google.maps.LatLng(45.412085720162494, -75.68236814266143), center: new google.maps.LatLng(45.412085720162494, -75.68236814266143),
zoom:18, zoom: 18,
}; };
var map = new google.maps.Map(document.getElementById("googleMap"),mapProp); var map = new google.maps.Map(document.getElementById("googleMap"), mapProp);
} }
</script> </script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC5TiZoTEwEcB_HUZRhe_rXrcSWW1Z5x8I&callback=myMap"></script> <script
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyC5TiZoTEwEcB_HUZRhe_rXrcSWW1Z5x8I&callback=myMap"></script>
</section> </section>
<!--- Book an Appointment --> <!--- Book an Appointment -->
<section class="colored-section" id="cta"> <section class="white-section" id="appointment">
<div class="container-fluid">
<form action="action_page.php">
<h2 class="big-heading">Book an Appointment</h2>
<div class="row">
<div class="col-6" style="float: right;">
<input type="text" id="fname" name="firstname" placeholder="First Name">
</div>
<div class="col-6">
<input type="text" id="lname" name="lastname" placeholder="Last Name">
</div>
</div>
<input type="text" id="subject" name="subject" placeholder="Subject">
<textarea id="message" name="message" placeholder="Your Message" style="height:200px"></textarea>
<input type="submit" value="Submit">
</form>
</div>
</section> </section>