diff --git a/src/components/Navbar.jsx b/src/components/Navbar.jsx
new file mode 100644
index 0000000..d889fed
--- /dev/null
+++ b/src/components/Navbar.jsx
@@ -0,0 +1,88 @@
+import React, { useState } from "react";
+import { Link } from "react-router-dom";
+import logo from "../assets/logo_light_46.png";
+import { SideSheet } from "@douyinfe/semi-ui";
+import { IconMenu } from "@douyinfe/semi-icons";
+
+export default function Navbar() {
+ const [openMenu, setOpenMenu] = useState(false);
+
+ return (
+ <>
+
+
+
+

+
+
+
+ Features
+
+
+ Editor
+
+
+ Templates
+
+
+ Download
+
+
+
+
+
+ Log in
+
+
+ Sign up
+
+
+
+
+
+ }
+ visible={openMenu}
+ onCancel={() => setOpenMenu(false)}
+ width={window.innerWidth}
+ >
+
+ Features
+
+
+
+ Editor
+
+
+
+ Templates
+
+
+
+ Download
+
+
+
+ Log in
+
+
+ >
+ );
+}
diff --git a/src/pages/LandingPage.jsx b/src/pages/LandingPage.jsx
index 4baef28..d4bb25c 100644
--- a/src/pages/LandingPage.jsx
+++ b/src/pages/LandingPage.jsx
@@ -1,14 +1,16 @@
import React, { useState, useEffect } from "react";
import { Link } from "react-router-dom";
import { IconCrossStroked } from "@douyinfe/semi-icons";
-import logo from "../assets/logo_light_46.png";
+import Navbar from "../components/Navbar";
export default function LandingPage() {
const [showSurvey, setShowSurvey] = useState(true);
- useEffect(()=>{
- document.title = "drawDB | Online database diagram editor and SQL generator"
- })
+ useEffect(() => {
+ document.body.setAttribute("theme-mode", "light");
+ document.title =
+ "drawDB | Online database diagram editor and SQL generator";
+ });
return (
@@ -24,42 +26,7 @@ export default function LandingPage() {
)}
-
-
-
-
-

-
-
- Features
-
-
- Editor
-
-
- Templates
-
-
- Download
-
-
-
-
- Log in
-
-
- Sign up
-
-
-
-
-
+
);
}