Skip to content

Commit 6062c91

Browse files
Merge pull request #32 from SP-SDU/JavaScript-Animation
Resized images for better performance.
2 parents c566579 + ba58e6f commit 6062c91

6 files changed

Lines changed: 6 additions & 5 deletions

File tree

GameLibrary/Pages/Index.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<!-- Hero Section -->
1515
<div class="hero-section">
16-
<img src="~/images/Gamer.webp" class="hero-image" />
16+
<img src="~/images/Gamer.webp" class="hero-image" alt="background-image"/>
1717
<div class="hero-overlay"></div>
1818
<div class="hero-text">
1919
<h1 class="hero-title">Discover Our Library</h1>
@@ -31,8 +31,8 @@
3131
</div>
3232
</div>
3333

34-
<img class="RRspaceship" src="/images/RRspaceship.webp" alt="spaceship">
35-
<img class="Uspaceship" src="/images/Ufo-spaceship.webp" alt="spaceship1">
34+
<img class="RRspaceship" src="/images/RRspaceship.webp" alt="RRspaceship">
35+
<img class="Uspaceship" src="/images/Ufo-spaceship.webp" alt="Uspaceship">
3636

3737
<!-- About Section -->
3838
<div class="about-section">

GameLibrary/wwwroot/css/index.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
.hero-text h1 {
8888
color: #FFD43B;
8989
margin-top: 3rem;
90-
font-size: 4rem;
90+
font-size: 3.7rem;
9191
font-weight: bold;
9292
text-transform: uppercase;
9393
line-height: 1.2;
@@ -162,6 +162,7 @@
162162

163163
.scroll-indicator img {
164164
height: 2rem;
165+
width: 2rem;
165166
}
166167

167168
/* About Section */

GameLibrary/wwwroot/css/index.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
-1.46 MB
Loading
-163 KB
Loading
-309 KB
Loading

0 commit comments

Comments
 (0)