mirror of https://github.com/jpanther/congo.git
⚡️ Improve Lighthouse scores
parent
04be1dc78e
commit
ca5d0bd057
|
@ -10,6 +10,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||
|
||||
- Multilingual support
|
||||
- Right-to-left (RTL) language support
|
||||
- Performance and Accessibility improvements to achieve perfect Lighthouse scores
|
||||
|
||||
### Changed
|
||||
|
||||
|
|
|
@ -2586,10 +2586,6 @@ body a, body button {
|
|||
color: var(--color-primary-400);
|
||||
}
|
||||
|
||||
.dark .dark\:text-neutral-600 {
|
||||
color: var(--color-neutral-600);
|
||||
}
|
||||
|
||||
.dark .dark\:text-neutral-800 {
|
||||
color: var(--color-neutral-800);
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ Rursus nulli murmur; hastile inridet ut ab gravi sententia! Nomine potitus silen
|
|||
|
||||
## Vagus elidunt
|
||||
|
||||
<svg class="canon" xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="373" width="496"><g fill="none"><path stroke="#000" stroke-width=".75" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width=".75" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width=".75" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx=".75" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx=".75" ry="1.25"></ellipse></g></svg>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" overflow="visible" viewBox="0 0 496 373" height="186" width="248"><g fill="none"><path stroke="#000" stroke-width="2" d="M.599 372.348L495.263 1.206M.312.633l494.95 370.853M.312 372.633L247.643.92M248.502.92l246.76 370.566M330.828 123.869V1.134M330.396 1.134L165.104 124.515"></path><path stroke="#ED1C24" stroke-width="2" d="M275.73 41.616h166.224v249.05H275.73zM54.478 41.616h166.225v249.052H54.478z"></path><path stroke="#000" stroke-width="2" d="M.479.375h495v372h-495zM247.979.875v372"></path><ellipse cx="498.729" cy="177.625" rx="2" ry="1.25"></ellipse><ellipse cx="247.229" cy="377.375" rx="2" ry="1.25"></ellipse></g></svg>
|
||||
|
||||
[The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon)
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
</p>
|
||||
{{/* Theme attribution */}}
|
||||
{{ if .Site.Params.attribution | default true }}
|
||||
<p class="text-xs text-neutral-400 dark:text-neutral-600">
|
||||
<p class="text-xs text-neutral-500 dark:text-neutral-400">
|
||||
{{ $hugo := printf `<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500"
|
||||
href="https://gohugo.io/" target="_blank" rel="noopener noreferrer">Hugo</a>` }}
|
||||
{{ $congo := printf `<a class="hover:underline hover:decoration-primary-400 hover:text-primary-500" href="https://git.io/hugo-congo" target="_blank" rel="noopener noreferrer">Congo</a>` }}
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
{{ if eq (.Site.Params.darkMode | default "auto") "auto" }}
|
||||
{{ $darkJS := resources.Get "js/dark.js" }}
|
||||
{{ $darkJS := $darkJS | resources.Minify | resources.Fingerprint "sha512" }}
|
||||
<script type="text/javascript" src="{{ $darkJS.RelPermalink }}" integrity="{{ $darkJS.Data.Integrity }}"></script>
|
||||
<script defer type="text/javascript" src="{{ $darkJS.RelPermalink }}" integrity="{{ $darkJS.Data.Integrity }}"></script>
|
||||
{{ end }}
|
||||
{{/* Icons */}}
|
||||
{{ if templates.Exists "partials/favicons.html" }}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
module.exports = {
|
||||
ci: {
|
||||
collect: {
|
||||
startServerCommand: "npm run example",
|
||||
startServerCommand: "npm run example -- --disableLiveReload --minify",
|
||||
startServerReadyPattern: "Web Server is available",
|
||||
url: ["http://localhost:8008/congo/samples/markdown/"],
|
||||
url: ["http://localhost:8008/congo/samples/placeholder-text/"],
|
||||
},
|
||||
upload: {
|
||||
target: "temporary-public-storage",
|
||||
|
|
|
@ -1 +1 @@
|
|||
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}
|
||||
{"name":"Congo","short_name":"Congo","icons":[{"src": "/android-chrome-192x192.png","sizes": "192x192","type": "image/png","purpose": "any maskable"},{"src": "/android-chrome-512x512.png","sizes": "512x512","type": "image/png","purpose": "any maskable"}],"theme_color":"#ffffff","background_color":"#7c3aed","display":"standalone"}
|
Loading…
Reference in New Issue