A dark one-page website for an electrician, lit by a single bare filament: services as a circuit chart, a 24/7 call band, jobs drawn as wiring plans and a quote form.
React + HTML
$69
Endereço da página: /
Mais abaixo ↓
Já incluído
O que você recebe
Só escuroFeito para uma página escura
Desktop, tablet e celularAs telas para as quais foi feito
Pacotes…
Tamanho do código…
Leve para a bateria30 fps, em repouso quando parado
Pausa quando ocultoFora da tela ou em outra aba
Reduzir movimentoCalmo para quem pede
Verificado a cada mudança
Verificação de tiposTypeScript strict
Lint e formataçãoESLint · Prettier
Testes e buildCapturas de tela claras e escuras
Auditoria de segurançaSem alertas de gravidade alta ou crítica
Idade dos pacotesToda versão pública há 7+ dias
CPU em repousoMenos de meio núcleo em repouso, ≤ 30 fps
Código
Algo errado com este modelo? Enviar feedback ›
electrician-glowHTML
index.htmlpageThe page and all its text, one marked block per section.
theme.cssthemeThe colors and fonts in one place.
send.jsformThe one function the form calls: plug in your form endpoint here.
sectionssectionsOne file per page section.
about.csssectionThe story, three numbers that count up, and the company's details set on a riveted rating plate.
emergency.csssectionThe band for the night something trips: one number, and what calling it costs, so nobody has to guess at 2am.
footer.csssectionThe footer: the brand and its area, three columns of links, and the legal line.
hero.csssectionThe first screen: a bare filament hanging from the top edge is the only light on the page, the giant headline beneath it.
hero.jssectionThe hero lamp: draws the coiled filament, strikes the headline up like a tube on load, and runs the wall switch. Also rests your background's drift off screen.
nav.csssectionThe top bar: stays at the top while you scroll, folds its links into a menu on narrow screens.
nav.jssectionThe top bar's menu on narrow screens: opens and closes, closes on Escape and when a link in it is picked.
process.csssectionThe four steps of a job, joined by one wire: across on wide screens, down the side on narrow ones.
quote.csssectionThe quote section: the form, or once it's sent, what happens next, with the other ways to reach the business beside it.
quote.jssectionThe quote form: checks each required field, sends with send.js, then shows what happens next or the couldn't-send line.
reviews.csssectionWhat customers say: the score counted up, one long review set large and two short ones beside it.
services.csssectionThe services as the circuit chart inside a fuse board door: one row per circuit, its price where the rating goes.
work.csssectionRecent jobs, each shown as the plan it was wired from on squared paper, the new circuit in the accent color.
work.jssectionThe job plans: each draws itself like a pen the first time it scrolls into view.
partspartsWhat several sections share.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (About, Reviews).
live-wire.csspartThe live wire down the left of the page, and where each section joins it: a terminal, its circuit label and a top edge.
live-wire.jspartThe live wire: draws itself down the page as you scroll, a spark rides its tip, and every section it reaches powers on.
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.electricianGlow.
page.csspartWhat every section shares: the reset, the page column, section titles, the two buttons and the focus ring.
index.html
The page and all its text, one marked block per section.
Carregando…
Ideal para
Electricians and other local trades that want a full website: services, emergency number, past jobs, reviews and quotes.
Como funciona
The filament warms up on load and a wall switch turns it off. The quote form checks name, phone and ZIP code, then shows what happens next.
Como usar
Abra o index.html ou coloque a pasta em qualquer servidor estático. Os textos estão em index.html, as cores e fontes em theme.css e a função de envio do formulário em send.js. O restante está na parte Plain HTML do README.md.