Commit 4bef2bb3 by jhukal9@gmail.com

updated the back btn at inner banner and table of content redirection

parent 51f48f21
This source diff could not be displayed because it is too large. You can view the blob instead.
<svg width="20" height="14" viewBox="0 0 20 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M0.987632 6.32235L0.987618 6.32236C0.807959 6.50208 0.707031 6.74579 0.707031 6.9999C0.707031 7.25402 0.807959 7.49773 0.987618 7.67745L0.987632 7.67746L6.82096 13.5108L6.82095 13.5108L6.82251 13.5123C7.00326 13.6869 7.24534 13.7835 7.49661 13.7813C7.74788 13.7791 7.98824 13.6783 8.16592 13.5006C8.34361 13.323 8.44439 13.0826 8.44658 12.8313C8.44876 12.5801 8.35217 12.338 8.1776 12.1572L8.17761 12.1572L8.17607 12.1557L3.97863 7.95824H18.3319C18.586 7.95824 18.8298 7.85727 19.0095 7.67755C19.1892 7.49783 19.2902 7.25407 19.2902 6.9999C19.2902 6.74574 19.1892 6.50198 19.0095 6.32226C18.8298 6.14254 18.586 6.04157 18.3319 6.04157H3.97863L8.17533 1.84487C8.26648 1.75663 8.33921 1.65116 8.38929 1.53458C8.43951 1.41766 8.46595 1.29191 8.46706 1.16466C8.46816 1.03741 8.44392 0.911218 8.39573 0.793443C8.34754 0.675668 8.27638 0.568668 8.1864 0.478687C8.09642 0.388707 7.98942 0.317547 7.87165 0.269362C7.75387 0.221176 7.62768 0.196928 7.50043 0.198034C7.37319 0.19914 7.24743 0.225577 7.13051 0.275802C7.01394 0.325879 6.90847 0.398603 6.82023 0.489753L0.987632 6.32235Z" fill="white" stroke="white" stroke-width="0.25"/>
</svg>
...@@ -559,4 +559,11 @@ ...@@ -559,4 +559,11 @@
$(this).attr("id", sanitizedText); $(this).attr("id", sanitizedText);
}); });
}); });
$(function () {
$(".back-btn").on("click", function (e) {
e.preventDefault();
history.back();
});
});
})(jQuery); })(jQuery);
...@@ -11,7 +11,7 @@ if (isset($hero) && is_array($hero) && !empty($hero)): ...@@ -11,7 +11,7 @@ if (isset($hero) && is_array($hero) && !empty($hero)):
$hero_v = $hero['hero_v']; $hero_v = $hero['hero_v'];
if ($hero_v): if ($hero_v):
?> ?>
<section class="AUDIT-INTRO pb-40"> <section class="AUDIT-INTRO pb-40">
<div class="container"> <div class="container">
<div class="ai-content"> <div class="ai-content">
<div class="section-title top-title"> <div class="section-title top-title">
...@@ -42,15 +42,16 @@ if (isset($hero) && is_array($hero) && !empty($hero)): ...@@ -42,15 +42,16 @@ if (isset($hero) && is_array($hero) && !empty($hero)):
</div> </div>
</div> </div>
</div> </div>
</section> </section>
<?php else: ?> <?php else: ?>
<section class="AUDIT-INNER-BANNER pb-40"> <section class="AUDIT-INNER-BANNER pb-40">
<div class="container"> <div class="container">
<a href="#" class="btn-outlined back-btn d-inline-block" onclick="history.back()">Go Back</a>
<div class="top-title"> <div class="top-title">
<?php if (!empty($hero_title)): ?> <?php if (!empty($hero_title)): ?>
<h1><?php echo $hero_title; ?></h1><?php endif; ?> <h1><?php echo $hero_title; ?></h1><?php endif; ?>
</div> </div>
</div> </div>
</section> </section>
<?php endif; endif; endif; ?> <?php endif; endif; endif; ?>
<!-- !Seo - Hero Section --> <!-- !Seo - Hero Section -->
\ No newline at end of file
...@@ -107,6 +107,11 @@ ...@@ -107,6 +107,11 @@
h6 { h6 {
font-size: 1.5rem; font-size: 1.5rem;
margin-bottom: 1.25rem; margin-bottom: 1.25rem;
scroll-margin-top: 150px;
&:target::before {
content: unset;
}
} }
.image-wrapper { .image-wrapper {
img { img {
......
.AUDIT-INNER-BANNER { .AUDIT-INNER-BANNER {
background-color: $primary; background-color: $primary;
.back-btn {
padding: 12px 24px;
border-radius: 64px;
color: $white;
border: 1px solid #ffffff33;
margin-bottom: 52px;
min-width: unset;
&::before {
content: "";
width: 18px;
height: 13px;
display: inline-block;
background: url(../img/arrow-back.svg) no-repeat center/contain;
margin-right: 12px;
}
}
h1 { h1 {
color: $white; color: $white;
} }
} }
@media (min-width: 992px) {
.AUDIT-INNER-BANNER {
.back-btn {
margin-bottom: 32px;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment