@@ -15,7 +15,8 @@ import InfoSection from "./Home/InfoSection.vue";
15
15
import GettingStarted from " ./Home/Section/GettingStarted.vue" ;
16
16
import TheWorkshops from " ./Home/Section/TheWorkshops.vue" ;
17
17
import BuildYourOwn from " ./Home/Section/BuildYourOwn.vue" ;
18
- import { ChevronRightIcon } from " @heroicons/vue/24/solid" ;
18
+ import HomeList from " ./Home/HomeList.vue" ;
19
+
19
20
20
21
import { SparklesIcon } from " @heroicons/vue/24/solid" ;
21
22
import { useStudentStore } from " ../../../stores/student" ;
@@ -117,6 +118,73 @@ onUnmounted(() => {
117
118
window .removeEventListener (" scroll" , checkImages);
118
119
window .removeEventListener (" resize" , debouncedCheckImages);
119
120
});
121
+
122
+ const phpSchoolBreakdown = {
123
+ openSource: {
124
+ heading: " Open-Source Gateway To PHP Mastery" ,
125
+ list: [
126
+ {
127
+ title: " Interactive Workshops" ,
128
+ description: " Engaging sessions covering beginner to advanced topics in PHP"
129
+ },
130
+ {
131
+ title: " Hands-On Learning" ,
132
+ description: " Solve real-world problems through coding exercises"
133
+ },
134
+ {
135
+ title: " Community Collaboration" ,
136
+ description: " Contribute, fix bugs, and create your own workshops"
137
+ },
138
+ {
139
+ title: " Open Source Education" ,
140
+ description: " Access all workshops for free and learn at your own pace"
141
+ }
142
+ ]
143
+ },
144
+ editor: {
145
+ heading: " Seamless Online Coding Experience" ,
146
+ list: [
147
+ {
148
+ title: " Effortless Access" ,
149
+ description: " Login with your GitHub account and seamlessly navigate through workshops and exercises" ,
150
+ },
151
+ {
152
+ title: " No Setup Hassle" ,
153
+ description: " Say goodbye to complex setups and installations; our IDE is ready to use right from your browser" ,
154
+ },
155
+ {
156
+ title: " Streamlined Interface" ,
157
+ description: " Jump straight into coding with our intuitive web-based text editor, no additional tools or dependencies required" ,
158
+ },
159
+ {
160
+ title: " Instant Start" ,
161
+ description: " Begin coding instantly without the need for downloading or installing text editors, dependencies, or plugins" ,
162
+ }
163
+ ]
164
+ },
165
+ assignments: {
166
+ heading: " Work On Practical Assignments" ,
167
+ list: [
168
+ {
169
+ title: " Real-World Challenges" ,
170
+ description: " Complete practical problems that you will be sure to encounter in your respective field" ,
171
+ },
172
+ {
173
+ title: " Level Up Your Problem Solving Skills" ,
174
+ description: " Gain hands-on experience and develop critical problem-solving skills through immersive assignments"
175
+ },
176
+ {
177
+ title: " Guided Progression" ,
178
+ description: " Access detailed descriptions, code samples, and curated resources to support your problem-solving process"
179
+ },
180
+ {
181
+ title: " Career Preparation" ,
182
+ description: " Equip yourself with the skills necessary to excel in your chosen career path, ensuring readiness for the challenges ahead"
183
+ }
184
+ ]
185
+ },
186
+ };
187
+
120
188
</script >
121
189
122
190
<template >
@@ -130,11 +198,11 @@ onUnmounted(() => {
130
198
<!-- Section 1 -->
131
199
<InfoSection >
132
200
<template #left >
133
- <div class =" mx-auto w-full lg:w-2/3" >
201
+ <div class =" mx-auto w-full lg:w-2/3 lg:mb-36 " >
134
202
<div class =" relative flex items-center justify-center" >
135
203
<img class =" cover" src =" ../../../img/cloud/pattern-bg-square.svg" alt =" " />
136
204
<div class =" absolute mx-auto scale-75 sm:scale-100 md:left-auto" >
137
- <div :ref =" transitions.exerciseList" class =" fadeIn translate-y-6 opacity-0 transition-all duration-[1000ms] ease-in lg:mb-36 " >
205
+ <div :ref =" transitions.exerciseList" class =" fadeIn translate-y-6 opacity-0 transition-all duration-[1000ms] ease-in" >
138
206
<MockWorkshopExerciseList />
139
207
</div >
140
208
</div >
@@ -152,17 +220,7 @@ onUnmounted(() => {
152
220
153
221
<template #right >
154
222
<div class =" mt-28 w-full space-y-8 text-left sm:px-5 md:mt-36 lg:mt-0 lg:w-1/3" >
155
- <h2 class =" font-work-sans text-5xl font-bold text-white" >Open-Source Gateway To PHP Mastery</h2 >
156
- <div class =" grid grid-cols-4" >
157
- <div class =" p-2 col-span-1 text-right w-4" ><span class =" text-pink-600 text-xl font-semibold" >> ; </span ></div >
158
- <div class =" p-2 col-span-3 text-white xl:-ml-24 " ><span class =" text-pink-600 font-semibold" >Interactive Workshops:</span ><span > Engaging sessions covering beginner to advanced topics in PHP</span ></div >
159
- <div class =" p-2 col-span-1 text-right w-4" ><span class =" text-pink-600 text-xl font-semibold" >> ; </span ></div >
160
- <div class =" p-2 col-span-3 text-white xl:-ml-24 " ><span class =" text-pink-600 font-semibold" >Hands-On Learning:</span ><span class =" col-span-1" > Solve real-world problems through coding exercises</span ></div >
161
- <div class =" p-2 col-span-1 text-right w-4" ><span class =" text-pink-600 text-xl font-semibold" >> ; </span ></div >
162
- <div class =" p-2 col-span-3 text-white xl:-ml-24 " ><span class =" text-pink-600 font-semibold" >Community Collaboration:</span ><span class =" col-span-1" > Contribute, fix bugs, and create your own workshops</span ></div >
163
- <div class =" p-2 col-span-1 text-right w-4" ><span class =" text-pink-600 text-xl font-semibold" >> ; </span ></div >
164
- <div class =" p-2 col-span-3 text-white xl:-ml-24 " ><span class =" text-pink-600 font-semibold" >Open Source Education:</span ><span class =" col-span-1" > Access all workshops for free and learn at your own pace</span ></div >
165
- </div >
223
+ <HomeList :heading =" phpSchoolBreakdown.openSource.heading" :list =" phpSchoolBreakdown.openSource.list" ></HomeList >
166
224
167
225
<div class =" flex justify-start" >
168
226
<PrimaryButton to =" /online" >GET STARTED</PrimaryButton >
@@ -175,11 +233,7 @@ onUnmounted(() => {
175
233
<InfoSection >
176
234
<template #left >
177
235
<div class =" order-2 mt-8 w-full space-y-8 text-left sm:px-5 lg:order-1 lg:mt-0 lg:w-1/3" >
178
- <h2 class =" balanced font-work-sans text-5xl font-bold text-white" >Online Browser Based IDE</h2 >
179
- <p class =" font-base font-work-sans text-lg text-white" >
180
- Login in with your GitHub account, select a workshop, an exercise then jump straight in to our web based text editor (IDE). No complicated setup, no need to install tools, dependencies
181
- and text editors. Just jump in and start coding.
182
- </p >
236
+ <HomeList :heading =" phpSchoolBreakdown.editor.heading" :list =" phpSchoolBreakdown.editor.list" ></HomeList >
183
237
<div class =" flex justify-start" >
184
238
<PrimaryButton to =" /online" class =" flex items-center" >
185
239
<span v-if =" studentStore.student" >TO THE WORKSHOPS</span >
@@ -215,7 +269,7 @@ onUnmounted(() => {
215
269
<!-- Section 3 -->
216
270
<InfoSection >
217
271
<template #left >
218
- <div class =" relative mx-auto mt-20 w-full lg:w-2/3" >
272
+ <div class =" relative mx-auto mt-8 w-full lg:w-2/3" >
219
273
<div class =" relative flex items-center justify-center" >
220
274
<img class =" " src =" ../../../img/cloud/pattern-bg-square-alt.svg" alt =" " />
221
275
<div :ref =" transitions.mockProblemModal" class =" fadeIn absolute translate-y-6 opacity-0 transition-all duration-[1000ms] ease-in" >
@@ -236,11 +290,7 @@ onUnmounted(() => {
236
290
237
291
<template #right >
238
292
<div class =" mt-28 w-full space-y-8 text-left sm:mt-40 sm:px-5 lg:mb-40 lg:w-1/3" >
239
- <h2 class =" font-work-sans text-5xl font-bold text-white" >Work on practical assignments</h2 >
240
- <p class =" font-base font-work-sans text-lg text-white" >
241
- Level up your problem solving skills whilst tackling practical problems that you will be sure to encounter in your chosen career path as a software developer. Each exercise comes with a
242
- description, code samples to get you started, links to documentation and other resources to help you solve the problem.
243
- </p >
293
+ <HomeList :heading =" phpSchoolBreakdown.assignments.heading" :list =" phpSchoolBreakdown.assignments.list" ></HomeList >
244
294
<div class =" flex justify-start" >
245
295
<PrimaryButton to =" /online" >GET STARTED</PrimaryButton >
246
296
</div >
0 commit comments