Skip to content

Commit f564a50

Browse files
committed
Update workshop links to unify path references across the application
Signed-off-by: Lee Calcote <lee.calcote@layer5.io>
1 parent 5ab975c commit f564a50

File tree

10 files changed

+17
-11
lines changed

10 files changed

+17
-11
lines changed

.desktop-lighthouserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = {
1313
"http://localhost/cloud-native-management/kanvas/index.html?desktop",
1414
"http://localhost/learn/learning-paths/index.html?desktop",
1515
"http://localhost/learn/service-mesh-books/index.html?desktop",
16-
"http://localhost/learn/service-mesh-workshops/index.html?desktop",
16+
"http://localhost/learn/workshops/index.html?desktop",
1717
"http://localhost/learn/index.html?desktop",
1818
"http://localhost/blog/index.html?desktop",
1919
"http://localhost/resources/index.html?desktop",

.lighthouserc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module.exports = {
1111
"http://localhost/cloud-native-management/kanvas/index.html",
1212
"http://localhost/learn/learning-paths/index.html",
1313
"http://localhost/learn/service-mesh-books/index.html",
14-
"http://localhost/learn/service-mesh-workshops/index.html",
14+
"http://localhost/learn/workshops/index.html",
1515
"http://localhost/learn/index.html",
1616
"http://localhost/blog/index.html",
1717
"http://localhost/resources/index.html",

gatsby-node.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,15 @@ exports.createPages = async ({ actions, graphql, reporter }) => {
7272
redirectInBrowser: true,
7373
isPermanent: true,
7474
});
75+
createRedirect({
76+
fromPath: "/learn/workshops",
77+
toPath: "/learn/workshops",
78+
redirectInBrowser: true,
79+
isPermanent: true,
80+
});
7581
createRedirect({
7682
fromPath: "/workshops",
77-
toPath: "/learn/service-mesh-workshops",
83+
toPath: "/learn/workshops",
7884
redirectInBrowser: true,
7985
isPermanent: true,
8086
});

src/assets/discuss/html/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ <h3 class="section-title"><a href="https://layer5.io/learn">RESOURCES</a></h3>
4747
<h5 class="footer-h5"><a href="https://layer5.io/learn/learning-paths">Learning Paths</a></h5>
4848
<h5 class="footer-h5"><a href="https://layer5.io/resources">Resource Library</a></h5>
4949
<h5 class="footer-h5"><a href="https://layer5.io/learn/service-mesh-books">Cloud Native Books</a></h5>
50-
<h5 class="footer-h5"><a href="https://layer5.io/learn/service-mesh-workshops">Cloud Native Workshops</a></h5>
50+
<h5 class="footer-h5"><a href="https://layer5.io/learn/workshops">Cloud Native Workshops</a></h5>
5151
<h5 class="footer-h5"><a href="https://layer5.io/service-mesh-landscape#service-mesh-comaprison-matrix">Service Mesh Comparison</a></h5>
5252
<h5 class="footer-h5"><a href="https://layer5.io/learn/service-mesh-labs">Cloud Native Interactive Labs</a></h5>
5353
</div>

src/sections/Community/Handbook/learn5.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const LearnLayer = () => {
3333
<ul>
3434
<li>Interactive <Link to="/learn/service-mesh-labs">cloud native labs</Link></li>
3535
<li>Free <Link to="/learn/service-mesh-books">cloud native books</Link></li>
36-
<li>Self-paced <Link to="/learn/service-mesh-workshops">scloud nativeh workshops</Link></li>
36+
<li>Self-paced <Link to="/learn/workshops">scloud nativeh workshops</Link></li>
3737
<li>Recorded training and talks on the <a href="https://www.youtube.com/c/Layer5io?sub_confirmation=1/playlists">Layer5 YouTube Channel</a></li>
3838
<li>Multi-course, multi-mesh <Link to="/learn/learning-paths">cloud native learning paths</Link></li>
3939
</ul>

src/sections/Community/Handbook/writing-program.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ const Writers = () => {
237237
<Col $sm={12} $md={6} $lg={4}>
238238
<Link
239239
className="project-card"
240-
to="/learn/service-mesh-workshops"
240+
to="/learn/workshops"
241241
>
242242
<div className="content_type">
243243
<img src={workshop} alt="Workshop" />

src/sections/General/Footer/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ const Footer = ({ location }) => {
138138
<li>
139139
<Link
140140
className="category-link"
141-
to="/learn/service-mesh-workshops"
141+
to="/learn/workshops"
142142
>
143143
Cloud Native Workshops
144144
</Link>

src/sections/General/Navigation/utility/menu-items.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ const Data = {
126126
// },
127127
// {
128128
// name: "Workshops",
129-
// path: "/learn/service-mesh-workshops",
129+
// path: "/learn/workshops",
130130
// sepLine: true
131131
// },
132132
// {
@@ -276,7 +276,7 @@ const Data = {
276276
// },
277277
{
278278
name: "Workshops",
279-
path: "/learn/service-mesh-workshops",
279+
path: "/learn/workshops",
280280
},
281281
{
282282
name: "Learning Paths",

src/sections/Learn/LearnPage-Sections/workshops.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ const WorkshopsSection = () => {
243243
<h1>Workshops</h1>
244244
<p>Register for the service mesh workshops given by the experts at Layer5 and learn how to <i>mesh</i></p>
245245
<div className="see-more-button">
246-
<Button $primary title="Checkout all workshops" $url="/learn/service-mesh-workshops" />
246+
<Button $primary title="Checkout all workshops" $url="/learn/workshops" />
247247
</div>
248248
</Col>
249249
<Col $xs={12} $md={9} className="workshops-col">

src/sections/Learn/Workshop-single/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const WorkshopSinglePage = ({ frontmatter, body }) => {
1818
return (
1919
<WorkshopSinglePageWrapper>
2020
<div className="backBtn">
21-
<Link to="/learn/service-mesh-workshops">
21+
<Link to="/learn/workshops">
2222
<IoIosArrowDropleftCircle />
2323
<h4>All Workshops</h4>
2424
</Link>

0 commit comments

Comments
 (0)