{
position: "relative",
width: "100%",
display: "flex",
- justifyContent: "center",
- margin: "3rem 0",
+ flexWrap: "wrap",
+ justifyContent: "space-evenly",
+ margin: "2rem 0",
...style,
}}
>
-
+ >
+
+ {variant === "react" ? (
+ Stack && (
+
+ )
+ ) : (
+
+ )}
+
+ {
+ {
+ react: "React",
+ solid: "Solid",
+ }[variant]
+ }
+
+ ))}
);
};
diff --git a/docs/package.json b/docs/package.json
index 7d93c4276..900063456 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -13,6 +13,7 @@
"@mdx-js/react": "^3.0.1",
"@stackflow/core": "^1.0.10",
"@stackflow/demo": "^1.2.21",
+ "@stackflow/demo-solid": "^1.2.21",
"@stackflow/eslint-config": "^1.0.2",
"@stackflow/plugin-basic-ui": "^1.7.0",
"@stackflow/plugin-history-sync": "^1.5.0",
diff --git a/docs/pages/_app.mdx b/docs/pages/_app.mdx
index 55c37a098..23aaff277 100644
--- a/docs/pages/_app.mdx
+++ b/docs/pages/_app.mdx
@@ -1,5 +1,6 @@
import "nextra-theme-docs/style.css";
import "@stackflow/demo/style.css";
+import "@stackflow/demo-solid/style.css";
import "@stackflow/plugin-basic-ui/index.css";
import "@seed-design/stylesheet/global.css";
import "react-lazy-load-image-component/src/effects/opacity.css";
diff --git a/docs/pages/index.mdx b/docs/pages/index.mdx
index 5455095f6..9130bbafd 100644
--- a/docs/pages/index.mdx
+++ b/docs/pages/index.mdx
@@ -3,7 +3,7 @@ import Demo from "../components/Demo.tsx";
# Stackflow 시작하기
-