@@ -15,6 +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 HomeList from " ./Home/HomeList.vue" ;
19
+
18
20
19
21
import { SparklesIcon } from " @heroicons/vue/24/solid" ;
20
22
import { useStudentStore } from " ../../../stores/student" ;
@@ -116,6 +118,73 @@ onUnmounted(() => {
116
118
window .removeEventListener (" scroll" , checkImages);
117
119
window .removeEventListener (" resize" , debouncedCheckImages);
118
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
+
119
188
</script >
120
189
121
190
<template >
@@ -129,11 +198,11 @@ onUnmounted(() => {
129
198
<!-- Section 1 -->
130
199
<InfoSection >
131
200
<template #left >
132
- <div class =" mx-auto w-full lg:w-2/3" >
201
+ <div class =" mx-auto w-full lg:w-2/3 lg:mb-36 " >
133
202
<div class =" relative flex items-center justify-center" >
134
203
<img class =" cover" src =" ../../../img/cloud/pattern-bg-square.svg" alt =" " />
135
204
<div class =" absolute mx-auto scale-75 sm:scale-100 md:left-auto" >
136
- <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" >
137
206
<MockWorkshopExerciseList />
138
207
</div >
139
208
</div >
@@ -151,12 +220,8 @@ onUnmounted(() => {
151
220
152
221
<template #right >
153
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" >
154
- <h2 class =" font-work-sans text-5xl font-bold text-white" >Open Source educational PHP Workshops</h2 >
155
- <p class =" font-base font-work-sans text-lg text-white" >
156
- PHP School is a set of workshops each designed to teach a specific topic, tool, technology. Some beginner, some advanced. Each workshop consists of multiple exercises where your task is
157
- to code a solution to solve a problem. All our workshops are open source and you can contribute to them with spelling & bug fixes, new exercises. You can even build and publish your own
158
- workshop.
159
- </p >
223
+ <HomeList :heading =" phpSchoolBreakdown.openSource.heading" :list =" phpSchoolBreakdown.openSource.list" ></HomeList >
224
+
160
225
<div class =" flex justify-start" >
161
226
<PrimaryButton to =" /online" >GET STARTED</PrimaryButton >
162
227
</div >
@@ -168,11 +233,7 @@ onUnmounted(() => {
168
233
<InfoSection >
169
234
<template #left >
170
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" >
171
- <h2 class =" balanced font-work-sans text-5xl font-bold text-white" >Online Browser Based IDE</h2 >
172
- <p class =" font-base font-work-sans text-lg text-white" >
173
- 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
174
- and text editors. Just jump in and start coding.
175
- </p >
236
+ <HomeList :heading =" phpSchoolBreakdown.editor.heading" :list =" phpSchoolBreakdown.editor.list" ></HomeList >
176
237
<div class =" flex justify-start" >
177
238
<PrimaryButton to =" /online" class =" flex items-center" >
178
239
<span v-if =" studentStore.student" >TO THE WORKSHOPS</span >
@@ -208,7 +269,7 @@ onUnmounted(() => {
208
269
<!-- Section 3 -->
209
270
<InfoSection >
210
271
<template #left >
211
- <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" >
212
273
<div class =" relative flex items-center justify-center" >
213
274
<img class =" " src =" ../../../img/cloud/pattern-bg-square-alt.svg" alt =" " />
214
275
<div :ref =" transitions.mockProblemModal" class =" fadeIn absolute translate-y-6 opacity-0 transition-all duration-[1000ms] ease-in" >
@@ -229,11 +290,7 @@ onUnmounted(() => {
229
290
230
291
<template #right >
231
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" >
232
- <h2 class =" font-work-sans text-5xl font-bold text-white" >Work on practical assignments</h2 >
233
- <p class =" font-base font-work-sans text-lg text-white" >
234
- 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
235
- description, code samples to get you started, links to documentation and other resources to help you solve the problem.
236
- </p >
293
+ <HomeList :heading =" phpSchoolBreakdown.assignments.heading" :list =" phpSchoolBreakdown.assignments.list" ></HomeList >
237
294
<div class =" flex justify-start" >
238
295
<PrimaryButton to =" /online" >GET STARTED</PrimaryButton >
239
296
</div >
0 commit comments