Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

header-hero 10June24 v2 #49

Merged
merged 1 commit into from
Jun 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions src/css/mobile/header-hero-mobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,7 @@ body {
font-family: var(--font);
}
/* Mobile */
@media screen and (max-width: 480px) {
/* ======= */
/* Mobile 320px - 375px */

@media screen and (min-width: 375px) and (max-width: 768px) {
/* Header style */

.header__section {
Expand Down
2 changes: 1 addition & 1 deletion src/css/tablet/header-hero-tablet.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ body {
}

/* Tablet */
@media screen and (max-width: 768px) {
@media screen and (min-width: 768px) and (max-width: 1199px) {
/* Header style */

.header__section {
Expand Down
82 changes: 41 additions & 41 deletions src/partials/header-hero-desktop.html
Original file line number Diff line number Diff line change
@@ -1,51 +1,51 @@
<!-- Header section -->
<header class="header__section">
<!-- Header section
<header class="header__section">-->

<!-- Logo -->
<!-- Logo
<div class="header__logo">
<a href="index.html">Simply
<span> Chocolate</span>
<svg class="icon-logo">
<use href="../assets/hh-symbol-defs.svg#icon-chocolate-bar" />
</svg>
</a>
</div>

<!-- Navigation bar -->

<nav class="header__navigation">
<a href="#" class="home">Home</a>
<a href="#" class="how-made">How it's made?</a>
<a href="#" class="our-products">Our products</a>
<a href="#" class="top-sellers">Top sellers</a>
<a href="#" class="chocolate-love">Chocolate is loved</a>
</nav>


<!-- Socials -->

<ul class="header__socials">
<li>
<a href="https://www.instagram.com">
<svg class="icon-header">
<use href="../assets/hh-symbol-defs.svg#icon-instagram-desktop" />
</svg>
</a>
</li>
<li>
<a href="https://www.twitter.com">
<svg class="icon-header">
<use href="../assets/hh-symbol-defs.svg#icon-twitter-desktop" />
</svg>
</a>
</li>
</ul>

</header>


<main>
<!-- Hero section -->
</div>-->

<!-- Navigation bar

<nav class="header__navigation">
<a href="#" class="home">Home</a>
<a href="#" class="how-made">How it's made?</a>
<a href="#" class="our-products">Our products</a>
<a href="#" class="top-sellers">Top sellers</a>
<a href="#" class="chocolate-love">Chocolate is loved</a>
</nav>-->


<!-- Socials

<ul class="header__socials">
<li>
<a href="https://www.instagram.com">
<svg class="icon-header">
<use href="../assets/hh-symbol-defs.svg#icon-instagram-desktop" />
</svg>
</a>
</li>
<li>
<a href="https://www.twitter.com">
<svg class="icon-header">
<use href="../assets/hh-symbol-defs.svg#icon-twitter-desktop" />
</svg>
</a>
</li>
</ul>

</header>-->


<!-- <main>
Hero section
<section class="hero-section">
<div class="hero-content">

Expand Down Expand Up @@ -78,4 +78,4 @@ <h2 class="hero__subtitle">Treat yourself or a loved one to our finest ingredien
</section>


</main>
</main>-->
16 changes: 8 additions & 8 deletions src/partials/header-hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
<!-- Navigation bar -->

<nav class="header__navigation">
<a href="#" class="home">Home</a>
<a href="#" class="how-made">How it's made?</a>
<a href="#" class="our-products">Our products</a>
<a href="#" class="top-sellers">Top sellers</a>
<a href="#" class="chocolate-love">Chocolate is loved</a>
<a href="header-hero.html" class="home">Home</a>
<a href="./mobile/how it's made.html" class="how-made">How it's made?</a>
<a href="./mobile/our-products.html" class="our-products">Our products</a>
<a href="./mobile/top-sellers.html" class="top-sellers">Top sellers</a>
<a href="./mobile/subscribe.html" class="chocolate-love">Chocolate is loved</a>
</nav>


Expand Down Expand Up @@ -108,11 +108,11 @@ <h2 class="hero__subtitle">Treat yourself or a loved one to our finest ingredien
<div class="hero__buttons">
<button class="hero__btn1" type="button" data-modal-seller-open>Buy now</button>

<button class="hero__btn2" type="button" href="#">How it's made</button>
<button class="hero__btn2" type="button" href="./mobile/how it's made.html">How it's made</button>
</div>

<div class="hero__scroll-container">
<a class="hero__scroll" href="#footer.html">scroll down
<a class="hero__scroll" href="footer.html">scroll down
<svg class="hero__scroll-icon">
<use href="./scroll-symbol-defs.svg#icon-scroll-down-arrow" />
</svg>
Expand All @@ -125,4 +125,4 @@ <h2 class="hero__subtitle">Treat yourself or a loved one to our finest ingredien

</div>
</section>
</main>
</main>
98 changes: 49 additions & 49 deletions src/partials/tablet/header-hero-tablet.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- Header section -->
<header class="header__section">
<!-- Header section
<header class="header__section"> -->

<!-- Logo -->
<!-- Logo
<div class="header__logo">
<a href="index.html">Simply
<span> Chocolate</span>
Expand All @@ -11,62 +11,62 @@

</a>

</div>
</div>-->


<!-- Menu Button-->
<!-- Menu Button

<button class="js-open-menu-header header-menu-button" aria-expanded-header="false"
aria-controls="js-menu-container-header">
<svg class="icon-menu-open">
<use href="../assets/hh-symbol-defs.svg#icon-menu-03" />
</svg>
</button>
<button class="js-open-menu-header header-menu-button" aria-expanded-header="false"
aria-controls="js-menu-container-header">
<svg class="icon-menu-open">
<use href="../assets/hh-symbol-defs.svg#icon-menu-03" />
</svg>
</button>-->


<!-- Menu -->
<!-- Menu

<div class="js-menu-container-header">
<div class="js-menu-container-header">

<button class="js-close-menu-header header__button-close-menu" type="button">
<svg class="icon-menu-close">
<use href="../assets/hh-symbol-defs.svg#icon-x" />
</svg>
<button class="js-close-menu-header header__button-close-menu" type="button">
<svg class="icon-menu-close">
<use href="../assets/hh-symbol-defs.svg#icon-x" />
</svg>

</button>

<nav class="header__menu-nav">
<a href="#" class="home">Home</a>
<a href="#" class="how-made">How it's made?</a>
<a href="#" class="our-products">Our products</a>
<a href="#" class="top-sellers">Top sellers</a>
<a href="#" class="chocolate-love">Chocolate is loved</a>
</nav>

<ul class="header__menu-socials-container">
<li class="header__menu-socials">
<a href="https://www.instagram.com">
<svg class="icon-header">
<use href="../assets/hh-symbol-defs.svg#icon-instagram-desktop" />
</svg>
</a>
</li>
<li class="header__menu-socials">
<a href="https://www.twitter.com">
<svg class="icon-header">
<use href="../assets/hh-symbol-defs.svg#icon-twitter-desktop" />
</svg>
</a>
</li>
</ul>

</div>
</button>

</header>
<nav class="header__menu-nav">
<a href="#" class="home">Home</a>
<a href="#" class="how-made">How it's made?</a>
<a href="#" class="our-products">Our products</a>
<a href="#" class="top-sellers">Top sellers</a>
<a href="#" class="chocolate-love">Chocolate is loved</a>
</nav>

<ul class="header__menu-socials-container">
<li class="header__menu-socials">
<a href="https://www.instagram.com">
<svg class="icon-header">
<use href="../assets/hh-symbol-defs.svg#icon-instagram-desktop" />
</svg>
</a>
</li>
<li class="header__menu-socials">
<a href="https://www.twitter.com">
<svg class="icon-header">
<use href="../assets/hh-symbol-defs.svg#icon-twitter-desktop" />
</svg>
</a>
</li>
</ul>

</div>

</header>
-->

<main>
<!-- Hero section -->
<!--<main>
Hero section
<section class="hero-section">
<div>

Expand Down Expand Up @@ -99,4 +99,4 @@ <h2 class="hero__subtitle">Treat yourself or a loved one to our finest ingredien
</section>


</main>
</main>-->