website template

This commit is contained in:
soyed 2021-02-27 14:02:41 -05:00
parent 054d8c9041
commit fc3f529527
5 changed files with 368 additions and 234 deletions

173
css/styles.css Normal file
View file

@ -0,0 +1,173 @@
body {
font-family: 'Montserrat', sans-serif;
text-align: center;
}
/* Headings */
.big-heading {
font-family: 'Montserrat-Black';
font-size: 3.5rem;
line-height: 1.5;
}
.container-fluid {
padding: 7% 15%;
}
/* Sections */
.colored-section {
background-color: #ff4c68;
color: #ffffff;
}
.white-section {
background-color: #ffffff;
}
h1,
h2,
h3,
h4,
h5,
h6 {
font-family: 'Montserrat-Bold';
}
h3 {
font-size: 1.5rem;
}
p {
color: #8f8f8f;
}
/* navigation bar */
.navbar {
padding: 0 0 4.5rem;
}
.section-heading {
font-size: 3rem;
line-height: 1.5;
}
.navbar-brand {
font-family: 'Ubuntu', sans-serif;
font-size: 2.5rem;
font-weight: bold;
}
.navbar-item {
padding: 0px 18px;
}
.navbar-link {
font-size: 1.2rem;
font-family: 'Montserrat-light', sans-serif;
}
/* Download Buttons */
.download-btn {
margin: 5% 3% 5% 0;
}
/* Title Section */
#title .container-fluid {
padding: 3% 15% 7%;
text-align: left;
}
/* Title Image */
.title-image {
width: 60%;
transform: rotate(25deg);
position: absolute;
right: 30%;
}
/* Features section */
#features {
position: relative;
z-index: 1;
}
.feature-title {
font-size: 1.5rem;
}
.feature-box {
padding: 4%;
}
.feature-icon {
color: #ef8172;
margin-bottom: 1rem;
}
.feature-icon:hover {
color: #ff4c68;
}
/* testimonial section */
#testimonials {
background-color: #ef8172;
}
.testimonial-text {
font-size: 3rem;
line-height: 1.5;
}
.testimonial-img {
width: 10%;
border-radius: 100%;
margin: 20px;
}
.carousel-item {
}
/* Press section */
#press {
background-color: #ef8172;
padding-bottom: 3%;
}
.press-img {
width: 15%;
margin: 20px 20px 50px;
}
/* Pricing Section */
#pricing {
padding: 100px;
}
.price-text {
font-size: 3rem;
line-height: 1.5;
}
.pricing-col {
padding: 3% 2%;
}
/* CTA Section */
/* Footer section */
#footer {
}
.social-icon {
margin: 20px 10px;
}
@media (max-width: 1028px) {
#title {
text-align: center;
}
.title-image {
position: static;
transform: rotate(0);
}
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.4 KiB

View file

