Skip to content

Commit 408c3d8

Browse files
committed
Fix lighthouse warnings
1 parent 4af9105 commit 408c3d8

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

public/assets/profilePlaceholder.jpg

2.73 KB
Loading

views/partials/adminHeader.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<header class='adminHeader'>
22
<i class='fa-solid fa-bars adminNav-toggle'></i>
33
<a href='/admin'>
4-
<img src='/assets/logo-inline.svg' alt='Stratos logo image'/>
4+
<img src='/assets/logo-inline.svg' alt='Stratos logo image' height=60 width=182 />
55
</a>
66
</header>

views/partials/adminNav.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
</div>
88
<div class='adminNav__profile'>
99
<div class='details'>
10-
<img src='https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fpwco.com.sg%2Fwp-content%2Fuploads%2F2020%2F05%2FGeneric-Profile-Placeholder-v3.png&f=1&nofb=1' style='width: 50px;'/>
10+
<img alt='Profile picture' src='/assets/profilePlaceholder.jpg' width=50 height=50 />
1111
<span>Matthew Fiddaman</span>
1212
</div>
1313
<a class='logout' href='/logout'><i class='fa-solid fa-arrow-right-from-bracket'></i>Logout</a>

views/partials/feature.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<div class='feature'>
2-
<img src='{{img}}' alt='{{alt}}'/>
2+
<img src='{{img}}' alt='{{alt}}' height=195 width=377 />
33
<div class='feature__text'>
44
<h2 class='feature__title'>{{title}}</h2>
55
<p class='feature__content'>{{content}}</p>

views/partials/mainNav.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<nav class='mainNav'>
22
<a href='/'>
3-
<img src='/assets/logo-inline.svg' alt='Stratos logo image'/>
3+
<img src='/assets/logo-inline.svg' alt='Stratos logo image' height=60 width=182 />
44
</a>
55
<div class='mainNav__buttons'>
66
{{>button style='full' colour='primary' to='/login' content='Log In'}}

0 commit comments

Comments
 (0)