Skip to content

Commit ac85aaa

Browse files
author
brianshattuck
committed
add arrow in faq section
1 parent 47880f5 commit ac85aaa

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

src/pages/LaunchpadPage/FAQ.tsx

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,9 +203,32 @@ You should see a prompt from BlockPass saying, “If you have previously created
203203
<Box>
204204
<Typography className='faq-name'>{faq.name}</Typography>
205205
</Box>
206+
{tabActive === faq.id && (
207+
<svg
208+
width='79'
209+
height='14'
210+
viewBox='0 0 79 14'
211+
fill='none'
212+
strokeWidth='1.5'
213+
stroke='currentColor'
214+
className='faq-arrow'
215+
xmlns='http://www.w3.org/2000/svg'
216+
>
217+
<g>
218+
<path
219+
d='M1 7H78M78 7L72 1M78 7L72 13'
220+
stroke='#4d5d7994'
221+
strokeWidth='1.5'
222+
strokeLinecap='round'
223+
strokeLinejoin='round'
224+
/>
225+
</g>
226+
</svg>
227+
)}
206228
</Box>
207229
))}
208230
</Box>
231+
<Box className='cover-faq-items'></Box>
209232
</Box>
210233
</Box>
211234
);

src/pages/styles/launchpad.scss

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,14 +224,25 @@
224224
display: flex;
225225
flex-direction: column;
226226
align-items: center;
227+
max-width: 1000px;
228+
margin-left: auto;
229+
margin-right: auto;
230+
227231
@media (max-width: 1280px) {
228232
margin-bottom: 88px;
229233
}
230234

235+
.cover-faq {
236+
display: flex;
237+
width: 100%;
238+
margin-top: 1.5rem;
239+
}
240+
231241
.cover-faq-list {
232242
display: grid;
233243
grid-template-columns: repeat(1, minmax(0, 1fr));
234244
gap: 0.25rem;
245+
flex: 40%;
235246
}
236247

237248
.faq {
@@ -270,6 +281,19 @@
270281
font-size: 1.5rem;
271282
line-height: 2.25rem;
272283
}
284+
285+
.faq-arrow {
286+
display: block;
287+
color: #4d5d7994;
288+
margin-left: auto;
289+
@media (max-width: 768px) {
290+
display: none;
291+
}
292+
}
293+
294+
.cover-faq-items {
295+
flex: 60%;
296+
}
273297
}
274298

275299
.ctaSection {

0 commit comments

Comments
 (0)