Skip to content

Commit 528654a

Browse files
committed
lunasim logo to front page
1 parent 7954f21 commit 528654a

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

landing/homePage.html

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@
8282
line-height: 1.3;
8383
}
8484
.fade-in-text {
85-
display: inline-block;
85+
display: inline-flex;
86+
align-items: center;
8687
opacity: 0;
8788
transform: translateY(20px);
8889
animation: fadeInUp 2s ease forwards;
@@ -92,6 +93,13 @@
9293
color: white;
9394
font-weight: 700;
9495
}
96+
97+
/* Style for the SVG logo */
98+
.luna-logo {
99+
height: 0.77em; /* Use em to scale with the font size of the parent */
100+
width: auto;
101+
margin-right: 0.5rem;
102+
}
95103

96104
/* ========== Background & Overlay ========== */
97105
.background-slider {
@@ -930,7 +938,7 @@
930938
<div class="hero-content fade-in-left">
931939
<h1 class="intro-text">
932940
Design and Run All-Powerful Simulations With:<br>
933-
<span class="fade-in-text">LunaSim</span>
941+
<span class="fade-in-text"><img src="../img/favicons/lunalogo.svg" alt="LunaSim Logo" class="luna-logo"> LunaSim</span>
934942
</h1>
935943
<div class="button-container">
936944
<button class="launch-btn" onclick="launchLunaSim()">
@@ -1464,3 +1472,4 @@ <h3>About LunaSim</h3>
14641472

14651473
</body>
14661474
</html>
1475+

0 commit comments

Comments
 (0)