diff --git a/src/App/DevResultGraph.jsx b/src/App/DevResultGraph.jsx new file mode 100644 index 0000000..74e40ac --- /dev/null +++ b/src/App/DevResultGraph.jsx @@ -0,0 +1,196 @@ +const devGraphStyles = { + header: { + display: "flex", + justifyContent: "center", + alignItems: "center", + height: "100%", + width: "100%", + fontSize: "2rem", + }, + body: { + width: "100%", + margin: "10px", + padding: "10px", + }, + svgWrapper: { + display: "flex", + justifyContent: "center", + alignItems: "center", + height: "100%", + width: "100%", + }, + svgWrapperText: { + display: "flex", + justifyContent: "center", + alignItems: "center", + height: "100%", + width: "100%", + fontSize: "12px", + FontStyle: "italic", + }, + svgStyle: { + width: "800", + height: "340", + border: "1px solid #ccc", + padding: "10px", + margin: "10px", + }, + lineStyle1: { + fill: "none", + stroke: "blue", + strokeWidth: "3", + }, + lineStyle2: { + fill: "none", + stroke: "red", + strokeWidth: "3", + }, + lineStyle3: { + fill: "none", + stroke: "green", + strokeWidth: "3", + }, + lineStyle4: { + fill: "none", + stroke: "orange", + strokeWidth: "3", + }, + lineStyle5: { + fill: "none", + stroke: "purple", + strokeWidth: "3", + }, + axisStyleMain: { + fill: "none", + stroke: "black", + shapeRendering: "crispEdges", + strokeWidth: "2", + }, + axisStyleCross: { + fill: "none", + stroke: "black", + shapeRendering: "crispEdges", + strokeWidth: ".5", + }, + freeTierBack: { + fill: "lightgreen", + stroke: "none", + opacity: ".5", + width: "700px", + height: "145px", + }, + tierOneBack: { + fill: "lightblue", + stroke: "none", + opacity: ".5", + width: "700px", + height: "80px", + }, + tiertwoBack: { + fill: "red", + stroke: "none", + opacity: ".3", + width: "700px", + height: "60px", + }, + textStyle: { + fontSize: "12px", + }, + textStyle1: { + fontSize: "14px", + stroke: "blue", + }, + textStyle2: { + fontSize: "14px", + stroke: "red", + }, + textStyle3: { + fontSize: "14px", + stroke: "green", + }, + textStyle4: { + fontSize: "14px", + stroke: "orange", + }, + textStyle5: { + fontSize: "14px", + stroke: "purple", + }, + circleStyle: { + fill: "black", + }, + }; + +return ( +
+
+ + {/* Y-axis */} + + + {/* Background boxes by tier */} + + + + {/* Veritical Labels & Lines */} + 250k + + 200k + + 150k + + 100k + + 80k + + 60k + + 40k + + 20k + + 10k + + 5k + + 1k + + 500 + + 250 + + 100 + + 0 + + + {/* X-axis */} + + + {/* Horizontal Labels */} + Phase1 + Phase2 + Phase3 + Phase4 + Phase5 + + + {/* Line Graph */} + + + + + + + {/* Data Points */} + + + + + + + +
+
Vertical = requests per month. Horizontal = phases of project.
+
+) diff --git a/src/App/DevResultPage.jsx b/src/App/DevResultPage.jsx index 21ad6ee..b80a5a6 100644 --- a/src/App/DevResultPage.jsx +++ b/src/App/DevResultPage.jsx @@ -1,194 +1,37 @@ -const devResultStyles = { - header: { +const devLayoutStyles = { + row: { display: "flex", - justifyContent: "center", + flexDirection: "row", + justifyContent: "space-around", alignItems: "center", - height: "100%", - width: "100%", - fontSize: "2rem", - }, - body: { - width: "100%", - margin: "10px", padding: "10px", }, - svgWrapper: { + column: { display: "flex", - justifyContent: "center", - alignItems: "center", - height: "100%", - width: "100%", - }, - svgWrapperText: { - display: "flex", - justifyContent: "center", - alignItems: "center", - height: "100%", - width: "100%", - fontSize: "12px", - FontStyle: "italic", - }, - svgStyle: { - width: "800", - height: "340", - border: "1px solid #ccc", - padding: "10px", - margin: "10px", - }, - lineStyle1: { - fill: "none", - stroke: "blue", - strokeWidth: "3", - }, - lineStyle2: { - fill: "none", - stroke: "red", - strokeWidth: "3", - }, - lineStyle3: { - fill: "none", - stroke: "green", - strokeWidth: "3", - }, - lineStyle4: { - fill: "none", - stroke: "orange", - strokeWidth: "3", - }, - lineStyle5: { - fill: "none", - stroke: "purple", - strokeWidth: "3", - }, - axisStyleMain: { - fill: "none", - stroke: "black", - shapeRendering: "crispEdges", - strokeWidth: "2", + flexDirection: "column", + justifyContent: "space-around", }, - axisStyleCross: { - fill: "none", - stroke: "black", - shapeRendering: "crispEdges", - strokeWidth: ".5", - }, - freeTierBack: { - fill: "lightgreen", - stroke: "none", - width: "750px", - height: "100px", - opacity: ".5", - }, - tierOneBack: { - fill: "lightblue", - stroke: "none", - width: "290px", - height: "100px", - }, - tiertwoBack: { - fill: "lightred", - stroke: "none", - width: "290px", - height: "100px", - }, - textStyle: { - fontSize: "12px", - }, - textStyle1: { - fontSize: "14px", - stroke: "blue", - }, - textStyle2: { - fontSize: "14px", - stroke: "red", - }, - textStyle3: { - fontSize: "14px", - stroke: "green", - }, - textStyle4: { - fontSize: "14px", - stroke: "orange", - }, - textStyle5: { - fontSize: "14px", - stroke: "purple", + header: { + fontSize: "2rem", + fontWeight: "bold", }, - circleStyle: { - fill: "black", + body: { + fontSize: "1.2rem", }, - }; +} return ( -
-
- - {/* Y-axis */} - - - {/* Background boxes by tier */} - - {/* */} - {/**/} - {/* Veritical Labels & Lines */} - 250k - - 200k - - 150k - - 100k - - 80k - - 60k - - 40k - - 20k - - 10k - - 5k - - 1k - - 500 - - 250 - - 100 - - 0 - - - {/* X-axis */} - - - {/* Horizontal Labels */} - Phase1 - Phase2 - Phase3 - Phase4 - Phase5 - - - {/* Line Graph */} - - - - - - - {/* Data Points */} - - - - - - - +
+ +
+
+ +
+
+
+
+ +
-
Vertical = requests per month. Horizontal = phases of project.
-) +); \ No newline at end of file diff --git a/src/App/DevResultText.jsx b/src/App/DevResultText.jsx new file mode 100644 index 0000000..75d2f6c --- /dev/null +++ b/src/App/DevResultText.jsx @@ -0,0 +1,38 @@ +const devTextStyles = { + header: { + display: "flex", + justifyContent: "center", + alignItems: "center", + height: "100%", + width: "100%", + fontSize: "2rem", + }, + body: { + width: "100%", + margin: "10px", + padding: "10px", + }, + freeTierBack: { + fill: "lightgreen", + stroke: "none", + opacity: ".5", + width: "700px", + height: "145px", + }, + tierOneBack: { + fill: "lightblue", + stroke: "none", + opacity: ".5", + width: "700px", + height: "80px", + }, + tiertwoBack: { + fill: "red", + stroke: "none", + opacity: ".3", + width: "700px", + height: "60px", + }, +}; + +

Here are the results of your cost estimate...

\ No newline at end of file