Skip to content

Commit 4ad3717

Browse files
committed
added the chapters to sidebox
1 parent de6a75b commit 4ad3717

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/components/chapters/SideChapterBox.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ const SideChapterBox = ({
3636
edges,
3737
"Deploy Backend"
3838
)
39+
40+
const deployVue = constants.filterByFramework(edges, "Deploy Frontend", "vue")
41+
3942
//frontend posts
4043
const allCLIPosts = constants.filterByChapter(edges, "Vue cli")
4144
const allTailwindPosts = constants.filterByChapter(edges, "Tailwind")
@@ -83,6 +86,12 @@ const SideChapterBox = ({
8386
"Make A Booking Mutation",
8487
"react"
8588
)
89+
90+
const deployReact = constants.filterByFramework(
91+
edges,
92+
"Deploy Frontend",
93+
"react"
94+
)
8695
const allChapters = [
8796
{
8897
chapterEdge: epilouges,
@@ -143,6 +152,10 @@ const SideChapterBox = ({
143152
chapterEdge: allBookingsPosts,
144153
chapterTitle: "14. Make A Booking",
145154
},
155+
{
156+
chapterEdge: deployVue,
157+
chapterTitle: "15. Deploy Frontend",
158+
},
146159
]
147160

148161
const reactFrontEndPosts = [
@@ -170,6 +183,10 @@ const SideChapterBox = ({
170183
chapterEdge: allMakeAMutationReactPosts,
171184
chapterTitle: "14. Make A Booking",
172185
},
186+
{
187+
chapterEdge: deployReact,
188+
chapterTitle: "15. Deploy Frontend",
189+
},
173190
]
174191
return (
175192
<>

0 commit comments

Comments
 (0)