Skip to content

Commit c80b19f

Browse files
copyright year updated (#89)
closes #83
1 parent 38d3ed5 commit c80b19f

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

index.html

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
html{
2424
scroll-behavior: smooth;
2525
}
26-
26+
2727
@media(max-width:1520px) {
2828
.left-svg {
2929
display: none;
@@ -82,7 +82,7 @@
8282
<g>
8383
<path d="M1175 0C525.8 0 0 525.8 0 1175c0 552.2 378.9 1010.5 890.1 1139.7-5.9-14.7-8.8-35.3-8.8-55.8v-199.8H734.4c-79.3 0-152.8-35.2-185.1-99.9-38.2-70.5-44.1-179.2-141-246.8-29.4-23.5-5.9-47 26.4-44.1 61.7 17.6 111.6 58.8 158.6 120.4 47 61.7 67.6 76.4 155.7 76.4 41.1 0 105.7-2.9 164.5-11.8 32.3-82.3 88.1-155.7 155.7-190.9-393.6-47-581.6-240.9-581.6-505.3 0-114.6 49.9-223.3 132.2-317.3-26.4-91.1-61.7-279.1 11.8-352.5 176.3 0 282 114.6 308.4 143.9 88.1-29.4 185.1-47 284.9-47 102.8 0 196.8 17.6 284.9 47 26.4-29.4 132.2-143.9 308.4-143.9 70.5 70.5 38.2 261.4 8.8 352.5 82.3 91.1 129.3 202.7 129.3 317.3 0 264.4-185.1 458.3-575.7 499.4 108.7 55.8 185.1 214.4 185.1 331.9V2256c0 8.8-2.9 17.6-2.9 26.4C2021 2123.8 2350 1689.1 2350 1175 2350 525.8 1824.2 0 1175 0z"></path>
8484
</g>
85-
85+
8686
</svg>
8787
</a>
8888
<a href="#download"
@@ -278,7 +278,7 @@ <h2 class="text-sm font-bold tracking-wide text-center text-gray-800 uppercase m
278278
<div class="container px-0 mx-auto sm:px-5">
279279
<h3 class="mx-6 mt-1 text-xl font-bold text-left text-gray-800 sm:text-3xl md:text-5xl sm:text-center sm:mx-0">
280280
Chapters</h3>
281-
281+
282282
<p class="mx-6 my-6 text-xs font-bold text-left text-pink-500 uppercase sm:text-center sm:text-normal sm:font-bold">The first 13 chapters would be purely focused on getting some solid Bash scripting foundations then the rest of the chapters would give you some real life examples and scripts</p>
283283
<div class="w-full px-6 py-6 mx-auto mt-4 bg-white border border-gray-200 sm:px-8 md:px-12 sm:py-8 sm:rounded-lg sm:shadow md:w-2/3">
284284
<h3 class="text-lg font-bold text-purple-500 sm:text-xl md:text-2xl">About the book</h3>
@@ -352,7 +352,7 @@ <h3 class="text-lg font-bold text-purple-500 sm:text-xl md:text-2xl">Wrap Up</h3
352352
</div>
353353
</div>
354354
<!-- End Chapters -->
355-
355+
356356
<!-- Download Section -->
357357
<div id="download" class="pb-1 text-center text-gray-700 bg-gray-100 bg-cover">
358358
<div class="container relative max-w-2xl px-5 pt-12 mx-auto sm:py-12 lg:px-0">
@@ -441,22 +441,22 @@ <h5 class="pb-2 text-xl font-bold leading-6 text-gray-600">Light Theme</h5>
441441
<div class="container mx-auto">
442442
<div class="flex flex-col items-center content-center justify-center text-center lg:flex-row lg:text-left">
443443
<img class="self-start w-auto h-24 px-4 mx-auto -mt-1 lg:mx-0" alt="Free Download" src="https://cdn.devdojo.com/images/december2020/coffee-start.png">
444-
444+
445445
<div class="flex flex-col content-center px-4 mx-4 my-6">
446446
<h4 class="pb-0 mb-0 text-lg font-semibold mb-md-0">Enjoying the free eBook?</h4>
447447
<p class="mb-0 text-gray-700">Support this opensource project by staring it on GitHub!</p>
448448
</div>
449-
<a href="https://github.com/bobbyiliev/introduction-to-bash-scripting" class="px-4 py-2 font-semibold text-white bg-green-500 border border-green-700 rounded shadow btn btn-secundary hover:bg-green-600">
449+
<a href="https://github.com/bobbyiliev/introduction-to-bash-scripting" class="px-4 py-2 font-semibold text-white bg-green-500 border border-green-700 rounded shadow btn btn-secundary hover:bg-green-600">
450450
<svg class="inline-block h-8 mr-4 text-white duration-150 cursor-pointer fill-current transition-color hover:text-gray-00" viewBox="0 0 2350 2315" xmlns="http://www.w3.org/2000/svg">
451451
<g stroke="none" stroke-width="1"></g>
452452
<g>
453453
<path d="M1175 0C525.8 0 0 525.8 0 1175c0 552.2 378.9 1010.5 890.1 1139.7-5.9-14.7-8.8-35.3-8.8-55.8v-199.8H734.4c-79.3 0-152.8-35.2-185.1-99.9-38.2-70.5-44.1-179.2-141-246.8-29.4-23.5-5.9-47 26.4-44.1 61.7 17.6 111.6 58.8 158.6 120.4 47 61.7 67.6 76.4 155.7 76.4 41.1 0 105.7-2.9 164.5-11.8 32.3-82.3 88.1-155.7 155.7-190.9-393.6-47-581.6-240.9-581.6-505.3 0-114.6 49.9-223.3 132.2-317.3-26.4-91.1-61.7-279.1 11.8-352.5 176.3 0 282 114.6 308.4 143.9 88.1-29.4 185.1-47 284.9-47 102.8 0 196.8 17.6 284.9 47 26.4-29.4 132.2-143.9 308.4-143.9 70.5 70.5 38.2 261.4 8.8 352.5 82.3 91.1 129.3 202.7 129.3 317.3 0 264.4-185.1 458.3-575.7 499.4 108.7 55.8 185.1 214.4 185.1 331.9V2256c0 8.8-2.9 17.6-2.9 26.4C2021 2123.8 2350 1689.1 2350 1175 2350 525.8 1824.2 0 1175 0z"></path>
454454
</g>
455-
455+
456456
</svg>
457457
Star the project
458458
</a>
459-
459+
460460
</div>
461461
</div>
462462
</div>
@@ -524,12 +524,16 @@ <h4 class="pb-0 mb-0 text-lg font-semibold mb-md-0">Enjoying the free eBook?</h4
524524
</a>
525525
</div>
526526
<p class="mt-8 text-base leading-6 text-center text-gray-400">
527-
&copy; 2020 Designed with <a href="https://devdojo.com/tails" class="text-blue-500 font-bold">Tails</a>
527+
&copy; 2022-<span id="year">2020</span> Designed with <a href="https://devdojo.com/tails" class="text-blue-500 font-bold">Tails</a>
528528
</p>
529529
</div>
530530
</footer>
531531
<!-- a little JS for the mobile nav button -->
532532
<script>
533+
var year=new Date().getFullYear();
534+
console.log(year);
535+
document.getElementById("year").innerHTML=year;
536+
533537
if (document.getElementById('nav-mobile-btn')) {
534538
document.getElementById('nav-mobile-btn').addEventListener('click', function () {
535539
if (this.classList.contains('close')) {

0 commit comments

Comments
 (0)