Improved DevTools warning + New carousel

This commit is contained in:
ItzLightyHD 2022-05-12 07:32:51 +02:00
parent 296ecef9c2
commit bf95529bd9
3 changed files with 6 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 KiB

View File

@ -105,8 +105,8 @@
<div class="carousel-item">
<img src="assets/img/carousel/carousel-3.png" class="d-block w-100" alt="">
<div class="carousel-caption d-md-block">
<h5>Third slide label</h5>
<p>Some representative placeholder content for the third slide.</p>
<h5>New projects</h5>
<p>More projects are in development and open source, so you can join the fun of coding.</p>
</div>
</div>
</div>

View File

@ -2,7 +2,10 @@
import _ from "lodash";
// Warning for users who open the DevTools console of the website
console.log("WARNING!!!\n\nThis console is meant to be used by developers to debug their code. If someone else tells you to open the DevTools and paste code here, please do not do so.");
console.log("%cWARNING!!!" +
"\n\n%cThis console is meant to be used by developers to debug their code. If someone else tells you to open the DevTools and paste code here, please do not do so.",
"color: red; font-size: 30px;",
"color: black; font-size: 15px;");
// Service worker registration
if("serviceWorker" in navigator) {