diff --git a/webapp/src/App.css b/webapp/src/App.css index e69de29..8b13789 100644 --- a/webapp/src/App.css +++ b/webapp/src/App.css @@ -0,0 +1 @@ + diff --git a/webapp/src/App.jsx b/webapp/src/App.jsx index d978093..f01cb0d 100644 --- a/webapp/src/App.jsx +++ b/webapp/src/App.jsx @@ -6,19 +6,24 @@ import LocalVariable from "./components/GdbComponents/LocalVariable/LocalVariabl import Context from "./components/GdbComponents/Context/Context"; import MemoryMap from "./components/GdbComponents/MemoryMap/MemoryMap"; import BreakPoints from "./components/GdbComponents/BreakPoints/BreakPoints"; +import Footer from "./components/Footer/Footer"; const App = () => { return ( - - }> - } /> - } /> - } /> - } /> - } /> - - {/* You can add more routes here */} - +
+ + }> + } /> + } /> + } /> + } /> + } /> + + {/* You can add more routes here */} + + +
); }; diff --git a/webapp/src/components/Footer/Footer.css b/webapp/src/components/Footer/Footer.css new file mode 100644 index 0000000..e740024 --- /dev/null +++ b/webapp/src/components/Footer/Footer.css @@ -0,0 +1,7 @@ +.footer-container { + display: flex; + justify-content: center; + align-items: center; + margin-top: 30px; + background-color: rgb(2, 12, 22); +} diff --git a/webapp/src/components/Footer/Footer.jsx b/webapp/src/components/Footer/Footer.jsx new file mode 100644 index 0000000..00bd42a --- /dev/null +++ b/webapp/src/components/Footer/Footer.jsx @@ -0,0 +1,12 @@ +import React from "react"; +import "./Footer.css"; + +const Footer = () => { + return ( +
+

Designed & Built with 💖 by Shubh Mehta

+
+ ); +}; + +export default Footer; diff --git a/webapp/src/components/Functions/Functions.css b/webapp/src/components/Functions/Functions.css index d8b9052..227a8e8 100644 --- a/webapp/src/components/Functions/Functions.css +++ b/webapp/src/components/Functions/Functions.css @@ -1,6 +1,6 @@ .functions-parent { display: flex; - height: 70vh; + height: 100vh; padding: 10px; flex-direction: column; align-items: center; @@ -21,7 +21,7 @@ /* width: 100%; */ display: flex; padding: 10px; - height: 57vh; + height: 87vh; flex-direction: column; align-items: flex-start; gap: 11px; diff --git a/webapp/src/components/FunctionsBottom/FunctionsBottom.css b/webapp/src/components/FunctionsBottom/FunctionsBottom.css new file mode 100644 index 0000000..5d91c73 --- /dev/null +++ b/webapp/src/components/FunctionsBottom/FunctionsBottom.css @@ -0,0 +1,24 @@ +.function-bottom { + display: flex; + flex-direction: column; + gap: 10px; + border: 1px solid var(--Gray-2, #4f4f4f); + padding: 10px 10px 10px 10px; +} +.function-bottom-heading { + display: flex; + width: 321px; + padding: 6px 12px; + justify-content: center; + align-items: center; + gap: 10px; + background: var(--primary-orange, #e88f40); +} +.function-bottom-container { + display: flex; + width: 322px; + height: 25px; + padding: 5px 10px; + justify-content: space-between; + align-items: center; +} diff --git a/webapp/src/components/FunctionsBottom/FunctionsBottom.jsx b/webapp/src/components/FunctionsBottom/FunctionsBottom.jsx new file mode 100644 index 0000000..7165203 --- /dev/null +++ b/webapp/src/components/FunctionsBottom/FunctionsBottom.jsx @@ -0,0 +1,19 @@ +import React from "react"; +import "./FunctionsBottom.css"; + +const FunctionsBottom = () => { + return ( +
+
Search
+
+ +
+
+ ); +}; + +export default FunctionsBottom; diff --git a/webapp/src/components/GdbComponents/BreakPoints/BreakPoints.jsx b/webapp/src/components/GdbComponents/BreakPoints/BreakPoints.jsx index f6552b6..956c8bb 100644 --- a/webapp/src/components/GdbComponents/BreakPoints/BreakPoints.jsx +++ b/webapp/src/components/GdbComponents/BreakPoints/BreakPoints.jsx @@ -23,7 +23,7 @@ const data = [ const BreakPoints = () => { return (
- BreakPoints + {/* BreakPoints */}
{data?.length > 0 ? data.map((obj) => { diff --git a/webapp/src/components/GdbComponents/Context/Context.jsx b/webapp/src/components/GdbComponents/Context/Context.jsx index 353294f..c0eee6e 100644 --- a/webapp/src/components/GdbComponents/Context/Context.jsx +++ b/webapp/src/components/GdbComponents/Context/Context.jsx @@ -4,7 +4,7 @@ import "./Context.css"; const Context = () => { return (
- Context + {/* Context */}
$ cat /proc/24963/maps ... lots of stuff omitted ... diff --git a/webapp/src/components/GdbComponents/LocalVariable/LocalVariable.jsx b/webapp/src/components/GdbComponents/LocalVariable/LocalVariable.jsx index 71da012..00eae39 100644 --- a/webapp/src/components/GdbComponents/LocalVariable/LocalVariable.jsx +++ b/webapp/src/components/GdbComponents/LocalVariable/LocalVariable.jsx @@ -4,7 +4,7 @@ import "./LocalVariable.css"; const LocalVariable = () => { return (
- LocalVariable + {/* LocalVariable */}
RAD_T 0.214124123 const double angle 380 double diff --git a/webapp/src/components/GdbComponents/MemoryMap/MemoryMap.jsx b/webapp/src/components/GdbComponents/MemoryMap/MemoryMap.jsx index 5dc630c..9a8b5a7 100644 --- a/webapp/src/components/GdbComponents/MemoryMap/MemoryMap.jsx +++ b/webapp/src/components/GdbComponents/MemoryMap/MemoryMap.jsx @@ -14,7 +14,7 @@ const data = [ const MemoryMap = () => { return (
- MemoryMap + {/* MemoryMap */}
{data?.length > 0 ? data.map((obj) => { diff --git a/webapp/src/components/GdbComponents/Threads/Threads.jsx b/webapp/src/components/GdbComponents/Threads/Threads.jsx index 38e4e72..f84999f 100644 --- a/webapp/src/components/GdbComponents/Threads/Threads.jsx +++ b/webapp/src/components/GdbComponents/Threads/Threads.jsx @@ -43,7 +43,7 @@ const data = [ const Threads = () => { return (
- Threads + {/* Threads */}
func
diff --git a/webapp/src/components/Stack/Stack.css b/webapp/src/components/Stack/Stack.css index 8a4f3dc..55cc703 100644 --- a/webapp/src/components/Stack/Stack.css +++ b/webapp/src/components/Stack/Stack.css @@ -1,6 +1,6 @@ .stack-parent { display: flex; - height: 60vh; + height: 90vh; width: 210px; padding: 10px; flex-direction: column; diff --git a/webapp/src/components/StackBottom/StackBottom.css b/webapp/src/components/StackBottom/StackBottom.css new file mode 100644 index 0000000..729579f --- /dev/null +++ b/webapp/src/components/StackBottom/StackBottom.css @@ -0,0 +1,25 @@ +.stackbottom-container { + display: flex; + width: 190px; + height: 159px; + padding: 15px 20px; + flex-direction: column; + align-items: flex-start; + gap: 10px; + border: 1px solid var(--Gray-2, #4f4f4f); + background: #1e1e1e; +} +.stackbottom-maincomponent { + overflow-x: scroll; + width: 190px; + height: 139px; +} +.stackbottom-heading { + display: flex; + width: 169px; + padding: 6px 12px; + justify-content: center; + align-items: center; + gap: 10px; + background: var(--primary-orange, #e88f40); +} diff --git a/webapp/src/components/StackBottom/StackBottom.jsx b/webapp/src/components/StackBottom/StackBottom.jsx new file mode 100644 index 0000000..dfb9209 --- /dev/null +++ b/webapp/src/components/StackBottom/StackBottom.jsx @@ -0,0 +1,22 @@ +import React from "react"; +import "./StackBottom.css"; + +const StackBottom = () => { + return ( +
+
+
Registors
+
+
+
func
+
file
+
addr
+
args
+
+
+
+
+ ); +}; + +export default StackBottom; diff --git a/webapp/src/components/Terminal/TerminalComp.jsx b/webapp/src/components/Terminal/TerminalComp.jsx index 275df44..7fa2b1f 100644 --- a/webapp/src/components/Terminal/TerminalComp.jsx +++ b/webapp/src/components/Terminal/TerminalComp.jsx @@ -11,7 +11,7 @@ const TerminalComp = () => { themes={{ "my-custom-theme": { themeBGColor: "#000", - themeToolbarColor: "#DBDBDB", + themeToolbarColor: "#000", themeColor: "#FFFEFC", themePromptColor: "#a917a8", }, diff --git a/webapp/src/pages/Debug/Debug.css b/webapp/src/pages/Debug/Debug.css index 726afed..22f7094 100644 --- a/webapp/src/pages/Debug/Debug.css +++ b/webapp/src/pages/Debug/Debug.css @@ -27,3 +27,15 @@ align-items: flex-start; gap: 15px; } +.right-part { + display: flex; + + flex-direction: column; + gap: 10px; +} +.left-part { + display: flex; + + flex-direction: column; + gap: 10px; +} diff --git a/webapp/src/pages/Debug/Debug.jsx b/webapp/src/pages/Debug/Debug.jsx index f7695c8..ebbd649 100644 --- a/webapp/src/pages/Debug/Debug.jsx +++ b/webapp/src/pages/Debug/Debug.jsx @@ -8,6 +8,8 @@ import Stack from "../../components/Stack/Stack"; import TerminalComp from "../../components/Terminal/TerminalComp"; import GdbComponents from "../../components/GdbComponents/GdbComponents"; import Breakpoint from "../../components/Breakpoint/Breakpoint"; +import StackBottom from "../../components/StackBottom/StackBottom"; +import FunctionsBottom from "../../components/FunctionsBottom/FunctionsBottom"; const Debug = () => { return ( @@ -15,7 +17,10 @@ const Debug = () => {
- +
+ + +
@@ -26,7 +31,10 @@ const Debug = () => {
- +
+ + +
);