-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.php
More file actions
222 lines (174 loc) · 7.79 KB
/
Copy pathindex.php
File metadata and controls
222 lines (174 loc) · 7.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
<?php
declare(strict_types=1);
require_once __DIR__ . '/core/init.php';
require_once __DIR__ . '/inc/helpers.php';
$page_id = 1;
$head = Head::get($page_id);
$page = Pages::get($page_id);
// -------------------------------
// Fetch Certificates section content
// -------------------------------
$certContent = SectionContent::getSection($page_id, 'certificates');
?>
<!DOCTYPE html>
<html itemscope itemtype="https://schema.org/WebPage" lang="en">
<?php echo $head->renderHead(); ?>
<body id="home">
<?php require_once BASE_PATH . '/inc/header.php'; ?>
<main>
<!-- Hero -->
<article id="hero" class="lazy">
<div class="wrapper">
<?= $page->renderPage() ?>
<p>I build responsive, SEO-ready business websites that convert visitors into customers</p>
<div class="cta-buttons">
<a href="#contact">🚀 Contact Me</a>
<a href="projects">📁 View My Projects</a>
</div>
</div>
</article>
<!-- About Me Section -->
<section id="aboutme">
<?php
$about = AboutMe::getByPage(1);
if ($about) {
$about->render();
}
?>
</section>
<!-- Quotes -->
<article id="about" class="lazy white">
<div class="wrapper">
<section id="quotes">
<h2>My Favorite Quotes</h2>
<?php Quotes::render($page_id); ?>
</section>
</div>
</article>
<!-- Certificates Section -->
<section id="certificates" aria-label="Certificates of ITAcademy">
<div class="wrapper">
<header class="cert-container">
<h2>Certificates</h2> <!-- hardcoded -->
<div class="cert-center">
<div class="text-before-images">
<?php foreach ($certContent['before_images'] ?? [] as $p): ?>
<p><?= e($p) ?></p>
<?php endforeach; ?>
</div>
<div class="cert-images">
<?php
$ita = ITA::get($page_id);
$ita->renderCertificates();
?>
</div>
<div class="text-after-images">
<?php foreach ($certContent['after_images'] ?? [] as $p): ?>
<p><?= e($p) ?></p>
<?php endforeach; ?>
</div>
</div>
</header>
</div>
</section>
<!-- LinkedIn / Other Certificates -->
<section id="linkedin" aria-label="Certificates of LinkedIn, SoloLearn and Pluralsight">
<div class="wrapper">
<?php
$certDesc = new CertDesc();
$certDesc->renderDescription();
?>
</div>
</section>
<!-- Skills Section -->
<section id="skills" aria-labelledby="skills-title">
<div class="wrapper">
<h2 id="skills-title">Skills</h2>
<?php
$skills = new Skills();
$skills->renderSkills();
?>
</div>
</section>
<!-- Services Section -->
<section id="services" aria-labelledby="services-title">
<div class="wrapper">
<h2 id="services-title">Services</h2>
<h3 id="service">Best solutions for your business</h3>
<div class="services-grid">
<?php
$services = new Services();
$services->renderServices();
?>
</div>
</div>
</section>
<!-- Pricing Section -->
<section id="pricing" aria-labelledby="pricing-title">
<div class="wrapper">
<h2 id="pricing-title">Pricing</h2>
<h3 id="price">Transparent pricing for your business growth</h3>
<div class="pricing-grid">
<?php
$prices = new Prices();
$prices->renderPrices();
?>
</div>
</div>
</section>
<!-- Freelance Platforms Section -->
<section id="freelance-platforms" aria-labelledby="freelance-platforms-title">
<div class="wrapper">
<header class="freelance-platforms-header">
<h2 id="freelance-platforms-title">
Contact Me Through Trusted Platforms
</h2>
<p>
Prefer working through an established freelance marketplace?
Choose the platform that works best for you and contact me
directly about your project.
</p>
</header>
<div class="freelance-platforms-grid">
<?php FreelancePlatforms::render(); ?>
</div>
</div>
</section>
<!-- Contact Section -->
<section id="contact" aria-labelledby="contact-heading">
<div class="wrapper">
<h2 id="contact-heading">Contact</h2>
<div class="contact-main">
<h3>Let’s Work on Your Project Together</h3>
<p class="contact-intro">
Have an idea or project you’d like to build?
Send me the details and I’ll respond within <strong>24 hours</strong>
to discuss the best solution for your needs.
</p>
<div id="contact-form">
<?php require_once BASE_PATH . '/inc/form.php'; ?>
</div>
</div>
<div id="support">
<h3>Feel free to support me</h3>
<p><?= e("If my projects have been helpful or inspiring, consider supporting my work. Every contribution means a lot and helps me keep creating.") ?></p>
<div class="support-links">
<?php
$supports = Support::getAll();
foreach ($supports as $support) {
echo $support->renderSupport();
}
?>
</div>
</div>
</div>
</section>
</main>
<?php require_once BASE_PATH . '/inc/footer.php'; ?>
<?php
// Custom JS
$js_files = ['form-focus.js', 'validate_me.js'];
load_js($js_files);
?>
</body>
</html>