feat(docs): migrate documentation site into monorepo (#5912)
This commit is contained in:
1 parent
3e464a76f2
commit
9e421c67bd
605 files changed
+26764
-219
No files matched your search
@@ -0,0 +1,26 @@
|
||||
import videoLight from "./showcase-light.mp4";
|
||||
import videoDark from "./showcase-dark.mp4";
|
||||
import { IconClick } from "@tabler/icons-react";
|
||||
import { SectionContainer } from "@site/src/components/pages/home/container/section-container";
|
||||
import { useColorMode } from "@docusaurus/theme-common";
|
||||
|
||||
export const DragAndDropShowcase = () => {
|
||||
const { colorMode } = useColorMode();
|
||||
const video = colorMode === "dark" ? videoDark : videoLight;
|
||||
return (
|
||||
<div className={"my-24"}>
|
||||
<SectionContainer className={"relative max-w-5xl"}>
|
||||
<h2 className={"lg:text-5xl text-3xl font-extrabold text-center mb-12"}>Easy setup using drag and drop</h2>
|
||||
<div className={"absolute top-0 right-0 translate-x-10 translate-y-8 hidden lg:block"}>
|
||||
<IconClick size={120} />
|
||||
</div>
|
||||
<div
|
||||
className={"rounded-3xl overflow-hidden border-8 border-red-500 border-solid"}
|
||||
style={{ aspectRatio: "17.6/9" }}
|
||||
>
|
||||
<video className={"w-full"} src={video} autoPlay loop muted />
|
||||
</div>
|
||||
</SectionContainer>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user