@@ -6,9 +6,7 @@ import { useRecoilState } from 'recoil';
66import modeState from './recoil/atoms' ;
77import Deployment from './Components/Deployment/Deployment' ;
88import Action from './Components/Action/Action' ;
9- // import GeneratedURI from './Components/UI/GeneratedURI';
109import Descriptions from './Components/Descriptions/Descriptions' ;
11- // import Or from './Components/UI/Or';
1210import GeneratedCommand from './Components/Command/GeneratedCommand' ;
1311
1412// ANCHOR Images
@@ -50,7 +48,7 @@ function App() {
5048 return (
5149 < div className = { `App ${ mode === 'dark' && "dark" } ` } >
5250 < img
53- alt = { `sourcegraph-logo ${ mode === "dark" ? "dark" : "light "} ` }
51+ alt = { `sourcegraph-logo ${ mode === "dark" && "dark" } ` }
5452 src = { mode === 'dark'
5553 ? logo_dark
5654 : logo_light }
@@ -59,13 +57,11 @@ function App() {
5957 { mode === "dark" ? (
6058 < h2 className = "subtitle dark" > command line generator</ h2 >
6159 ) : (
62- < h2 className = "subtitle" > Command Line Generator </ h2 >
60+ < h2 className = "subtitle" > command line generator </ h2 >
6361 ) }
6462
6563
6664 < div className = "container" >
67- { /* <div className="actions"> */ }
68-
6965 { /* USER selects their deployment */ }
7066 < div className = "deploy-container" >
7167 < Deployment
@@ -82,7 +78,7 @@ function App() {
8278 mode = { mode }
8379 />
8480
85- { /* USER selects the action they want to take */ }
81+ { /* USER selects the function they want */ }
8682 < Action
8783 selectedDeployment = { selectedDeployment }
8884 selectedAction = { selectedAction }
@@ -98,24 +94,17 @@ function App() {
9894 />
9995 </ div >
10096
101- { /* </div> */ }
102-
10397 < div className = "line-break" >
10498 </ div >
10599
106100 < div className = "descriptions-container" >
107- { /* <Descriptions
108- selectedDeployment={selectedDeployment}
109- /> */ }
110101 < Descriptions
111102 selectedDeployment = { selectedDeployment }
112103 mode = { mode }
113104 />
114105 </ div >
115106 </ div >
116107
117-
118-
119108 { /* Command generated from the first two options. */ }
120109 < div className = "user-options-container" >
121110 < GeneratedCommand
@@ -128,20 +117,6 @@ function App() {
128117 generatedURI = { generatedURI }
129118 mode = { mode }
130119 />
131-
132- { /* divider */ }
133- { /* <Or /> */ }
134-
135- { /* URI Generated so that user can revisit with the same options selected */ }
136- { /* <GeneratedURI
137- selectedDeployment={selectedDeployment}
138- selectedAction={selectedAction}
139- namespace={namespace}
140- option={option}
141- generatedURI={generatedURI}
142- setGeneratedURI={setGeneratedURI}
143- mode={mode}
144- /> */ }
145120 </ div >
146121 </ div >
147122 ) ;
0 commit comments