Skip to content

Commit

Permalink
Lighthouse improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
ZsharE committed Feb 22, 2024
1 parent 1b78898 commit 40bd612
Show file tree
Hide file tree
Showing 27 changed files with 54 additions and 15 deletions.
7 changes: 5 additions & 2 deletions assets/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -665,11 +665,14 @@ footer .links {
padding: 46px 0px 30px 0px;
background: #393939;
}
footer .links h5 {
footer .links span {
display: block;
color: #ffffff;
font-size: 16px;
font-weight: 500;
margin-top: 0px;
margin-bottom: 15px;
font-weight: 500;
line-height: 1.2;
}
footer .links ul li a {
color: #929292;
Expand Down
4 changes: 2 additions & 2 deletions assets/css/style.min.css

Large diffs are not rendered by default.

23 changes: 15 additions & 8 deletions default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,13 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

{{!-- PWA Meta --}}
<link rel="manifest" href="../site.webmanifest">
<meta content="yes" name="apple-mobile-web-app-capable">
<meta name="apple-mobile-web-app-title" content="elmah.io">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="msapplication-TileImage" content="../icons/mstile-144x144.png">
<meta name="theme-color" content="#0da58e">

{{!-- Base Meta --}}
Expand Down Expand Up @@ -89,7 +96,7 @@
<div class="container">
<div class="row">
<div class="col">
<h5>Product</h5>
<span>Product</span>
<ul class="list-unstyled">
<li><a href="https://elmah.io/features/">Features</a></li>
<li><a href="https://elmah.io/pricing/">Pricing</a></li>
Expand All @@ -98,7 +105,7 @@
</ul>
</div>
<div class="col">
<h5>Company</h5>
<span>Company</span>
<ul class="list-unstyled">
<li><a href="https://elmah.io/about/">About</a></li>
<li><a href="https://elmah.io/contact/">Contact</a></li>
Expand All @@ -107,7 +114,7 @@
</ul>
</div>
<div class="col">
<h5>Learn</h5>
<span>Learn</span>
<ul class="list-unstyled">
<li><a href="https://elmah.io/customer-stories/">Customer Stories</a></li>
<li><a href="https://elmah.io/for-ctos/">For CEOs and CTOs</a></li>
Expand All @@ -116,7 +123,7 @@
</ul>
</div>
<div class="col">
<h5>Guides</h5>
<span>Guides</span>
<ul class="list-unstyled">
<li><a href="https://elmah.io/devops/">.NET DevOps</a></li>
<li><a href="https://elmah.io/microservices/">.NET Microservices</a></li>
Expand All @@ -125,7 +132,7 @@
</ul>
</div>
<div class="col">
<h5>Online Tools</h5>
<span>Online Tools</span>
<ul class="list-unstyled">
<li><a href="https://elmah.io/tools/config-validator/">Web.config Validator</a></li>
<li><a href="https://elmah.io/tools/stack-trace-formatter/">Stack Trace Formatter</a></li>
Expand All @@ -147,9 +154,9 @@
</div>
<div class="col-lg-2 col-md-12 order-3 order-lg-1">
<ul class="list-unstyled social mb-0">
<li class="list-inline-item"><a href="https://twitter.com/elmah_io"><i class="fab x-twitter"></i></a></li>
<li class="list-inline-item"><a href="https://facebook.com/elmahdotio"><i class="fab fa-facebook-f"></i></a></li>
<li class="list-inline-item"><a href="https://www.linkedin.com/company/elmah-io/"><i class="fab fa-linkedin-in"></i></a></li>
<li class="list-inline-item"><a href="https://twitter.com/elmah_io" aria-label="Follow us on Twitter"><i class="fab x-twitter"></i></a></li>
<li class="list-inline-item"><a href="https://facebook.com/elmahdotio" aria-label="Follow us on Facebook"><i class="fab fa-facebook-f"></i></a></li>
<li class="list-inline-item"><a href="https://www.linkedin.com/company/elmah-io/" aria-label="Follow us on LinkedIn"><i class="fab fa-linkedin-in"></i></a></li>
</ul>
</div>
<div class="col-lg-5 col-md-12 order-1 order-lg-2">
Expand Down
Binary file added icons/AppIcon16x16.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 icons/AppIcon192x192.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 icons/AppIcon29x29.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 icons/AppIcon29x29@2x.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 icons/AppIcon40x40.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 icons/AppIcon40x40@2x.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 icons/AppIcon50x50.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 icons/AppIcon512x512.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 icons/AppIcon60x60.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 icons/AppIcon60x60@2x.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 icons/AppIcon75x75.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 icons/AppIcon76x76.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 icons/AppIcon76x76@2x.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 icons/AppIconMaskable196x196.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 icons/iTunesArtwork.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 icons/iTunesArtwork@2x.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 icons/mstile-144x144.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 icons/mstile-150x150.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 icons/mstile-310x150.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 icons/mstile-310x310.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 icons/mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions partials/sidebar.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -56,20 +56,20 @@
<ul class="follow-list">
{{#if @site.twitter}}
<li class="social-link-twitter">
<a class="social-link" href="{{twitter_url}}" target="_blank" rel="noopener noreferrer">
<a class="social-link" href="{{twitter_url}}" target="_blank" rel="noopener noreferrer" aria-label="Follow us on Twitter">
<span class="fab x-twitter"></span>
</a>
</li>
{{/if}}
{{#if @site.facebook}}
<li class="social-link-facebook">
<a class="social-link" href="{{facebook_url}}" target="_blank" rel="noopener noreferrer">
<a class="social-link" href="{{facebook_url}}" target="_blank" rel="noopener noreferrer" aria-label="Follow us on Facebook">
<span class="fab fa-facebook-f"></span>
</a>
</li>
{{/if}}
<li class="social-link-linkedin">
<a class="social-link" href="https://www.linkedin.com/company/elmah-io/" target="_blank" rel="noopener noreferrer">
<a class="social-link" href="https://www.linkedin.com/company/elmah-io/" target="_blank" rel="noopener noreferrer" aria-label="Follow us on LinkedIn">
<span class="fab fa-linkedin-in"></span>
</a>
</li>
Expand Down
1 change: 1 addition & 0 deletions serviceworker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self.addEventListener('fetch',function(event){});
28 changes: 28 additions & 0 deletions site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "elmah.io Blog - .NET Technical tutorials/guides and new features",
"description": "On the elmah.io blog, the team behind elmah.io blog about new features and technologies either used to build elmah.io or of general interest.",
"short_name": "elmah.io",
"orientation": "any",
"display": "standalone",
"icons": [
{
"src": "icons/AppIcon192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "icons/AppIconMaskable196x196.png",
"sizes": "196x196",
"type": "image/png",
"purpose": "maskable"
},
{
"src": "icons/AppIcon512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"start_url": "/",
"background_color": "#0da58e",
"theme_color": "#0da58e"
}

0 comments on commit 40bd612

Please sign in to comment.