diff --git a/src/App.js b/src/App.js index add60c0..1a7052f 100644 --- a/src/App.js +++ b/src/App.js @@ -1,6 +1,7 @@ import { BrowserRouter as Router, Routes, Route } from "react-router-dom"; import Editor from "./pages/editor"; import LandingPage from "./pages/landing_page"; +import Survey from "./pages/survey"; function App() { return ( @@ -9,6 +10,7 @@ function App() { } /> } /> + } /> diff --git a/src/assets/logo_light_46.png b/src/assets/logo_light_46.png new file mode 100644 index 0000000..966ffac Binary files /dev/null and b/src/assets/logo_light_46.png differ diff --git a/src/pages/landing_page.jsx b/src/pages/landing_page.jsx index 7f44b8d..7e8fd4a 100644 --- a/src/pages/landing_page.jsx +++ b/src/pages/landing_page.jsx @@ -1,12 +1,53 @@ -import React from "react"; +import React, { useState } from "react"; import { Link } from "react-router-dom"; +import { IconCrossStroked } from "@douyinfe/semi-icons"; +import logo from "../assets/logo_light_46.png"; export default function LandingPage() { + const [showSurvey, setShowSurvey] = useState(true); + return (
- editor -
- LandingPage + {showSurvey && ( +
+ + Help us improve! Share your feedback. + +
+ +
+
+ )} +
+
+
+ + logo + + + Features + + + Editor + + + Templates + + + Download + +
+ +
+
+
); } diff --git a/src/pages/survey.jsx b/src/pages/survey.jsx new file mode 100644 index 0000000..031e8a8 --- /dev/null +++ b/src/pages/survey.jsx @@ -0,0 +1,5 @@ +import React from "react"; + +export default function Survey() { + return
Survey
; +}