Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
MandarSankhe authored Apr 5, 2024
0 parents commit 0ef3f27
Show file tree
Hide file tree
Showing 4 changed files with 271 additions and 0 deletions.
Binary file added images/Starbucks-Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
105 changes: 105 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Home</title>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="https://getbootstrap.com/docs/5.3/assets/css/docs.css" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Bootstrap Example</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="main.js"></script>
</head>
<body>
<header>
<nav class="navbar">
<div class="container">
<img class="logo" src="images/Starbucks-Logo.png" alt="starbucksLogo" height="80">


<ul class="nav-menu">
<li>
<a href="#" class="active">
<i class="fas fa-home fa-lg" aria-hidden="true"></i>
<span>Home</span>
</a>
</li>
<li>
<a href="#">
<i class="fa-solid fa-tag fa-lg" aria-hidden="true"></i>
<span>Products</span>
</a>
</li>
<li>
<a href="#">
<i class="fa-solid fa-circle-info fa-lg" aria-hidden="true"></i>
<span>About</span>
</a>
</li>
<li>
<a href="#">
<i class="fa-solid fa-phone fa-lg" aria-hidden="true"></i>
<span>Contact Us</span>
</a>
</li>
</ul>
</div>
</nav>
<!-- header container ends here -->
</header>

<main>




<div id="carouselExampleDark" class="carousel carousel-fade slide" data-bs-ride="carousel">
<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="0" class="active" aria-label="Slide 1" aria-current="true"></button>
<button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="1" aria-label="Slide 2" class=""></button>
<button type="button" data-bs-target="#carouselExampleDark" data-bs-slide-to="2" aria-label="Slide 3" class=""></button>
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="https://images6.alphacoders.com/592/592471.jpg" />
<div class="carousel-caption d-none d-md-block">
<h1>First slide label</h1>
<p>Some representative placeholder content for the first slide.</p>
</div>
</div>
<div class="carousel-item">
<img src="https://wallpapers.com/images/featured/4k-painting-ze08s2umco2ikud6.jpg" />
<div class="carousel-caption d-none d-md-block">
<h1>Second slide label</h1>
<p>Some representative placeholder content for the second slide.</p>
</div>
</div>
<div class="carousel-item">
<img src="https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/c424bbb0-a0e6-4a95-b422-56f707c6e172/dgxjjgo-a25edd46-cb6d-4c0a-a25a-6ce211ced737.jpg/v1/fill/w_1280,h_431,q_75,strp/painting_landscape__concept_art__hd_wallpaper__by_gabimedia_dgxjjgo-fullview.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiJcL2ZcL2M0MjRiYmIwLWEwZTYtNGE5NS1iNDIyLTU2ZjcwN2M2ZTE3MlwvZGd4ampnby1hMjVlZGQ0Ni1jYjZkLTRjMGEtYTI1YS02Y2UyMTFjZWQ3MzcuanBnIiwiaGVpZ2h0IjoiPD00MzEiLCJ3aWR0aCI6Ijw9MTI4MCJ9XV0sImF1ZCI6WyJ1cm46c2VydmljZTppbWFnZS53YXRlcm1hcmsiXSwid21rIjp7InBhdGgiOiJcL3dtXC9jNDI0YmJiMC1hMGU2LTRhOTUtYjQyMi01NmY3MDdjNmUxNzJcL2dhYmltZWRpYS00LnBuZyIsIm9wYWNpdHkiOjk1LCJwcm9wb3J0aW9ucyI6MC40NSwiZ3Jhdml0eSI6ImNlbnRlciJ9fQ.thqAJSknsTSn21CTxeoC_qMxQ7lSZB5N1ct4QhE7iOw" />
<div class="carousel-caption d-none d-md-block">
<h1>Third slide label</h1>
<p>Some representative placeholder content for the third slide.</p>
</div>
</div>
</div>
<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleDark" data-bs-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleDark" data-bs-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span>
</button>
</div>





</main>
</body>
</html>
9 changes: 9 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

$(document).ready(() => {
const myCarouselElement = document.querySelector('#carouselExampleDark')

const carousel1 = new bootstrap.Carousel(myCarouselElement, {
interval: 2200
})

});
157 changes: 157 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,157 @@
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css");


html {
font-family: "EB Garamond";
}

body {
margin: 0;
background-color: white;
}

header {
position: sticky;
top: 0px;
z-index: 10;
}

.navbar {
background-color: #071804;
color: wheat;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
}

.container {
display: flex;
align-items: center;
width: 100%;
max-width: 1140px;
margin: 0 auto;
}

.logo {
font-size: 1.5rem;
text-decoration: none;
color: inherit;
}

.nav-menu {
list-style: none;
display: flex;
transition: transform 0.3s ease;
transform: translateY(-100%);
margin-top: 4rem;
}

.nav-menu li {
margin: 0 1rem;
}

.nav-menu a {
text-decoration: none;
color: inherit;
font-size: 1rem;
padding: 0.5rem 1rem;
transition: background-color 0.3s ease;
border-radius: 25px
}

.nav-menu a:hover {
background-color: #222;
}

.active i, .active span {
color: #071804;
background-color: wheat;
}

.active {
background-color: wheat;
}

.carousel-fade .carousel-inner .item {
opacity: 0;
-webkit-transition-property: opacity;
-moz-transition-property: opacity;
-o-transition-property: opacity;
transition-property: opacity;
}

.carousel-fade .carousel-inner .active {
opacity: 1;
}

.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
left: 0;
opacity: 0;
z-index: 1;
}

.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
opacity: 1;
}

.carousel-fade .carousel-control {
z-index: 2;
}

.carousel-item > img {
float: left;
width: 100%;
height: 70vh;
object-fit: cover;
filter:brightness(50%);
}

.carousel-caption {
bottom: 40%;
}

.carousel-caption > h1 {
font-family: "EB Garamond";
text-transform: uppercase;
height: auto;
color: rgb(255, 255, 255);
text-decoration: none;
white-space: normal;
min-height: 0px;
min-width: 0px;
max-height: none;
max-width: none;
text-align: center;
line-height: 75px;
letter-spacing: 11px;
font-weight: 400;
font-size: 55px;
transform-origin: 50% 50% 0px;
opacity: 1;
transform: translate(0px);
visibility: visible;
}

.carousel-caption > p {
font-family: "EB Garamond";
font-style: italic;
height: auto;
width: auto;
color: rgb(201, 171, 129);
text-decoration: none;
white-space: nowrap;
min-height: 0px;
min-width: 0px;
max-height: none;
max-width: none;
line-height: 35px;
letter-spacing: 0px;
font-weight: 400;
font-size: 21px;
transform-origin: 50% 50% 0px;
opacity: 1;
transform: translate(0px);
}

0 comments on commit 0ef3f27

Please sign in to comment.