This repository has been archived by the owner on Apr 11, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: project page header with transitions (#52) by Sergestra
* feat: add header with hero section to all project pages
- Loading branch information
Showing
8 changed files
with
479 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,14 +41,20 @@ | |
</div> | ||
</div> | ||
</nav> | ||
<h1>Luym Building</h1> | ||
<hr> | ||
<header> | ||
<div class="container"> | ||
<h1><i class="fas fa-palette"></i> Projects</h1> | ||
<h4>Luym Building</h4> | ||
<button id="scrollActivate" type="button" class="btn btn-light viewmore"><span><i class="fas fa-chevron-down"></i> | ||
Explore</span></button> | ||
</div> | ||
</header> | ||
<div class="content"> | ||
<div class="container"> | ||
<h4>Information about Luym Building</h4> | ||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquid sunt obcaecati vitae labore, earum recusandae | ||
culpa unde nisi cum praesentium illo eum consequatur corrupti possimus ab eligendi quibusdam quas error.</p> | ||
<h4 class="tagBlock"><i class="fas fa-images"></i> Images</h4> | ||
<h4 id="scrollHere" class="tagBlock"><i class="fas fa-images"></i> Images</h4> | ||
<div class="imgWrapper"> | ||
<img src="../../Assets/Images/Project_Images/Luym_Building/cover.png"> | ||
</div> | ||
|
@@ -58,7 +64,18 @@ <h4 class="tagBlock"><i class="fas fa-images"></i> Images</h4> | |
</div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" | ||
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"> | ||
</script> | ||
</script> | ||
<!-- Load jQuery --> | ||
<script src="https://code.jquery.com/jquery-3.6.0.min.js" | ||
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> | ||
<!-- Scroll to div animation --> | ||
<script> | ||
$("#scrollActivate").click(function () { | ||
$('html, body').animate({ | ||
scrollTop: $("#scrollHere").offset().top | ||
}, 600); | ||
}); | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,14 +41,20 @@ | |
</div> | ||
</div> | ||
</nav> | ||
<h1>Mandalay Palace</h1> | ||
<hr> | ||
<header> | ||
<div class="container"> | ||
<h1><i class="fas fa-palette"></i> Projects</h1> | ||
<h4>Mandalay Palace</h4> | ||
<button id="scrollActivate" type="button" class="btn btn-light viewmore"><span><i class="fas fa-chevron-down"></i> | ||
Explore</span></button> | ||
</div> | ||
</header> | ||
<div class="content"> | ||
<div class="container"> | ||
<h4>Information about Mandalay Palace</h4> | ||
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Aliquid sunt obcaecati vitae labore, earum recusandae | ||
culpa unde nisi cum praesentium illo eum consequatur corrupti possimus ab eligendi quibusdam quas error.</p> | ||
<h4 class="tagBlock"><i class="fas fa-images"></i> Images</h4> | ||
<h4 id="scrollHere" class="tagBlock"><i class="fas fa-images"></i> Images</h4> | ||
<div class="imgWrapper"> | ||
<img src="../../Assets/Images/Project_Images/Mandalay_Palace/cover.png"> | ||
</div> | ||
|
@@ -62,13 +68,21 @@ <h4 class="tagBlock"><i class="fas fa-images"></i> Images</h4> | |
<div class="imgWrapper"> | ||
<img src="../../Assets/Images/Project_Images/Mandalay_Palace/2.png"> | ||
</div> | ||
<br> | ||
<br> | ||
</div> | ||
</div> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" | ||
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"> | ||
</script> | ||
</script> | ||
<!-- Load jQuery --> | ||
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script> | ||
<!-- Scroll to div animation --> | ||
<script> | ||
$("#scrollActivate").click(function () { | ||
$('html, body').animate({ | ||
scrollTop: $("#scrollHere").offset().top | ||
}, 600); | ||
}); | ||
</script> | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.