Files
aragrp/components/page-atmosphere.tsx
T

18 lines
741 B
TypeScript
Raw Normal View History

/** Fixed ambient layers shared by the whole page — sections must not own atmosphere. */
export function PageAtmosphere() {
return (
<div className="page-atmosphere" aria-hidden>
<div className="page-atmosphere__gradient" />
<div className="page-atmosphere__light page-atmosphere__light--primary" />
<div className="page-atmosphere__light page-atmosphere__light--secondary" />
<div className="page-atmosphere__light page-atmosphere__light--tertiary" />
<div className="page-atmosphere__noise" />
</div>
);
}
/** Scroll-linked square grid with breathing visibility — lives inside `.page-content`. */
export function PageGrid() {
return <div className="page-atmosphere__grid" aria-hidden />;
}