Skip to content

Commit

Permalink
Update the Home Page (#446)
Browse files Browse the repository at this point in the history
* Docs. (#394)

* Docs. (#394)

* Docs. (#394)
  • Loading branch information
ATATC authored Oct 22, 2024
1 parent 5889e53 commit f35801c
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 1 deletion.
Binary file modified home/assets/background-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file removed home/assets/background-5.png
Binary file not shown.
Binary file modified home/assets/background-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added home/assets/background-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion home/assets/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ document.addEventListener("DOMContentLoaded", () => {
let currentIndex = 0;

function showLine(index) {
if (index < 1) background.style.background = "#343751";
if (index === 0 || index === 5 || index === 8) background.style.background = "#343751";
else if (index === 7) background.style.background = "#000000";
else background.style.background = "url(\"assets/background-" + index + ".png\") no-repeat center center/cover";
lines.forEach((line, i) => {
line.classList.remove("visible", "exit");
Expand Down
3 changes: 3 additions & 0 deletions home/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ <h1 class="line">Why <b style="color: #FAD12B;">LEADS</b>?</h1>
<h1 class="line" style="color: #90ACC7;">Aesthetics</h1>
<h2 class="line">Full Control through a Touch Screen</h2>
<h2 class="line">Immersive Cockpit</h2>
<h1 class="line" style="color: #90ACC7;">Data Analysis</h1>
<h2 class="line">LEADS VeC Remote Analyst</h2>
<h2 class="line">LEADS VeC Data Processor</h2>
<h1 class="line" style="color: #90ACC7;">Rich Ecology</h1>
<div class="line">
<h2>LEADS VeC</h2>
Expand Down

0 comments on commit f35801c

Please sign in to comment.