diff --git a/web-app/src/App.css b/web-app/src/App.css index c2e3f9a..5e6644c 100644 --- a/web-app/src/App.css +++ b/web-app/src/App.css @@ -21,11 +21,13 @@ body { } nav { + display: flex; width: auto; height: 4vh; - display: flex; + flex-direction: row; background: var(--main-bg-color); align-items: center; + justify-content: space-between; padding: 12px; border-radius: 12px; margin: 5px; @@ -60,6 +62,16 @@ li { padding: 0 19px; } +#sidebarControls{ + display: flex; + align-items: center; +} + +#sidebarSettings{ + display: flex; + align-items: center; +} + .dropdown-trigger-btn { display: inline-flex; border-radius: 3px; @@ -307,6 +319,7 @@ li { } .welcomePage { + width: 92vw; padding: 2vw; background-color: var(--welcome-page); } diff --git a/web-app/src/App.jsx b/web-app/src/App.jsx index 16f7cd7..663d2b6 100644 --- a/web-app/src/App.jsx +++ b/web-app/src/App.jsx @@ -1,4 +1,4 @@ -import React, { useState } from "react"; +import React, { useState } from 'react'; import "./App.css"; import MenuBar from "./components/MenuBar/MenuBar.jsx"; import MonacoEditor from "./components/Editor/MonacoEditor.jsx"; @@ -15,8 +15,9 @@ import Debug from "./components/SideBar/Main Components/Debug/Debug.jsx"; import CodeBlocks from "./components/SideBar/Main Components/Code Blocks/CodeBlocks.jsx"; import Git from "./components/SideBar/Main Components/Git/Git.jsx"; import DefaultPage from "./components/DefaultPage/DefaultPage.jsx"; +import WelcomePage from "./components/WelcomePage/WelcomePage.jsx" -function App(props) { +function App() { let [ariaExpandedisplayfilepioneer, changeariaExpandedisplayfilepioneer] = useState('none'); let [ariaExpandedisplaysearch, changeariaExpandedisplaysearch] = useState('none'); let [ariaExpandedisplaycodeblocks, changeariaExpandedisplaycodeblocks] = useState('none'); @@ -287,61 +288,8 @@ function App(props) {
+ -
diff --git a/web-app/src/components/MenuBar/MenuBar.jsx b/web-app/src/components/MenuBar/MenuBar.jsx index f044fb0..3615d19 100644 --- a/web-app/src/components/MenuBar/MenuBar.jsx +++ b/web-app/src/components/MenuBar/MenuBar.jsx @@ -16,169 +16,176 @@ function MenuBar(props) { <>
diff --git a/web-app/src/components/WelcomePage/WelcomePage.jsx b/web-app/src/components/WelcomePage/WelcomePage.jsx new file mode 100644 index 0000000..333d22d --- /dev/null +++ b/web-app/src/components/WelcomePage/WelcomePage.jsx @@ -0,0 +1,62 @@ +import React from 'react' + +function welcomePage(props) { + return ( +
+
+

Welcome back to Tilder!

+

Code like a pro!

+
+
+

Quick Links

+ +
+
+ ) +} + +export default welcomePage \ No newline at end of file