18 lines
741 B
TypeScript
18 lines
741 B
TypeScript
/** 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 />;
|
||
|
|
}
|