-
Notifications
You must be signed in to change notification settings - Fork 0
Add Services section with enhanced navigation and UX features #5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| adamu.tech |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -221,6 +221,76 @@ | |||||
| user-select: none; | ||||||
| } | ||||||
|
|
||||||
| /* Services Section */ | ||||||
| .services-grid { | ||||||
| display: grid; | ||||||
| grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); | ||||||
| gap: 1.8rem; | ||||||
| } | ||||||
| .service-card { | ||||||
| background: white; | ||||||
| border-radius: 10px; | ||||||
| box-shadow: 0 2px 10px rgba(11, 61, 145, 0.1); | ||||||
| padding: 2rem; | ||||||
| transition: transform 0.3s ease, box-shadow 0.3s ease; | ||||||
| border-left: 4px solid var(--accent-color); | ||||||
| } | ||||||
| .service-card:hover { | ||||||
| transform: translateY(-5px); | ||||||
| box-shadow: 0 8px 25px rgba(11, 61, 145, 0.2); | ||||||
| } | ||||||
| .service-card h3 { | ||||||
| margin-top: 0; | ||||||
| color: var(--primary-color); | ||||||
| font-size: 1.4rem; | ||||||
| margin-bottom: 1rem; | ||||||
| } | ||||||
| .service-card p { | ||||||
| color: var(--muted-text); | ||||||
| font-size: 1rem; | ||||||
| line-height: 1.7; | ||||||
| } | ||||||
| .service-card .service-icon { | ||||||
| font-size: 2.5rem; | ||||||
| margin-bottom: 1rem; | ||||||
| display: block; | ||||||
| } | ||||||
|
|
||||||
| /* Smooth Scrolling */ | ||||||
| html { | ||||||
| scroll-behavior: smooth; | ||||||
| } | ||||||
|
|
||||||
| /* Back to Top Button */ | ||||||
| .back-to-top { | ||||||
| position: fixed; | ||||||
| bottom: 2rem; | ||||||
| right: 2rem; | ||||||
| background-color: var(--accent-color); | ||||||
| color: white; | ||||||
| width: 50px; | ||||||
| height: 50px; | ||||||
| border-radius: 50%; | ||||||
| border: none; | ||||||
| cursor: pointer; | ||||||
| font-size: 1.5rem; | ||||||
| display: none; | ||||||
| align-items: center; | ||||||
| justify-content: center; | ||||||
| box-shadow: 0 4px 12px rgba(0, 122, 204, 0.3); | ||||||
| transition: background-color 0.3s ease, transform 0.3s ease; | ||||||
| z-index: 99; | ||||||
| } | ||||||
| .back-to-top:hover, | ||||||
| .back-to-top:focus { | ||||||
| background-color: var(--primary-color); | ||||||
| transform: translateY(-3px); | ||||||
| outline: none; | ||||||
| } | ||||||
| .back-to-top.visible { | ||||||
| display: flex; | ||||||
| } | ||||||
|
|
||||||
| /* Responsive nav for small screens */ | ||||||
| @media (max-width: 700px) { | ||||||
| header { | ||||||
|
|
@@ -238,21 +308,51 @@ | |||||
| <header> | ||||||
| <h1>Adamu Danjuma</h1> | ||||||
| <nav aria-label="Primary Navigation"> | ||||||
| <a href="#portfolio">Portfolio</a> | ||||||
| <a href="#about">About Me</a> | ||||||
| <a href="#services">Services</a> | ||||||
| <a href="#cv">CV</a> | ||||||
| <a href="#blog">Blog</a> | ||||||
| <a href="#contact">Contact</a> | ||||||
| <a href="#contact">Contact Me</a> | ||||||
| </nav> | ||||||
| </header> | ||||||
|
|
||||||
| <main> | ||||||
| <section class="hero" aria-label="Introduction"> | ||||||
| <!-- About Me Section --> | ||||||
| <section id="about" class="hero" aria-label="Introduction"> | ||||||
|
||||||
| <section id="about" class="hero" aria-label="Introduction"> | |
| <section id="about" class="hero" aria-label="About Me"> |
Copilot
AI
Dec 16, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The aria-label "Portfolio" doesn't match the section's actual purpose (CV) or the heading text. The aria-label should be "CV" or "Curriculum Vitae" to accurately describe the section content and align with the navigation link.
| <section id="cv" aria-label="Portfolio"> | |
| <section id="cv" aria-label="CV"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The navigation links lack ARIA current-page indicators for better screen reader navigation. Consider adding aria-current="page" to the active link to help users understand which section they're currently viewing.