Skip to content

Commit 20a4844

Browse files
committed
fix(API-1944): Add link to next step button
1 parent 2ecd109 commit 20a4844

File tree

4 files changed

+35
-15
lines changed

4 files changed

+35
-15
lines changed

components/components.css

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,13 +342,21 @@ button {
342342
line-height: 29px;
343343
text-transform: uppercase;
344344

345+
cursor: pointer;
346+
345347
background-color: #414D97;
346348
color: #F1F4F9;
347349

348350
box-shadow: 0px 0px 6px rgba(37, 38, 52, 0.5);
349351
border: none;
350352
border-radius: 57px;
351353
}
354+
.next-steps-button-link {
355+
cursor: default;
356+
}
357+
.next-steps-button-link:hover {
358+
text-decoration: none;
359+
}
352360
.next-steps-button:hover {
353361
background-color: #2D366D;
354362
}
@@ -378,4 +386,4 @@ button {
378386
.next-steps-button-smaller .next-steps-button-text {
379387
font-size: 18px;
380388
line-height: 22px;
381-
}
389+
}

components/components.html

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,15 @@
9292
<div class="block-next-steps block-next-steps-main">
9393
<div class="block-next-steps-title">Next Step</div>
9494
<div class="block-next-steps-text">Now that you’ve gotten your App token, continue the journey with Step 2!</div>
95-
<button class="next-steps-button next-steps-button-smaller">
96-
<div class="next-steps-button-number">2</div>
97-
<div class="next-steps-button-text">
98-
Develop<br>
99-
your App
100-
</div>
101-
</button>
95+
<a href="/" class="next-steps-button-link">
96+
<button class="next-steps-button next-steps-button-smaller">
97+
<div class="next-steps-button-number">2</div>
98+
<div class="next-steps-button-text">
99+
Develop<br>
100+
your App
101+
</div>
102+
</button>
103+
</a>
102104
</div>
103105

104106
<hr>

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

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -184,11 +184,13 @@ You can use this token to call the Akeneo PIM REST API.
184184
<div class="block-next-steps block-next-steps-main">
185185
<div class="block-next-steps-title">Next Step</div>
186186
<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 next-steps-button-smaller">
188-
<div class="next-steps-button-number">2</div>
189-
<div class="next-steps-button-text">
190-
Develop<br>
191-
your App
192-
</div>
193-
</button>
187+
<a href="/tutorials/how-to-retrieve-pim-structure.html" class="next-steps-button-link">
188+
<button class="next-steps-button next-steps-button-smaller">
189+
<div class="next-steps-button-number">2</div>
190+
<div class="next-steps-button-text">
191+
Develop<br>
192+
your App
193+
</div>
194+
</button>
195+
</a>
194196
</div>

styles/guided-tutorial.less

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@
113113
align-items: center;
114114
gap: 10px;
115115

116+
cursor: pointer;
117+
116118
font-weight: 600;
117119
font-size: 24px;
118120
line-height: 29px;
@@ -125,6 +127,12 @@
125127
border: none;
126128
border-radius: 57px;
127129
}
130+
.next-steps-button-link {
131+
cursor: default;
132+
}
133+
.next-steps-button-link:hover {
134+
text-decoration: none;
135+
}
128136
.next-steps-button:hover {
129137
background-color: #2D366D;
130138
}

0 commit comments

Comments
 (0)