A dark one-page website for a freediving school where scrolling is the dive: a diver sinks down the line past depth-tagged sections as live water darkens around them.
React + HTML
$69
페이지 주소: /
아래에 더 있어요 ↓
기본 제공
제공 내용
다크 전용어두운 페이지용
데스크톱, 태블릿 및 휴대폰지원하는 화면
패키지…
코드 크기…
배터리 절약30 fps, 멈춰 있을 땐 대기
숨겨지면 일시 정지화면 밖 또는 다른 탭
모션 줄이기원하는 사용자에겐 차분하게
변경할 때마다 검사
타입 검사TypeScript strict 모드
린트 및 포맷ESLint · Prettier
테스트 및 빌드라이트/다크 스크린샷
보안 감사높음 또는 심각 등급 권고 없음
패키지 공개 기간모든 버전 공개 후 7일 이상
대기 시 CPU대기 시 코어 절반 미만, 30 fps 이하
코드
이 템플릿에 이상한 점이 있나요? 피드백 보내기 ›
freedive-descentHTML
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 school at 5 m: what it is and how it teaches, then three numbers that count up.
breath.csssectionThe pause at 20 m, where free fall begins: a lone diver sinking through a shaft of light, and a quote about letting the water take over.
contact.csssectionThe last stop, at 38 m, just above the bottom plate: the bay as a sea chart with how to reach us, and the booking form.
contact.jssectionThe booking form: checks name and email on send, sends with send.js, then shows what happens next or the couldn't-send line.
courses.csssectionThe courses at 10 m: every level in a carousel, the chosen one centered and lit, its neighbours dimmed on either side.
courses.jssectionThe course carousel: arrows, the dots, arrow keys, a swipe or a click on a dimmed card moves along.
faq.csssectionThe questions people ask before their first dive, at 32 m: an accordion, one answer open at a time.
faq.jssectionThe questions as an accordion: one answer open at a time, sliding open and shut.
footer.csssectionThe footer, below the bottom plate: the school, the section links and a way back up.
hero.csssectionThe first screen, at 0 m: the giant headline set on the water under the buoy, sinking into place word by word on load.
nav.csssectionThe top bar: frosted water that 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.
team.csssectionThe instructors at 26 m: a drawn portrait each, ringed by their deepest dive, which counts up as the ring draws.
trips.csssectionThe trips at 15 m, set like a tide table: one row per trip with its dates, place, length, price and the places still free.
partspartsWhat several sections share.
count-up.jspartCounts every [data-count-up] number up from zero the first time it scrolls into view (About, Team).
descent.csspartThe dive: the water behind the page, the line from the buoy to the bottom plate, the diver, the depth gauge, the pause button and the fade-in of each section.
descent.jspartThe dive: moves the diver down the line as you scroll, works out the depth for the gauge and the water, fades sections in and runs the pause button.
motion.jspartThe motion helpers the other scripts share, as the page's one global: window.freediveDescent.
page.csspartWhat every section shares: the reset, the page column, section titles and stops, the buttons, links and the focus ring.
water.jspartThe water behind the page: the WebGL2 shader on the fixed canvas, darkening as the diver goes deeper.
index.html
The page and all its text, one marked block per section.
불러오는 중…
이럴 때 좋아요
Freediving and scuba schools, dive centres and other ocean businesses that sell courses, trips and a team.
작동 방식
As you scroll, a diver swims down a line, a gauge counts the meters and the shader water darkens. Courses slide, answers open.
사용 방법
index.html을 열거나, 폴더를 아무 정적 서버에 올리세요. 문구는 index.html에, 색상과 폰트는 theme.css에, 폼 전송 함수는 send.js에 있어요. 나머지는 README.md의 Plain HTML 부분을 참고하세요.