️ 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; margin-bottom: 2px;
} }
.mb-1 {
margin-bottom: 0.25rem;
}
.block { .block {
display: block; display: block;
} }
@ -2685,6 +2689,10 @@ body a, body button {
margin-right: 1.75rem; margin-right: 1.75rem;
} }
.sm\:mb-0 {
margin-bottom: 0px;
}
.sm\:w-1\/2 { .sm\:w-1\/2 {
width: 50%; 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. 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 }}" href="{{ $url }}"
target="_blank" target="_blank"
alt="{{ $name | title }}" alt="{{ $name | title }}"
rel="me" rel="me noopener noreferrer"
>{{ partial "icon.html" $name }}</a >{{ partial "icon.html" $name }}</a
> >
{{ end }} {{ end }}

View File

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

View File

@ -10,7 +10,7 @@
<nav> <nav>
<ul class="flex flex-col list-none sm:flex-row"> <ul class="flex flex-col list-none sm:flex-row">
{{ range .Site.Menus.main }} {{ 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 <a
class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small" class="hover:underline hover:underline-primary-500 hover:underline-thickness-bold hover:underline-offset-small"
href="{{ .URL | absURL }}" href="{{ .URL | absURL }}"