Skip to content

Commit 8c7057a

Browse files
committed
fix: updated homepage diagram
1 parent 5144336 commit 8c7057a

File tree

2 files changed

+33
-4
lines changed

2 files changed

+33
-4
lines changed

src/components/InteractiveDiagram/index.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,24 @@ export default function InteractiveDiagram() {
135135
>
136136
Signing
137137
</div>
138+
<div className={styles.bottomleftcolbottom}>
139+
<div
140+
className={styles.cell}
141+
onClick={() => {
142+
setIsShow("block");
143+
setPromptTitle("Cloud Development Environment");
144+
setPromptText(
145+
parse(`
146+
<p>An automated environment in the cloud accessed directly from a code editor.</p>
147+
<br/>
148+
<b><a href="docs/intro/capabilities/cloud-development-environment">Read More</a></b>
149+
`)
150+
);
151+
}}
152+
>
153+
Cloud Development Environment
154+
</div>
155+
</div>
138156
</div>
139157
<div className={styles.bottomrightcol}>
140158
<p className={styles.labels}>Operation</p>

src/components/InteractiveDiagram/styles.module.css

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,11 @@
8585
white-space: nowrap;
8686
padding: 30px;
8787
min-height: 405px;
88-
max-height: 435px;
88+
max-height: 460px;
8989
min-width: 865px;
9090
border-radius: 8px;
9191
}
92+
9293
.diagramcontent:hover {
9394
cursor: pointer;
9495
}
@@ -119,15 +120,16 @@
119120
white-space: nowrap;
120121
min-height: 290px;
121122
}
123+
122124
.diagramcontent .bottomrow .bottomleftcol {
123125
display: inline-block;
124126
width: 40%;
125-
height: 80%;
126-
overflow: hidden;
127+
height: 100%;
127128
border: 2px dotted;
128129
margin-right: -15px;
129130
padding: 10px;
130131
padding-right: 30px;
132+
padding-bottom: 55px;
131133
margin-bottom: 30px;
132134
min-height: 225px;
133135
border-radius: 8px;
@@ -136,7 +138,7 @@
136138

137139
.diagramcontent .bottomrow .bottomleftcol .bottomleftcolleft {
138140
display: inline-block;
139-
height: 98%;
141+
height: 95%;
140142
overflow: hidden;
141143
writing-mode: vertical-lr;
142144
padding-left: 10px;
@@ -155,13 +157,22 @@
155157
}
156158

157159
.diagramcontent .bottomrow .bottomleftcol .bottomleftcolright {
160+
margin-bottom: -4px;
158161
display: inline-block;
159162
height: 100%;
160163
width: 85%;
161164
overflow: hidden;
162165
border-top: none;
163166
}
164167

168+
.diagramcontent .bottomrow .bottomleftcol .bottomleftcolbottom {
169+
height: 40px;
170+
margin: auto;
171+
width: 94%;
172+
margin-left: 3%;
173+
margin-right: 3%;
174+
}
175+
165176
.diagramcontent .bottomrow .bottomrightcol {
166177
display: inline-block;
167178
width: 55%;

0 commit comments

Comments
 (0)