Skip to content

Commit 48e16c0

Browse files
committed
feat: balance mobile responsiveness, add rotary
1 parent b528ac0 commit 48e16c0

5 files changed

Lines changed: 86 additions & 32 deletions

File tree

index.html

Lines changed: 30 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<!-- LINK -->
2020
<link rel="me" href="#">
2121
<link rel="canonical" href="#">
22-
<link rel="icon" type="image/png" href="favicon.ico" sizes="48x48">
22+
<link rel="icon" type="image/png" href="public/favicon.ico" sizes="48x48">
2323
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
2424
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
2525
crossorigin="anonymous" referrerpolicy="no-referrer" />
@@ -76,12 +76,13 @@
7676
<!-- COPYWRITING -->
7777
<div>
7878
<h1>Are zombies supposed to be full of life?</h1>
79-
<p class="ui-text-intro">Wechuli Simiyu, a medical doctor and a
79+
<p class="ui-text-intro">Wechuli Simiyu, a Rotarian, a medical doctor and a
8080
self taught full stack web developer. Currently using these skills to improve access
8181
to basic education, and healthcare.</p>
8282
<!-- CTA -->
8383
<div class="ui-component-cta ui-layout-flex">
84-
<a href="mailto:wechuli07@gmail.com" role="link" aria-label="#"
84+
<a href="mailto:wechuli07@gmail.com?subject=Website%20Inquiry%20from%20wechulisimiyu.github.io&body=Hi%20Wechuli%2C%0A%0AI%20saw%20your%20site%20and%20would%20like%20to%20talk%20about%20a%20project.%20Please%20get%20back%20to%20me%20when%20you%27re%20available.%0A%0AThanks%2C%0A"
85+
role="link" aria-label="Email Wechuli" title="Email Wechuli"
8586
class="ui-component-button ui-component-button-normal ui-component-button-primary">Let's talk more</a>
8687
<p class="ui-text-note"><small>Send me an email</small></p>
8788
</div>
@@ -91,13 +92,10 @@ <h1>My tools of trade</h1>
9192
<p class="ui-text-intro">I (somewhat successfully) diagnose life's mysteries with a toolkit of my own.</p>
9293
<ul class="ui-component-list ui-component-list-feature ui-layout-grid">
9394
<li class="ui-component-list--item ui-component-list--item-check">The Power of Friendship</li>
94-
<li class="ui-component-list--item ui-component-list--item-check">NodeJs with AdonisJs, Typescript</li>
95-
<li class="ui-component-list--item ui-component-list--item-check">MongoDB, and PostgreSQL</li>
96-
<li class="ui-component-list--item ui-component-list--item-check">Django, and the Django Rest Framework
97-
</li>
98-
<li class="ui-component-list--item ui-component-list--item-check">Cloud with Azure</li>
99-
<li class="ui-component-list--item ui-component-list--item-check">RAG with LlamaIndex and Langachain</li>
100-
<li class="ui-component-list--item ui-component-list--item-check">Lately, PHP too</li>
95+
<li class="ui-component-list--item ui-component-list--item-check">Backend: Build reliable APIs and services</li>
96+
<li class="ui-component-list--item ui-component-list--item-check">Frontend: Create usable, fast interfaces</li>
97+
<li class="ui-component-list--item ui-component-list--item-check">Cloud: Deploy resilient infra (AWS, Azure, self-host)</li>
98+
<li class="ui-component-list--item ui-component-list--item-check">Integrations: Automate email, social, and AI workflows</li>
10199
</ul>
102100
</div>
103101
</div>
@@ -108,21 +106,23 @@ <h1>My tools of trade</h1>
108106
<!-- Building -->
109107
<div class="ui-layout-column-6 ui-layout-column-center">
110108
<h1>Bob the Builder</h1>
111-
<p class="ui-text-intro">I fancy myself an innovator in the making. With support and help, I am building...</p>
109+
<p class="ui-text-intro">I fancy myself an innovator in the making. With support and help, I am building...
110+
</p>
112111
</div>
113112
<!-- FEATURE -->
114113
<div class="ui-section-content--feature ui-layout-grid ui-layout-grid-3">
115-
<!-- <div>
114+
<!-- <div>
116115
<img src="https://res.cloudinary.com/drgmee3w5/image/upload/v1702061280/portfolio/AIL_mwdyqm.webp" alt="#" class="ui-section-content--icon">
117116
<h3>Afya Innovation Lab</h3>
118117
<p>Building capacity for collaborative healthcare innovation for Africa and the globe</p>
119118
</div> -->
120119
<div>
121-
<img src="https://res.cloudinary.com/drgmee3w5/image/upload/v1702061264/portfolio/MBChB_For_Dummies___7_-removebg-preview_2_azb9vg.png" alt="#" class="ui-section-content--icon">
120+
<img src="public/juvenotes.webp" alt="Juvenotes logo" class="ui-section-content--icon ui-img-responsive ui-logo-small">
122121
<h3>Juvenotes</h3>
123-
<p>An aggregated platform for healthcare education, built for the African Healthcare System, and the world</p>
122+
<p>An aggregated platform for healthcare education, built for the African Healthcare System, and the world
123+
</p>
124124
</div>
125-
<!-- <div>
125+
<!-- <div>
126126
<img src="https://res.cloudinary.com/drgmee3w5/image/upload/v1702062134/portfolio/Spin-1s-200px_ejdtlg.gif" alt="#" class="ui-section-content--icon">
127127
<h3>Datafurl</h3>
128128
<p>Still in ideation</p>
@@ -132,7 +132,7 @@ <h3>Datafurl</h3>
132132
</section>
133133
<section class="ui-section-project" id="projects">
134134
<div class="ui-layout-container">
135-
<h1>Freelance Projects</h1>
135+
<h1>Volunteering</h1>
136136
<h4>Link in bold</h4>
137137
<div class="ui-section-project__layout ui-layout-grid ui-layout-grid-2">
138138
<div>
@@ -142,6 +142,11 @@ <h4 class="ui-component-list--item ui-section-project--question">Leave No Medic
142142
Association of Medical Students of the University of Nairobi (AMSUN) to meet the financial needs of
143143
underprivileged students in the School of Medicine.</p>
144144
</div>
145+
<div>
146+
<img src="public/RCNN.webp" alt="Rotary Nairobi North logo" class="ui-img-responsive ui-logo-small" style="margin-bottom:.5rem;">
147+
<h4 class="ui-component-list--item ui-section-project--question">Rotary Nairobi North</h4>
148+
<p class="ui-section-project--answer">Rotary Nairobi North is a community-focused Rotary chapter working on local service projects, youth programs, and health initiatives. I serve as the PR Director, overseeing public relations and communications to raise awareness and mobilize support.</p>
149+
</div>
145150
<!--
146151
<div>
147152
<h4 class="ui-component-list--item ui-section-project--question">Mhealth4Africa</h4>
@@ -151,7 +156,7 @@ <h4 class="ui-component-list--item ui-section-project--question">Mhealth4Africa<
151156
centric solutions.</p>
152157
</div>
153158
-->
154-
<!-- <div>
159+
<!-- <div>
155160
<h4 class="ui-component-list--item ui-section-project--question">Western Medical Society</h4>
156161
<p class="ui-section-project--answer"><a href="https://westernmedicalsociety.org/" target="_blank"><b
157162
style="color: cadetblue;">Currently in development</b></a>, a community of healthcare professionals from Western and Nyanza Regions</p>
@@ -167,16 +172,18 @@ <h4 class="ui-component-list--item ui-section-project--question">Students' Surgi
167172
style="color: cadetblue;">Currently in development</b></a>, a platform for medical students that promotes interest in surgert and equips students with surgical skills.</p>
168173
</div> -->
169174
</div>
170-
<p class="ui-section-project--note">Want to have a conversation? <a href="mailto:wechuli07@gmail.com"
171-
aria-label="Email me" style="color: cadetblue;" target="_blank">Reach out</a>.</p>
175+
<p class="ui-section-project--note">Want to have a conversation? <a
176+
href="mailto:wechuli07@gmail.com?subject=Project%20Enquiry&body=Hi%20Wechuli%2C%0A%0AI%20would%20like%20to%20discuss%20a%20project%20with%20you.%20Please%20reply%20when%20convenient.%0A%0ARegards%2C%0A"
177+
aria-label="Email Wechuli about a project" title="Email Wechuli" style="color: cadetblue;">Reach out</a>.
178+
</p>
172179
</div>
173180
</section>
174181
</main>
175182
<footer role="contentinfo" class="ui-section-footer" id="footer">
176183
<div class="ui-layout-container">
177184
<div class="ui-section-footer__layout ui-layout-flex">
178185
<!-- COPYRIGHT -->
179-
<p class="ui-section-footer--copyright ui-text-note"><small>&copy; Wechuli</small></p>
186+
<p class="ui-section-footer--copyright ui-text-note"><small>&copy; Wechuli Simiyu</small></p>
180187
<!-- SOCIALS MENU -->
181188
<a href="https://www.linkedin.com/in/wechuli-eugene/" role="link" aria-label="linkedin profile" target="_blank">
182189
<i class="fa-brands fa-linkedin-in"></i>
@@ -187,12 +194,13 @@ <h4 class="ui-component-list--item ui-section-project--question">Students' Surgi
187194
<a href="https://twitter.com/wechuli_" role="link" aria-label="twitter account">
188195
<i class="fa-brands fa-x-twitter"></i>
189196
</a>
190-
<a href="mailto:wechuli07@gmail.com" role="link" aria-label="email">
197+
<a href="mailto:wechuli07@gmail.com?subject=Website%20Contact&body=Hi%20Wechuli%2C%0A%0AI%20found%20your%20site%20and%20wanted%20to%20reach%20out.%0A"
198+
role="link" aria-label="Email Wechuli" title="Email Wechuli">
191199
<i class="fa-regular fa-envelope"></i>
192200
</a>
193201
</div>
194202
</div>
195203
</footer>
196204
</body>
197205

