Skip to content

Commit f698059

Browse files
committed
feat(API-1944): Implement new Next steps block component in "Get your App token guide"
1 parent 8545ef3 commit f698059

File tree

2 files changed

+55
-13
lines changed

2 files changed

+55
-13
lines changed

content/tutorials/guides/how-to-get-your-app-token.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -181,16 +181,14 @@ At the end of this process, you receive the following response with an `access_t
181181

182182
You can use this token to call the Akeneo PIM REST API.
183183

184-
<div class="block-next-steps">
185-
<img src="../../img/illustrations/illus--Attribute.svg" width="140px">
186-
<div class="block-next-steps-column">
187-
<div class="block-next-steps-title">Next Steps</div>
188-
<div class="block-next-steps-text">Now that you collected your token, we advise you to follow</div>
189-
<div>
190-
<ul>
191-
<li><a href="/apps/overview.html">Learn more about Apps</a></li>
192-
<li><a href="/api-reference-index.html">Explore the REST API reference</a></li>
193-
</ul>
184+
<div class="block-next-steps block-next-steps-main">
185+
<div class="block-next-steps-title">Next Step</div>
186+
<div class="block-next-steps-text">Now that you’ve gotten your App token, continue the journey with Step 2!</div>
187+
<button class="next-steps-button">
188+
<div class="next-steps-button-number">2</div>
189+
<div class="next-steps-button-text">
190+
Develop<br>
191+
your App
194192
</div>
195-
</div>
193+
</button>
196194
</div>

styles/guided-tutorial.less

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,19 @@
6363
background-color: #F1F4F9;
6464
padding: 20px 50px;
6565
display: flex;
66-
align-items: center;
6766

6867
font-size: 16px;
6968
line-height: 24px;
7069

7170
color: #677688;
7271
}
72+
.block-next-steps.block-next-steps-main {
73+
flex-direction: column;
74+
align-items: center;
75+
}
76+
.block-next-steps.block-next-steps-alt {
77+
align-items: center;
78+
}
7379
.block-next-steps img {
7480
margin-right: 50px;
7581
}
@@ -85,7 +91,11 @@
8591
line-height: 41px;
8692
margin-bottom: 20px;
8793
}
88-
.block-next-steps-text {
94+
.block-next-steps.block-next-steps-main .block-next-steps-text {
95+
margin-bottom: 30px;
96+
font-weight: 400;
97+
}
98+
.block-next-steps.block-next-steps-alt .block-next-steps-text {
8999
margin-bottom: 11px;
90100
}
91101
.block-next-steps ul {
@@ -94,6 +104,40 @@
94104
list-style-type: none;
95105
}
96106

107+
.next-steps-button {
108+
width: 261px;
109+
height: 94px;
110+
padding-top: 5px; /* Fix font not centered */
111+
display: flex;
112+
justify-content: center;
113+
align-items: center;
114+
gap: 10px;
115+
116+
font-weight: 600;
117+
font-size: 24px;
118+
line-height: 29px;
119+
text-transform: uppercase;
120+
121+
background-color: #414D97;
122+
color: #F1F4F9;
123+
124+
box-shadow: 0px 0px 6px rgba(37, 38, 52, 0.5);
125+
border: none;
126+
border-radius: 57px;
127+
}
128+
.next-steps-button:hover {
129+
background-color: #2D366D;
130+
}
131+
132+
.next-steps-button-number {
133+
padding-top: 2px; /* Fix inability to align-item baseline */
134+
font-size: 63px;
135+
}
136+
137+
.next-steps-button-text {
138+
text-align: left;
139+
}
140+
97141
.back-button button {
98142
box-sizing: border-box;
99143

0 commit comments

Comments
 (0)