1
Fork 0
mirror of https://github.com/RGBCube/Site synced 2025-07-31 13:07:46 +00:00

lume: move to 3.0

This commit is contained in:
RGBCube 2025-05-29 01:19:31 +03:00
parent f49df20c46
commit 7974d7a806
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
15 changed files with 1142 additions and 4323 deletions

View file

@ -1,7 +1,3 @@
import React, { ReactNode as Node } from "npm:react";
const empty: Node = <></>;
interface CubeProps {
front?: Node;
back?: Node;
@ -105,12 +101,12 @@ const Cube = (props: CubeProps) => (
<div className="scene">
<div className="cube">
<div className="face front">{props.front || empty}</div>
<div className="face back">{props.back || empty}</div>
<div className="face left">{props.left || empty}</div>
<div className="face right">{props.right || empty}</div>
<div className="face top">{props.top || empty}</div>
<div className="face bottom">{props.bottom || empty}</div>
<div className="face front">{props.front}</div>
<div className="face back">{props.back}</div>
<div className="face left">{props.left}</div>
<div className="face right">{props.right}</div>
<div className="face top">{props.top}</div>
<div className="face bottom">{props.bottom}</div>
</div>
</div>