1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-27 12:16:21 -04:00
jarv.is/.percy.yml
Jake Jarvis b755b66d19
use preact for common components across site (#663)
* convert GitHub cards grid from lit-html to preact

* give hit counter the preact treatment

* extract loading spinner component to a shared location

* move *some* loading spinner styles to its JSX

* Update .percy.yml

* pick up images in JS w/ webpack

* pull star/fork icons straight from @primer/octicons

* a bit of cleanup

* check `typeof window !== "undefined"` before rendering

* bump misc. deps

* silence missing license warnings for preact-hooks and preact-compat

* add source-map-loader

* Update loading.js
2021-11-24 13:51:29 -05:00

35 lines
660 B
YAML

version: 2
snapshot:
widths:
- 450
- 1050
enable-javascript: true
percy-css: >
div.embed,
iframe,
video,
img[src$=".gif"],
.loading,
#meta-hits,
#contact-form-captcha {
display: none !important;
}
*,
::before,
::after {
animation: none !important;
transition-duration: 0s !important;
transition-delay: 0s !important;
}
static:
include:
- "index.html"
- "uses/index.html"
- "notes/how-to-pull-request-fork-github/index.html"
- "notes/shodan-search-queries/index.html"
- "contact/index.html"
discovery:
network-idle-timeout: 750
disable-cache: true