import { JSX } from "preact";
import { DisappearOnClick, Main, render_and_copy, slidify } from "./common.tsx";
const Slide = ({
slide,
next,
n,
max,
}: {
slide: JSX.Element;
next?: JSX.Element;
n: number;
max: number;
}) =>
next ? (
{slide}
{/* prob going to change this back to just n/max */}
{n == max ? (
thank you so much for reading!
) : (
{n}/{max}
)}
{next}
) : (
{slide}
);
// let 'em click to get rid of stuff
// show that the names don't matter, their just symbols etc
// (use homestuck pictures)
render_and_copy(
{slidify(Slide, [
<>homestuck>,
<>is cool>,
<>
bla bla this WILL disappear{" "}
bla
>,
<>
bla bla this WILL disappear{" "}
bla
>,
<>
bla bla this WILL disappear{" "}
bla
>,
<>
bla bla this WILL disappear{" "}
bla
>,
<>
bla bla this WILL disappear{" "}
bla
>,
<>
bla bla this WILL disappear{" "}
bla
>,
<>
bla bla this WILL disappear{" "}
bla
>,
<>
bla bla this WILL disappear{" "}
bla
>,
<>
bla bla this WILL disappear{" "}
bla
>,
<>
bla bla this WILL disappear{" "}
bla
>,
])}
);