️ Changes to address Lighthouse issues

pull/2/head
James Panther 2021-08-22 17:19:42 +10:00
parent c4445a2028
commit 5b7aabefa7
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
7 changed files with 13 additions and 3 deletions

View File

@ -2091,6 +2091,10 @@ body a, body button {
margin-bottom: 2px;
}
.mb-1 {
margin-bottom: 0.25rem;
}
.block {
display: block;
}
@ -2685,6 +2689,10 @@ body a, body button {
margin-right: 1.75rem;
}
.sm\:mb-0 {
margin-bottom: 0px;
}
.sm\:w-1\/2 {
width: 50%;
}

View File

@ -26,4 +26,4 @@ This is a demo site built entirely using Congo. It also contains a complete set
Explore the [sample pages](/samples/) to get a feel for what Congo can do. If you like what you see, check out the project on [Github](https://github.com/jpanther/congo) or read the [Installation guide](/docs/installation/) to get started.
{{< figure src="mountains.jpg" caption="Photo by [Anna Scarfiello](https://unsplash.com/@little_anne?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)." >}}
{{< figure src="mountains.jpg" width="1200" height="800" caption="Photo by [Anna Scarfiello](https://unsplash.com/@little_anne?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText) on [Unsplash](https://unsplash.com/?utm_source=unsplash&utm_medium=referral&utm_content=creditCopyText)." >}}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 669 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -7,7 +7,7 @@
href="{{ $url }}"
target="_blank"
alt="{{ $name | title }}"
rel="me"
rel="me noopener noreferrer"
>{{ partial "icon.html" $name }}</a
>
{{ end }}

View File

@ -17,6 +17,7 @@
class="hover:underline hover:underline-primary-300 hover:text-primary-400"
href="https://gohugo.io/"
target="_blank"
rel="noopener noreferrer"
>Hugo</a
>
&amp;
@ -24,6 +25,7 @@
class="hover:underline hover:underline-primary-300 hover:text-primary-400"
href="https://git.io/hugo-congo"
target="_blank"
rel="noopener noreferrer"
>Congo</a
>
</p>

View File

@ -10,7 +10,7 @@
<nav>
<ul class="flex flex-col list-none sm:flex-row">
{{ range .Site.Menus.main }}
<li class="text-right sm:mr-7 sm:last:mr-0">
<li class="mb-1 text-right sm:mb-0 sm:mr-7 sm:last:mr-0">
<a
class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small"
href="{{ .URL | absURL }}"