@ -1,250 +1,223 @@
<!-- This file contains many elements adapted from the online tutoral -->
<!-- on Bootstrap 4 as found here: https://www.w3schools.com/bootstrap4/default.asp -->
<!-- Images source: -->
<!-- jule.jpg taken from https://www.freepik.com/premium-vector/cartoon-successful-hairdresser_3951066.htm -->
<!-- Erwind.jpb https://www.kijiji.ca/v-construction-trades-jobs/winnipeg/bicycle-mechanic/1499188319 -->
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html>
<!-- The head should contain an appropriate title for your site -->
<head> <head>
<title>Module 4 - Labo</title> <meta charset="utf-8">
<meta charset="UTF-8"> <title>TinDog</title>
<meta name="viewport" content="width=device-width, initial-scale=1"> <!-- 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">
<!-- 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="css/styles.css">
<!-- fontawesome -->
<link rel="stylesheet" href="https://pro.fontawesome.com/releases/v5.10.0/css/all.css" integrity="sha384-AYmEC3Yw5cVb3ZcuHtOA93w35dYTsvhLPVnYs9eStHfGJvOvKxVfELGroGkvsg+p" crossorigin="anonymous" />
<!-- Style sheet (CSS) and JavaScript scripts necessary to use Bootstrap --> <!-- Bootstrap Scripts -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"> <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://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></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://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js"></script>
<!-- Your own additional style sheet -->
<link href="styles/style.css" rel="stylesheet" type="text/css">
</head> </head>
<body> <body>
<!-- Medium size container, padding 3, margins 3, background dark, text is white --> <section class="colored-section" id="title">
<!-- Should show the name of your company with an image or logo --> <div class="container-fluid">
<!-- Bootstrap has its own font for H1, H2, p, etc. -->
<!-- Look in BS4 Typography https://www.w3schools.com/bootstrap4/bootstrap_typography.asp -->
<!-- Use your own CSS file to change those fonts if they do not correspond to your company's look -->
<div class="container-md p-3 my-3 border bg-dark text-white">
<h1>Welcome to Nice Scissors</h1>
<p>We'll take care of your hair!</p>
</div>
<!-- Bootstrap contains a grid system you can explore https://www.w3schools.com/bootstrap4/bootstrap_grid_system.asp --> <!-- Nav Bar -->
<!-- It can be useful for placement of information --> <nav class="navbar navbar-expand-lg navbar-dark">
<div class="row p-3"> <a class="navbar-brand" href="#">tindog</a>
<div class="col-sm-3 pl-5">Service</div> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarTogglerDemo02" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
<div class="col-sm-3">Calendar</div> <span class="navbar-toggler-icon"></span>
<div class="col-sm-3">Payment</div> </button>
<div class="col-sm-3">Where to find us</div> <div class="collapse navbar-collapse" id="navbarTogglerDemo02">
</div> <ul class="navbar-nav ml-auto">
<li class="nav-item">
<!-- When you have messages to tell, remember that center align is not always the best choice --> <a class="nav-link" href="#footer">Contact</a>
<div class="container-md p-3 my-3 border bg-light text-success"> </li>
<h3>Let us tell you about our expertise</h3> <li class="nav-item">
<p>We can <mark>cut hair</mark></p> <a class="nav-link" href="#pricing">Pricing</a>
<p class="text-center" >Align wheels</p> </li>
<p class="text-uppercase">Write in uppercase</p> <li class="nav-item">
<p class="text-center text-uppercase" >centered and uppercase</p> <a class="nav-link" href="#cta">Download</a>
</div> </li>
</ul>
<!-- Bootstrap has different types of tables https://www.w3schools.com/bootstrap4/bootstrap_tables.asp -->
<!-- Might be (or not) useful to show some information to the user -->
<div class="container">
<h2>Service description</h2>
<p>Here is a list of services offered</p>
<table class="table table-primary table-hover">
<thead>
<tr>
<th>Service</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>Haircut</td>
<td>Bla bla</td>
</tr>
<tr>
<td>Drying</td>
<td>Bla bla</td>
</tr>
<tr>
<td>Coloring</td>
<td>Bla bla</td>
</tr>
</tbody>
</table>
</div>
<!-- Bootstrap has components for alerts: https://www.w3schools.com/bootstrap4/bootstrap_alerts.asp -->
<!-- These can be useful for making sure someone reads something before continuing -->
<div class="container">
<h2>Alert</h2>
<p>We have something important to say</p>
<div class="alert alert-danger alert-dismissible">
<button type="button" class="close" data-dismiss="alert">&times;</button>
<strong>Please read! </strong>You must read.
</div> </div>
</nav>
<!-- Title -->
<div class="row">
<div class="col-lg-6">
<h1 class="big-heading">Meet new and interesting dogs nearby.</h1>
<button type="button" class="btn btn-lg btn-dark download-btn"><i class="fab fa-apple"></i> Download</button>
<button type="button" class="btn btn-lg btn-outline-light download-btn"><i class="fab fa-google-play"></i> Download</button>
</div>
<div class="col-lg-6">
<img class="title-image" src="images/iphone6.png" alt="iphone-mockup">
</div>
</div>
</div> </div>
<!-- You'll certainly need buttons at some point in your site --> </section>
<!-- https://www.w3schools.com/bootstrap4/bootstrap_buttons.asp -->
<!-- Remember how we talked about choosing a hue and changing the saturation for active/inactive -->
<!-- This idea is already part of the components in Bootstrap --> <!-- Features -->
<div class="container">
<h2>Button States</h2> <section class="white-section" id="features">
<button type="button" class="btn btn-warning">Primary Button</button>
<button type="button" class="btn btn-warning active">Active Primary</button> <div class="container-fluid">
<button type="button" class="btn btn-warning" disabled>Disabled Primary</button>
<div class="row">
<div class="feature-box col-lg-4">
<i class="feature-icon fas fa-check-circle fa-4x"></i>
<h3 class="feature-title">Easy to use.</h3>
<p>So easy to use, even your dog could do it.</p>
</div>
<div class="feature-box col-lg-4">
<i class="feature-icon fas fa-bullseye fa-4x"></i>
<h3 class="feature-title">Elite Clientele</h3>
<p>We have all the dogs, the greatest dogs.</p>
</div>
<div class="feature-box col-lg-4">
<i class="feature-icon fas fa-heart fa-4x"></i>
<h3 class="feature-title">Guaranteed to work.</h3>
<p>Find the love of your dog's life or your money back.</p>
</div>
</div>
</div> </div>
<!-- Including a modal https://www.w3schools.com/bootstrap4/bootstrap_modal.asp --> </section>
<!-- Modals are useful for additional information or questions -->
<!-- Here the modal is used for a little survey -->
<div class="container">
<h2>Modal Example</h2>
<!-- Trigger the modal with a button -->
<button type="button" class="btn btn-info btn-lg" data-toggle="modal" data-target="#mySurvey">Open Survey</button>
<!-- Modal -->
<div class="modal fade" id="mySurvey" role="dialog">
<div class="modal-dialog">
<!-- Modal content-->
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">&times;</button>
</div>
<div class="modal-body">
<div class="container">
<h2>How did you hear about us?</h2>
<p>Tell us:</p>
<form>
<div class="checkbox">
<label><input type="checkbox" value="">Option 1</label>
</div>
<div class="checkbox">
<label><input type="checkbox" value="">Option 2</label>
</div>
</form>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- Presenting the staff with cards: https://www.w3schools.com/bootstrap4/bootstrap_cards.asp --> <!-- Testimonials -->
<!-- Card columns allows multiple cards next to each other -->
<!-- The first card's button doesn't go anywhere, it could be a modal --> <section class="colored-section" id="testimonials">
<!-- My second card limits the information seen and uses collapsible to show more --> <div id="testimonial-carousel" class="carousel slide" data-ride="carousel">
<div class="container p-3"> <div class="carousel-inner">
<h2>Meet our hairdressers</h2> <div class="carousel-item active container-fluid">
<div class="card-columns"> <h2 class="testimonial-text">I no longer have to sniff other dogs for love. I've found the hottest Corgi on TinDog. Woof.</h2>
<div class="card bg-warning" style="width:200px"> <img class="testimonial-img" src="images/dog-img.jpg" alt="dog-profile">
<img class="card-img-top" src="images/Jule.jpg" alt="Card image" style="width:100%"> <em>Pebbles, New York</em>
<div class="card-body">
<h4 class="card-title">Jules</h4>
<p class="card-text">Jules has been cutting hair for 10 years.</p>
<a href="#" class="btn btn-primary">See Profile</a>
</div>
</div>
<div class="card bg-danger" style="width:200px">
<img class="card-img-top" src="images/Jule.jpg" alt="Card image" style="width:100%">
<div class="card-body">
<h4 class="card-title">Jules</h4>
<p class="card-text">The curly hair specialist</p>
<!-- collapsible part -->
<a href="#profile" class="btn btn-primary" data-toggle="collapse">See Profile</a>
<div id="profile" class="collapse p-3">
<p>Jules has been cutting hair for 10 years ... </p>
</div>
</div>
</div>
</div> </div>
<div class="carousel-item container-fluid">
<h2 class="testimonial-text">My dog used to be so lonely, but with TinDog's help, they've found the love of their life. I think.</h2>
<img class="testimonial-img" src="images/lady-img.jpg" alt="lady-profile">
<em>Beverly, Illinois</em>
</div>
</div>
<a class="carousel-control-prev" href="#testimonial-carousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#testimonial-carousel" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div> </div>
<!-- A different approach would be to make the whole staff information collapsible --> </section>
<!-- Here a block button (taking the full width) opens/closes the collapsible -->
<!-- Here a single card is used, but card columns could be used -->
<div class="container">
<h2>More information</h2>
<a href="#mechanics" class="btn btn-primary btn-block" data-toggle="collapse">Meet our mechanics</a>
<div id="mechanics" class="collapse">
<div class="card bg-warning" style="width:200px">
<img class="card-img-top" src="images/Erwind.jpg" alt="Card image" style="width:100%">
<div class="card-body">
<h4 class="card-title">Erwind</h4>
<p class="card-text">Erwind knows all about bikes.</p>
</div>
</div>
</div>
</div>
<!-- Collapsible with multiple items - accordion -->
<!-- https://www.w3schools.com/bootstrap4/bootstrap_collapse.asp --> <!-- Press -->
<!-- As we want to do a vertical navigation better suited for mobile design, an accordion pattern -->
<!-- could work well. You can use other patterns too. This is just an example. --> <section class="colored-section" id="press">
<div class="container"> <img class="press-img" src="images/techcrunch.png" alt="tc-logo">
<div class="container-md p-3 my-3 border bg-warning text-white"> <img class="press-img" src="images/tnw.png" alt="tnw-logo">
<h1>Erwind's and friends bike shop</h1> <img class="press-img" src="images/bizinsider.png" alt="biz-insider-logo">
<p>Bike fixing is our business</p> <img class="press-img" src="images/mashable.png" alt="mashable-logo">
</section>
<!-- Pricing -->
<section class="white-section" id="pricing">
<h2 class="section-heading">A Plan for Every Dog's Needs</h2>
<p>Simple and affordable price plans for your and your dog.</p>
<div class="row">
<div class="pricing-col col-lg-4 col-md-6">
<div class="card">
<div class="card-header">
<h3>Chihuahua</h3>
</div>
<div class="card-body">
<h3>Chihuahua</h3>
<h2 class="price-text">Free</h2>
<p>5 Matches Per Day</p>
<p>10 Messages Per Day</p>
<p>Unlimited App Usage</p>
<button type="button" class="btn btn-block btn-outline-dark btn-lg">Sign Up</button>
</div>
</div> </div>
<div id="accordion"> </div>
<div class="card">
<div class="card-header"> <div class="pricing-col col-lg-4 col-md-6">
<a class="card-link" data-toggle="collapse" href="#collapseService">Choose a service</a> <div class="card">
</div> <div class="card-header">
<div id="collapseService" class="collapse show" data-parent="#accordion"> <h3>Labrador</h3>
<div class="card-body"> </div>
<p>Here is our list of services</p> <div class="card-body">
</div> <h2 class="price-text">$49 / mo</h2>
</div> <p>Unlimited Matches</p>
<div class="card"> <p>Unlimited Messages</p>
<div class="card-header"> <p>Unlimited App Usage</p>
<a class="collapsed card-link" data-toggle="collapse" href="#collapseDate">Choose a date</a> <button type="button" class="btn btn-block btn-dark btn-lg">Sign Up</button>
</div> </div>
<div id="collapseDate" class="collapse" data-parent="#accordion">
<div class="card-body">
<p>What date?</p>
<!-- Bootstrap has various input components. Some examples are given here: -->
<!-- Component shown here: https://v4-alpha.getbootstrap.com/components/forms/#textual-inputs -->
<div class="form-group row">
<label for="dateTimeInput" class="col-2 col-form-label">Date and time</label>
<div class="col-10">
<input class="form-control" type="datetime-local" value="2011-08-19T13:45:00" id="dateTimeInput">
</div>
</div>
</div>
</div>
</div>
<div class="card">
<div class="card-header">
<a class="collapsed card-link" data-toggle="collapse" href="#collapseClientInfo">Your info</a>
</div>
<div id="collapseClientInfo" class="collapse" data-parent="#accordion">
<div class="card-body">
<p>Your information so we can contact you</p>
<p>Form to enter name, email, phone</p>
</div>
</div>
</div>
</div> </div>
</div>
<div class="pricing-col col-lg-4 ">
<div class="card">
<div class="card-header">
<h3>Mastiff</h3>
</div>
<div class="card-body">
<h2 class="price-text">$99 / mo</h2>
<p>Pirority Listing</p>
<p>Unlimited Matches</p>
<p>Unlimited Messages</p>
<p>Unlimited App Usage</p>
<button type="button" class="btn btn-block btn-dark btn-lg">Sign Up</button>
</div>
</div>
</div>
</div> </div>
</section>
<!-- Call to Action -->
<section class="colored-section" id="cta">
<div class="container-fluid">
<h3 class="big-heading">Find the True Love of Your Dog's Life Today.</h3>
<button type="button" class="btn btn-lg btn-dark download-btn"><i class="fab fa-apple"></i> Download</button>
<button type="button" class="btn btn-lg btn-outline-light download-btn"><i class="fab fa-google-play"></i> Download</button>
</div>
</section>
<!-- Footer -->
<footer class="white-section" id="footer">
<div class="container-fluid">
<i class="social-icon fab fa-twitter"></i>
<i class="social-icon fab fa-facebook"></i>
<i class="social-icon fab fa-instagram"></i>
<i class="social-icon fas fa-envelope"></i>
<p>© Copyright 2020 TinDog</p>
</div>
</footer>
</body> </body>
</html> </html>

View file

@ -1,12 +0,0 @@
/* Style sheet
color picker www.w3schools.com/colors/colors_picker.asp
*/
/* Bootstrap default font-family is Helvetica Neue */
h1 {
font-family: "Times New Roman", Times, serif;
text-shadow: 3px 3px 1px black;
}