-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
316 lines (247 loc) · 16.1 KB
/
index.html
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
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
<!DOCTYPE html>
<html>
<head>
<title>Portfolio | Charles Dobson</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="styles/css/index.css" />
<link rel="stylesheet" href="styles/css/codeEditor.css" />
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/lenis.css">
</head>
<body>
<header>
<div class="navBar">
<div class="navBar-left">
<h2>My Portfolio</h2>
</div>
<div class="navBar-right">
<div class="navBar-menu">
<a href="#" class="navBar-menu-link">Home</a>
<a href="#" class="navBar-menu-link">Work</a>
<a href="#" class="navBar-menu-link">Contact</a>
</div>
<div class="navBar-button">
<div class="navBar-button-inner">
<div class="navBar-button-inner-line-left"></div>
Book a meeting
<div class="navBar-button-inner-line-right"></div>
</div>
</div>
</div>
</div>
</header>
<section id="hero" class="hero">
<div class="hero-text">
<img class="hero-heading" src="styles/img/heroText.png">
<h1 class="hero-subheading">DEVELOPER & UX/UI DESIGNER, BASED IN THE UK</h1>
</div>
<div class="hero-below">
<div class="hero-marquee">
<div class="hero-marquee-inner">
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
<p class="hero-marquee-text">Front-end · Back-end · UX/UI Design ·</p>
</div>
</div>
</div>
</section>
<div class="code-snippet">
<div class="illustration-editor">
<div class="code-blocks">
<div class="code code-html">
<header>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M14.9999 6.675L13.1999 6.075C12.9999 5.975 12.8999 5.775 12.9999 5.675L13.8999 3.975C14.4999 2.775 13.1999 1.475 11.9999 2.075L10.2999 2.975C10.1999 3.075 9.9999 2.975 9.8999 2.775L9.2999 0.975C8.8999 -0.325 7.0999 -0.325 6.6999 0.975L6.0999 2.775C5.9999 2.975 5.7999 3.075 5.6999 2.975L3.9999 2.075C2.7999 1.475 1.4999 2.775 2.0999 3.975L2.9999 5.675C3.0999 5.775 2.9999 5.975 2.7999 6.075L0.999902 6.675C-0.300098 7.075 -0.300098 8.975 0.999902 9.375L2.7999 9.975C2.9999 9.975 3.0999 10.175 2.9999 10.275L2.0999 11.975C1.4999 13.175 2.7999 14.475 3.9999 13.875L5.6999 12.975C5.8999 12.875 6.0999 12.975 6.0999 13.175L6.6999 14.975C7.0999 16.275 8.9999 16.275 9.3999 14.975L9.9999 13.175C10.0999 12.975 10.2999 12.875 10.3999 12.975L12.0999 13.875C13.2999 14.475 14.5999 13.175 13.9999 11.975L12.9999 10.275C12.8999 10.075 12.9999 9.875 13.1999 9.875L14.9999 9.275C16.2999 8.875 16.2999 7.075 14.9999 6.675ZM7.9999 10.375C6.6999 10.375 5.5999 9.275 5.5999 7.975C5.5999 6.675 6.6999 5.575 7.9999 5.575C9.2999 5.575 10.3999 6.675 10.3999 7.975C10.3999 9.275 9.2999 10.375 7.9999 10.375Z"
fill="#4C4F5A" />
</svg>
<h1>HTML</h1>
<svg width="16" height="8" viewBox="0 0 16 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M8.7089 7.65105L14.8704 2.02908C15.1112 1.80937 15.2528 1.51212 15.2528 1.18902C15.2528 0.865913 15.1112 0.56866 14.8704 0.348951C14.6296 0.129241 14.3038 0 13.9497 0C13.5956 0 13.2698 0.129241 13.029 0.348951L7.75989 5.1567L2.49077 0.348951C2.24998 0.129241 1.9242 0 1.57009 0C1.21598 0 0.890202 0.129241 0.649409 0.336026C0.380287 0.568659 0.252808 0.878837 0.252808 1.18902C0.252808 1.48627 0.380286 1.78352 0.621079 2.02908C2.23581 3.51535 6.42844 7.3538 6.71173 7.6252L6.74006 7.65105C7.24998 8.11632 8.19898 8.11632 8.7089 7.65105Z"
fill="#4C4F5A" />
</svg>
</header>
<div class="code-content">
<code>
<span class="c-r"><div</span> <span class="c-y">class</span><span class="c-w">=</span><span class="c-g">"rect"</span><span class="c-r">></div></span>
</div>
</code>
</div>
</div>
<div class="code code-css">
<header>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M14.9999 6.675L13.1999 6.075C12.9999 5.975 12.8999 5.775 12.9999 5.675L13.8999 3.975C14.4999 2.775 13.1999 1.475 11.9999 2.075L10.2999 2.975C10.1999 3.075 9.9999 2.975 9.8999 2.775L9.2999 0.975C8.8999 -0.325 7.0999 -0.325 6.6999 0.975L6.0999 2.775C5.9999 2.975 5.7999 3.075 5.6999 2.975L3.9999 2.075C2.7999 1.475 1.4999 2.775 2.0999 3.975L2.9999 5.675C3.0999 5.775 2.9999 5.975 2.7999 6.075L0.999902 6.675C-0.300098 7.075 -0.300098 8.975 0.999902 9.375L2.7999 9.975C2.9999 9.975 3.0999 10.175 2.9999 10.275L2.0999 11.975C1.4999 13.175 2.7999 14.475 3.9999 13.875L5.6999 12.975C5.8999 12.875 6.0999 12.975 6.0999 13.175L6.6999 14.975C7.0999 16.275 8.9999 16.275 9.3999 14.975L9.9999 13.175C10.0999 12.975 10.2999 12.875 10.3999 12.975L12.0999 13.875C13.2999 14.475 14.5999 13.175 13.9999 11.975L12.9999 10.275C12.8999 10.075 12.9999 9.875 13.1999 9.875L14.9999 9.275C16.2999 8.875 16.2999 7.075 14.9999 6.675ZM7.9999 10.375C6.6999 10.375 5.5999 9.275 5.5999 7.975C5.5999 6.675 6.6999 5.575 7.9999 5.575C9.2999 5.575 10.3999 6.675 10.3999 7.975C10.3999 9.275 9.2999 10.375 7.9999 10.375Z"
fill="#4C4F5A" />
</svg>
<h1>CSS</h1>
<svg width="16" height="8" viewBox="0 0 16 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M8.7089 7.65105L14.8704 2.02908C15.1112 1.80937 15.2528 1.51212 15.2528 1.18902C15.2528 0.865913 15.1112 0.56866 14.8704 0.348951C14.6296 0.129241 14.3038 0 13.9497 0C13.5956 0 13.2698 0.129241 13.029 0.348951L7.75989 5.1567L2.49077 0.348951C2.24998 0.129241 1.9242 0 1.57009 0C1.21598 0 0.890202 0.129241 0.649409 0.336026C0.380287 0.568659 0.252808 0.878837 0.252808 1.18902C0.252808 1.48627 0.380286 1.78352 0.621079 2.02908C2.23581 3.51535 6.42844 7.3538 6.71173 7.6252L6.74006 7.65105C7.24998 8.11632 8.19898 8.11632 8.7089 7.65105Z"
fill="#4C4F5A" />
</svg>
</header>
<div class="code-content">
<code>
<p class="line-1"><span class="c-y">.rect</span> <span>{</span></p><br/><p class="line-2"><span class="c-p">background</span><span>:</span> <span class="c-y">linear-gradient</span>( </p><br/><p class="line-3"><span class="c-o">-119deg</span>,</p><br/><p class="line-4"><span class="c-y">gray</span> <span class="c-o">0%</span>,</p><br/><p class="line-5"><span class="c-y">dark-gray</span> <span class="c-o">100%</span>);}</p>
</code>
</div>
</div>
<div class="code code-js">
<header>
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M14.9999 6.675L13.1999 6.075C12.9999 5.975 12.8999 5.775 12.9999 5.675L13.8999 3.975C14.4999 2.775 13.1999 1.475 11.9999 2.075L10.2999 2.975C10.1999 3.075 9.9999 2.975 9.8999 2.775L9.2999 0.975C8.8999 -0.325 7.0999 -0.325 6.6999 0.975L6.0999 2.775C5.9999 2.975 5.7999 3.075 5.6999 2.975L3.9999 2.075C2.7999 1.475 1.4999 2.775 2.0999 3.975L2.9999 5.675C3.0999 5.775 2.9999 5.975 2.7999 6.075L0.999902 6.675C-0.300098 7.075 -0.300098 8.975 0.999902 9.375L2.7999 9.975C2.9999 9.975 3.0999 10.175 2.9999 10.275L2.0999 11.975C1.4999 13.175 2.7999 14.475 3.9999 13.875L5.6999 12.975C5.8999 12.875 6.0999 12.975 6.0999 13.175L6.6999 14.975C7.0999 16.275 8.9999 16.275 9.3999 14.975L9.9999 13.175C10.0999 12.975 10.2999 12.875 10.3999 12.975L12.0999 13.875C13.2999 14.475 14.5999 13.175 13.9999 11.975L12.9999 10.275C12.8999 10.075 12.9999 9.875 13.1999 9.875L14.9999 9.275C16.2999 8.875 16.2999 7.075 14.9999 6.675ZM7.9999 10.375C6.6999 10.375 5.5999 9.275 5.5999 7.975C5.5999 6.675 6.6999 5.575 7.9999 5.575C9.2999 5.575 10.3999 6.675 10.3999 7.975C10.3999 9.275 9.2999 10.375 7.9999 10.375Z"
fill="#4C4F5A" />
</svg>
<h1>JS</h1>
<svg width="16" height="8" viewBox="0 0 16 8" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M8.7089 7.65105L14.8704 2.02908C15.1112 1.80937 15.2528 1.51212 15.2528 1.18902C15.2528 0.865913 15.1112 0.56866 14.8704 0.348951C14.6296 0.129241 14.3038 0 13.9497 0C13.5956 0 13.2698 0.129241 13.029 0.348951L7.75989 5.1567L2.49077 0.348951C2.24998 0.129241 1.9242 0 1.57009 0C1.21598 0 0.890202 0.129241 0.649409 0.336026C0.380287 0.568659 0.252808 0.878837 0.252808 1.18902C0.252808 1.48627 0.380286 1.78352 0.621079 2.02908C2.23581 3.51535 6.42844 7.3538 6.71173 7.6252L6.74006 7.65105C7.24998 8.11632 8.19898 8.11632 8.7089 7.65105Z"
fill="#4C4F5A" />
</svg>
</header>
<div class="code-content">
<code>
<span class="c-y">var</span> <span class="c-b">colors</span> = [<span class="c-g">“#74B087”</span>, <span class="c-g">“#DE7300”</span>, <span class="c-g">“#74B087”</span>];<br/><br/>
<span class="c-c">// Function</span><br/>
<span class="c-y">function</span> <span class="c-b">animate</span>() {}
</code>
</div>
</div>
<div id="wrap">
<div class="editor-block">
<div class="about-text-container">
<h1 class="about-text-header">About <span style=" -webkit-text-stroke-color: var(--primary);">Me.</span></h1>
<p class="about-text-body"></p>
</div>
</div>
</div>
</div>
</div>
<section class="stats">
<div class="stats-container">
<div class="stat">
<div class="stat-line"></div>
<div class="stat-title">Projects</div>
<div class="stat-value">2<span>+</span></div>
</div>
<div class="stat">
<div class="stat-line"></div>
<div class="stat-title">Experience</div>
<div class="stat-value">5<span> Yrs</span></div>
</div>
<div class="stat">
<div class="stat-line"></div>
<div class="stat-title">Lines of code</div>
<div class="stat-value">100,000<span>+</span></div>
</div>
<div class="stat">
<div class="stat-line"></div>
<div class="stat-title">happy clients</div>
<div class="stat-value">100<span>%</span></div>
</div>
</div>
</section>
<section class="tech">
<div class="tech-container">
<div class="tech-title">
<div class="tech-title-line"></div>
<div class="tech-title-text">LANGUAGES</div>
</div>
<div class="tech-content">
<div class="tech-content-logos">
<i class="fa-brands fa-html5"></i>
<i class="fa-brands fa-css3-alt"></i>
<i class="fa-brands fa-js"></i>
<i class="fa-brands fa-github"></i>
<i class="fa-brands fa-python"></i>
<i class="fa-brands fa-java"></i>
<i class="fa-brands fa-linux"></i>
<i class="fa-brands fa-figma"></i>
<i class="fa-brands fa-php"></i>
<i class="fa-brands fa-html5"></i>
<i class="fa-brands fa-css3-alt"></i>
<i class="fa-brands fa-js"></i>
<i class="fa-brands fa-github"></i>
<i class="fa-brands fa-python"></i>
<i class="fa-brands fa-java"></i>
<i class="fa-brands fa-linux"></i>
<i class="fa-brands fa-figma"></i>
<i class="fa-brands fa-php"></i>
</div>
</div>
</div>
</section>
<section class="cards">
<div class="cards-header">
<div class="cards-header-line"></div>
<h1 class="cards-header-text">What I Offer<span style="color: var(--primary);">.</span></h1>
</div>
<div id="card-wrap">
<div class="card-shiny c1">
<h1 class="cards-title">Hand<br><span style="color: var(--primary);">Coded.</span></h1>
<p class="cards-body">Every website I create is hand-coded from scratch using HTML, CSS, and JavaScript. No templates, no shortcuts—just unique, tailored designs that make your brand stand out. I invest time and care into crafting websites that are fast, functional, and perfectly suited to your needs.</p>
</div>
<div class="card-shiny c2">
<h1 class="cards-title">Responsive <span style="color: var(--primary);">Pages.</span></h1>
<p class="cards-body">Your website will look great on any device, from desktops to smartphones. I ensure that each design is fully responsive, so your customers have the best experience no matter how they view your site.</p>
</div>
<div class="card-shiny c3">
<h1 class="cards-title">User-Centric <span style="color: var(--primary);">Design.</span></h1>
<p class="cards-body">I specialize in creating visually impressive as well as user-friendly designs. My goal is to build a site that not only looks good but also ensures your visitors can easily navigate and find what they’re looking for.</p>
</div>
<div class="card-shiny c4">
<h1 class="cards-title">Backend <span style="color: var(--primary);">Integration.</span></h1>
<p class="cards-body">I can set up secure, scalable systems that work smoothly in the background, managing everything from user accounts to online forms. All without unnecessary complexity.</p>
</div>
<div class="card-shiny c5">
<h1 class="cards-title">SEO <span style="color: var(--primary);">Optimization.</span></h1>
<p class="cards-body">I don’t just build websites that look great—I also ensure they perform well on search engines, giving your site the best chance to be seen by the right audience.</p>
</div>
<div class="card-shiny c6">
<h1 class="cards-title">Ongoing <span style="color: var(--primary);">Support.</span></h1>
<p class="cards-body">Once your website is live, my work doesn't stop there. I offer ongoing support and maintenance, ensuring your site remains updated and continues running smoothly over time.</p>
</div>
</div>
</section>
<br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br />
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.5/ScrollTrigger.min.js"></script>
<script src="https://unpkg.com/[email protected]/dist/lenis.min.js"></script>
<script src="https://kit.fontawesome.com/a3a3e0a7ef.js" crossorigin="anonymous"></script>
<script src="js/index.js"></script>
<script src="js/gsap.js"></script>
<script>
// smooth scroll
// Initialize Lenis
const lenis = new Lenis();
// Listen for the scroll event and log the event data
lenis.on('scroll', (e) => {
console.log(e);
});
// Use requestAnimationFrame to continuously update the scroll
function raf(time) {
lenis.raf(time);
requestAnimationFrame(raf);
}
requestAnimationFrame(raf);
</script>
</html>