diff --git a/index.html b/index.html
index 2e6ba4c..7385258 100644
--- a/index.html
+++ b/index.html
@@ -1,13 +1,13 @@
-
+
+
-
+
);
}
@@ -12,7 +28,7 @@ function Logo() {
return (
LOGO
@@ -20,27 +36,69 @@ function Logo() {
);
}
-function Menu() {
+function Menu(props: { onClickLogin: () => void }) {
return (
-
-
定价
-
注册/登录
-
-
+
+ 定价
+
+
+ 注册/登录
+
+
+ );
+}
+
+function FileButton(props: { openLogin: () => void }) {
+ return (
+
+
+
+
+ );
+}
+
+function Drawer(props: { hidden: boolean; setHidden: () => void }) {
+ return props.hidden ? (
+ <>>
+ ) : (
+
+
{
+ console.log("hidden");
+ props.setHidden();
+ }}
+ >
+
+
+ );
+}
+
+function LoginContent() {
+ return (
+
+
+
);
}