198-
</html>
206+
</html>

public/RCNN.webp

58.1 KB
Loading
File renamed without changes.

public/juvenotes.webp

23.3 KB
Loading

style.css

Lines changed: 56 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ svg {
255255
display: block;
256256
font-weight: 700;
257257
line-height: 1;
258-
text-align: center;
258+
text-align: left;
259259
text-decoration: none;
260260
}
261261

@@ -399,6 +399,41 @@ div label[for=ui-component-toggle__yearly] {
399399

400400
.ui-section-header--menu-icon::before { top: .3125rem; }
401401

402+
/*--------------------------------------------------------------
403+
Responsive image helpers and small-screen tweaks
404+
Keep minimal — ensures `public/juvenotes.webp` and `public/RCNN.webp` scale
405+
--------------------------------------------------------------*/
406+
407+
.ui-img-responsive { display:block; max-width:100%; height:auto; }
408+
.ui-logo-small { max-width:220px; height:auto; }
409+
410+
/* section layout tweaks for narrow viewports */
411+
@media (max-width: 600px) {
412+
:root {
413+
--ui-typography-h1: 1.5rem;
414+
--ui-layout-grid: 1.5rem;
415+
}
416+
417+
.ui-section-hero__layout { grid-template-columns: 1fr; gap: 1rem; }
418+
.ui-section-content--feature { grid-template-columns: 1fr; gap: 1rem; }
419+
.ui-section-project__layout { grid-template-columns: 1fr; gap: 1rem; }
420+
421+
/* ensure header nav stacks and hamburger is usable */
422+
.ui-section-header__layout { align-items: center; }
423+
.ui-section-header--nav { flex-direction: column; gap: .5rem; }
424+
425+
/* Tighten space between sections on mobile: keep only hero bottom padding and a small column bottom margin */
426+
.ui-section-hero { padding-bottom: 2rem; }
427+
/* Small extra bottom space for centered column to avoid overlap with the feature */
428+
.ui-layout-column-6.ui-layout-column-center { margin-bottom: .75rem; }
429+
}
430+
431+
@media (min-width: 601px) and (max-width: 1024px) {
432+
.ui-section-hero__layout { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
433+
.ui-section-project__layout { grid-template-columns: 1fr 1fr; }
434+
}
435+
436+
402437
.ui-section-header--menu-icon::after { top: .6875rem; }
403438

404439
#ui-section-header--menu-id:checked ~
@@ -448,15 +483,15 @@ div label[for=ui-component-toggle__yearly] {
448483
--------------------------------------------------------------*/
449484

450485
.ui-section-hero {
451-
padding-bottom: 5rem;
486+
padding-bottom: 3rem;
452487
padding-top: 5rem;
453-
text-align: center;
488+
text-align: left;
454489
}
455490

456491
.ui-section-hero__layout { row-gap: var(--ui-gap-hero); }
457492

458493
.center-content {
459-
text-align: center;
494+
text-align: left;
460495
}
461496

462497
/*--------------------------------------------------------------
@@ -508,7 +543,7 @@ div label[for=ui-component-toggle__yearly] {
508543
background-color: var(--ui-color-background-secondary);
509544
padding-bottom: 5rem;
510545
padding-top: 5rem;
511-
text-align: center;
546+
text-align: left;
512547
}
513548

514549
.ui-section-pricing__layout {
@@ -570,7 +605,7 @@ div label[for=ui-component-toggle__yearly] {
570605
.ui-section-testimonial {
571606
padding-bottom: 5rem;
572607
padding-top: 5rem;
573-
text-align: center;
608+
text-align: left;
574609
}
575610

576611
.ui-section-testimonial__layout {
@@ -611,7 +646,7 @@ div label[for=ui-component-toggle__yearly] {
611646

612647
.ui-section-project--answer { padding-left: 1.875rem; }
613648

614-
.ui-section-project--note { text-align: center; }
649+
.ui-section-project--note { text-align: left; }
615650

616651
/*--------------------------------------------------------------
617652
|
@@ -623,7 +658,7 @@ div label[for=ui-component-toggle__yearly] {
623658
background-color: var(--ui-color-background-secondary);
624659
padding-bottom: 5rem;
625660
padding-top: 5rem;
626-
text-align: center;
661+
text-align: left;
627662
}
628663

629664
/*--------------------------------------------------------------
@@ -654,8 +689,8 @@ div label[for=ui-component-toggle__yearly] {
654689

655690
.ui-section-content {
656691
padding-bottom: 2em;
657-
padding-top: 5rem;
658-
text-align: center;
692+
padding-top: 1.5rem;
693+
text-align: left;
659694
}
660695

661696
.ui-section-content--image {
@@ -1098,4 +1133,15 @@ div label[for=ui-component-toggle__yearly] {
10981133
padding-top: 3rem;
10991134
}
11001135

1136+
}
1137+
1138+
/* Ensure the first feature card (Juvenotes) sits visually in the middle column
1139+
- on medium screens (two-column grid) span full width and center
1140+
- on large screens (three-column grid) place in the middle column */
1141+
@media screen and (min-width: 48rem) and (max-width: 63.99rem) {
1142+
.ui-layout-grid-3 > div:first-of-type { grid-column: 1 / -1; justify-self: center; }
1143+
}
1144+
1145+
@media screen and (min-width: 64rem) {
1146+
.ui-layout-grid-3 > div:first-of-type { grid-column: 2 / 3; justify-self: center; }
11011147
}

0 commit comments

Comments
 (0)