added fancy ascii image
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
||||
<title>Title</title>
|
||||
<link rel="icon" href="icon.png" type="image/icon type">
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap" rel="stylesheet">
|
||||
@@ -24,14 +25,6 @@
|
||||
Welcome, and happy coding!<br><br>
|
||||
</span>
|
||||
</div>
|
||||
<div class="terminalLine activeLine">
|
||||
<h4 class="pathText"></h4>
|
||||
<h4 class="pathColon">:</h4>
|
||||
<h4 class="pathPath">~/</h4>
|
||||
<h4 class="pathDollar">$</h4>
|
||||
<input class="terminalInput" type="text" id="terminalInput" value="">
|
||||
<div class="pathBlinky"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="js/terminal.js"></script>
|
||||
|
||||
BIN
httpdocs/public/icon-ascii.png
Normal file
BIN
httpdocs/public/icon-ascii.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
BIN
httpdocs/public/icon.png
Normal file
BIN
httpdocs/public/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
@@ -3,6 +3,7 @@ const hostname = `192.168.${Math.floor(Math.random() * 100)}.${Math.floor(Math.r
|
||||
|
||||
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
createNewTerminalLine()
|
||||
document.querySelector(".pathText").innerHTML = `guest@${hostname}`;
|
||||
addInputEventListeners();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user