about, home changes

This commit is contained in:
2026-11-16 07:42:08 +05:45
parent eb419b2696
commit d5bae0055b
10 changed files with 390 additions and 92 deletions
+280 -60
View File
@@ -3187,8 +3187,9 @@ button {
.nav__item--dropdown .dropdown { .nav__item--dropdown .dropdown {
position: static; position: static;
display: none; display: none;
width: 100%;
min-width: 0; min-width: 0;
padding: 4px 0 8px 16px; padding: 4px 0 8px;
border: 0; border: 0;
background: transparent; background: transparent;
box-shadow: none; box-shadow: none;
@@ -3197,13 +3198,11 @@ button {
transform: none; transform: none;
} }
.nav__item--dropdown.is-open .dropdown, .nav__item--dropdown.is-open > .dropdown {
.nav__item--dropdown.is-open:hover .dropdown {
display: block; display: block;
} opacity: 1;
visibility: visible;
.nav__item--dropdown:hover .dropdown { transform: none;
display: none;
} }
.nav__item--dropdown.is-open .nav__chevron { .nav__item--dropdown.is-open .nav__chevron {
@@ -3211,7 +3210,19 @@ button {
} }
.dropdown__link { .dropdown__link {
padding: 10px 12px; display: flex;
align-items: center;
width: 100%;
min-height: 44px;
padding: 10px 12px 10px 24px;
border-radius: 8px;
color: var(--muted);
}
.dropdown__link:hover,
.dropdown__link:active {
background-color: var(--accent-soft);
color: #fff;
} }
.hero { .hero {
@@ -3655,8 +3666,18 @@ button {
.bc-head { margin-bottom: 36px; max-width: 620px; } .bc-head { margin-bottom: 36px; max-width: 620px; }
.bc-title { font-weight: 500; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; margin: 14px 0 0; } .bc-title { font-weight: 500; font-size: clamp(26px, 3.4vw, 34px); line-height: 1.2; margin: 14px 0 0; }
.bc-lead { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 12px; } .bc-lead { font-size: 14px; line-height: 1.7; color: var(--muted); margin-top: 12px; }
.bc-note { font-size: 13px; line-height: 1.7; color: var(--muted); margin-top: 28px; padding-left: 14px; border-left: 2px solid var(--red); max-width: 64ch; } .bc-note {
display: block;
position: relative;
font-size: 13px;
line-height: 1.7;
color: var(--muted);
margin-top: 34px !important;
padding-left: 12px !important;
border-left: 2px solid var(--red);
max-width: none;
clear: both;
}
.bootcamps-page .btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.7); } .bootcamps-page .btn--ghost { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,.7); }
.bootcamps-page .btn--ghost:hover { background: var(--white); color: var(--bg); } .bootcamps-page .btn--ghost:hover { background: var(--white); color: var(--bg); }
@@ -3710,14 +3731,23 @@ button {
.camp__media { aspect-ratio: 3 / 2; overflow: hidden; } .camp__media { aspect-ratio: 3 / 2; overflow: hidden; }
.camp__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; } .camp__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.camp:hover .camp__media img { transform: scale(1.06); } .camp:hover .camp__media img { transform: scale(1.06); }
.camp__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; } .camp__body { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 22px 24px 24px; }
.camp__tag { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; } .camp__tag { font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.camp__title { font-weight: 500; font-size: 18px; line-height: 1.3; margin-bottom: 8px; } .camp__title { font-weight: 500; font-size: 18px; line-height: 1.3; }
.camp__text { font-size: 13px; line-height: 1.6; margin-bottom: 16px; } .camp__text { flex: 1; font-size: 13px; line-height: 1.5; }
.camp__meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 18px; margin-top: auto; } .camp__meta { display: flex; flex-wrap: nowrap; gap: 16px; color: var(--muted); }
.camp__meta li { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; } .camp__meta li { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.camp__meta svg { width: 14px; height: 14px; } .camp__meta svg { width: 14px; height: 14px; }
.camp__btn { align-self: flex-start; } .camp__btn {
display: inline-flex;
align-self: flex-start;
width: auto;
margin-top: 8px;
padding: 12px 26px;
border-radius: var(--radius-pill);
font-size: 15px;
font-weight: 500;
}
/* ---------- Steps ---------- */ /* ---------- Steps ---------- */
.bc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; } .bc-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@@ -3729,26 +3759,130 @@ button {
/* ---------- CTA ---------- */ /* ---------- CTA ---------- */
.bc-cta { .bc-cta {
position: relative; overflow: hidden; text-align: center; padding: 90px 0; position: relative;
background: linear-gradient(135deg, #0D0D0D 0%, #0D0D0D 45%, rgba(189,37,42,.6) 100%), #0D0D0D; overflow: hidden;
text-align: center;
padding: 72px 0;
background-color: var(--bg);
background-image: url('../img/cta/cta.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
.bc-cta::before,
.bc-cta::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
}
.bc-cta::before { background: rgba(0, 0, 0, .6); }
.bc-cta::after {
background: radial-gradient(circle at 100% 100%, var(--red) 0%, transparent 60%);
opacity: .55;
}
.bc-cta > .container { position: relative; z-index: 1; }
.bc-cta__inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
max-width: 640px;
margin: 0 auto;
transition: opacity .6s ease, transform .6s ease;
}
.bc-cta__inner.is-reveal-pending { opacity: 0; transform: translateY(20px); }
.bc-cta__inner.is-reveal-visible { opacity: 1; transform: none; }
.bc-cta__title {
color: #fff;
font-weight: 700;
font-size: clamp(28px, 4vw, 40px);
line-height: 1.2;
}
.bc-cta__text {
max-width: 560px;
margin: 0;
color: rgba(255, 255, 255, .85);
font-size: 15px;
line-height: 1.5;
}
.bc-cta__actions {
display: flex;
align-items: center;
justify-content: center;
flex-wrap: wrap;
gap: 12px;
margin-top: 12px;
}
.bc-cta .btn {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: auto;
max-width: none;
padding: 12px 28px;
border-radius: var(--radius-pill);
font-size: 15px;
font-weight: 500;
overflow: hidden;
transition: transform .25s ease,
background-color .25s ease,
border-color .25s ease,
box-shadow .25s ease,
color .25s ease;
}
.bc-cta .btn--primary {
background-color: var(--red);
color: #fff;
box-shadow: 0 10px 26px rgba(189, 37, 42, .32);
}
.bc-cta .btn--primary:hover {
background-color: var(--red);
box-shadow: 0 16px 34px rgba(189, 37, 42, .5);
transform: translateY(-2px);
}
.bc-cta .btn--ghost {
border: 1px solid rgba(255, 255, 255, .6);
background-color: transparent;
color: #fff;
box-shadow: none;
}
.bc-cta .btn--ghost:hover {
border-color: rgba(255, 255, 255, .9);
background-color: rgba(255, 255, 255, .12);
color: #fff;
transform: translateY(-2px);
}
.bc-cta .btn:active { transform: translateY(0) scale(.97); }
.bc-cta .btn__ripple {
position: absolute;
width: 14px;
height: 14px;
border-radius: 50%;
background: rgba(255, 255, 255, .45);
pointer-events: none;
transform: translate(-50%, -50%) scale(0);
animation: bc-cta-ripple .6s ease-out forwards;
}
@keyframes bc-cta-ripple {
to { transform: translate(-50%, -50%) scale(16); opacity: 0; }
} }
.bc-cta__inner { max-width: 640px; margin: 0 auto; }
.bc-cta__title { font-weight: 700; font-size: clamp(26px, 4vw, 38px); line-height: 1.2; margin-bottom: 14px; }
.bc-cta__text { font-size: 14px; line-height: 1.7; color: var(--muted); margin: 0 auto 28px; max-width: 500px; }
.bc-cta__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
/* ---------- Responsive ---------- */ /* ---------- Responsive ---------- */
@media (max-width: 992px) { @media (max-width: 992px) {
.bc-hero__inner { grid-template-columns: 1fr; gap: 36px; } .bc-hero__inner { grid-template-columns: 1fr; gap: 36px; }
.bc-grid { grid-template-columns: repeat(2, 1fr); } .bc-grid { grid-template-columns: repeat(2, 1fr); }
} }
@media (max-width: 768px) {
.bc-cta__title { font-size: clamp(26px, 7vw, 32px); }
.bc-cta__text { font-size: 14px; }
}
@media (max-width: 576px) { @media (max-width: 576px) {
.bc-hero { padding: 56px 0 48px; } .bc-hero { padding: 56px 0 48px; }
.bc-section { padding: 56px 0; } .bc-section { padding: 56px 0; }
.bc-grid, .bc-steps { grid-template-columns: 1fr; } .bc-grid, .bc-steps { grid-template-columns: 1fr; }
.bc-cta { padding: 64px 0; } .bc-cta { padding: 64px 0; }
.bc-cta__actions { flex-direction: column; align-items: center; }
.bc-cta__actions .btn { width: 100%; max-width: 320px; }
} }
@media (max-width: 992px) and (min-width: 577px) { .bc-steps { grid-template-columns: 1fr; } } @media (max-width: 992px) and (min-width: 577px) { .bc-steps { grid-template-columns: 1fr; } }
@@ -3756,6 +3890,10 @@ button {
@media (prefers-reduced-motion: reduce) { @media (prefers-reduced-motion: reduce) {
.bc-hero__copy > *, .glance { animation: none !important; opacity: 1 !important; transform: none !important; } .bc-hero__copy > *, .glance { animation: none !important; opacity: 1 !important; transform: none !important; }
.bootcamps-page * { transition: none !important; } .bootcamps-page * { transition: none !important; }
.bc-cta__inner { opacity: 1 !important; transform: none !important; }
.bc-cta .btn:hover,
.bc-cta .btn:active { transform: none !important; }
.bc-cta .btn__ripple { display: none !important; }
} }
/* ===== CERTIFICATION PAGE (certificate.php) ===== */ /* ===== CERTIFICATION PAGE (certificate.php) ===== */
@@ -3883,6 +4021,7 @@ button {
.cert-hero__title span { color: var(--cert-red); } .cert-hero__title span { color: var(--cert-red); }
.cert-hero__text { .cert-hero__text {
max-width: 620px; max-width: 620px;
margin-top: 12px !important;
color: var(--cert-muted); color: var(--cert-muted);
font-size: 15px; font-size: 15px;
line-height: 1.75; line-height: 1.75;
@@ -4339,38 +4478,127 @@ button {
.cert-cta { .cert-cta {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
padding: 90px 0; padding: 72px 0;
text-align: center; text-align: center;
background: linear-gradient(135deg, #0D0D0D 0%, #0D0D0D 45%, rgba(189, 37, 42, .6) 100%), #0D0D0D; background-color: var(--cert-bg);
background-image: url('../img/cta/cta.png');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
} }
.cert-cta__inner { max-width: 720px; margin: 0 auto; } .cert-cta::before,
.cert-cta__title { .cert-cta::after {
margin: 12px 0 14px; content: "";
color: var(--cert-white); position: absolute;
font-size: clamp(26px, 3.4vw, 36px); inset: 0;
font-weight: 500; pointer-events: none;
}
.cert-cta::before { background: rgba(0, 0, 0, .6); }
.cert-cta::after {
background: radial-gradient(circle at 100% 100%, var(--red) 0%, transparent 60%);
opacity: .55;
}
.cert-cta > .container { position: relative; z-index: 1; }
.cert-cta .cert-cta__inner {
display: flex;
flex-direction: column;
align-items: center;
max-width: 720px;
margin: 0 auto;
}
.cert-cta .cert-cta__title {
margin: 0;
color: #fff;
font-size: clamp(28px, 4vw, 40px);
font-weight: 700;
line-height: 1.2; line-height: 1.2;
} }
.cert-cta__text { .cert-cta .cert-cta__text {
max-width: 560px; max-width: 560px;
margin: 0 auto; margin: 12px 0 0;
color: var(--cert-muted); color: rgba(255, 255, 255, .85);
font-size: 14px; font-size: 15px;
line-height: 1.7; line-height: 1.5;
} }
.cert-cta__actions { .cert-cta .cert-cta__actions {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
align-items: center;
justify-content: center; justify-content: center;
gap: 14px; gap: 12px;
margin-top: 28px; margin-top: 24px;
} }
.cert-cta__note { .cert-cta .cert-cta__note {
margin-top: 20px; margin-top: 20px;
color: var(--cert-muted); color: var(--cert-muted);
font-size: 12px; font-size: 12px;
line-height: 1.6; line-height: 1.6;
} }
.cert-cta .eyebrow,
.cert-cta .cert-btn-arrow__icon { display: none; }
.cert-cta .cert-cta__actions .btn {
position: relative;
display: inline-flex;
align-items: center;
justify-content: center;
width: auto;
max-width: none;
padding: 12px 28px;
border: 1px solid transparent;
border-radius: var(--radius-pill);
font-size: 15px;
font-weight: 500;
line-height: 1;
white-space: nowrap;
overflow: hidden;
transition: transform .25s ease,
background-color .25s ease,
border-color .25s ease,
box-shadow .25s ease,
color .25s ease;
}
.cert-cta .cert-cta__actions .btn.btn--primary {
background-color: var(--red);
border-color: var(--red);
color: #fff;
box-shadow: 0 10px 26px rgba(189, 37, 42, .32);
}
.cert-cta .cert-cta__actions .btn.btn--primary:hover {
background-color: var(--red);
border-color: var(--red);
color: #fff;
box-shadow: 0 16px 34px rgba(189, 37, 42, .55);
transform: translateY(-2px);
}
.cert-cta .cert-cta__actions .btn.btn--ghost {
background-color: transparent;
border-color: rgba(255, 255, 255, .6);
color: #fff;
box-shadow: none;
}
.cert-cta .cert-cta__actions .btn.btn--ghost:hover {
background-color: rgba(255, 255, 255, .12);
border-color: rgba(255, 255, 255, .9);
color: #fff;
box-shadow: none;
transform: translateY(-2px);
}
.cert-cta .cert-cta__actions .btn:active {
transform: translateY(0) scale(.97);
}
.cert-cta .btn__ripple {
position: absolute;
width: 14px;
height: 14px;
border-radius: 50%;
background: rgba(255, 255, 255, .45);
pointer-events: none;
transform: translate(-50%, -50%) scale(0);
animation: cert-cta-ripple .6s ease-out forwards;
}
@keyframes cert-cta-ripple {
to { transform: translate(-50%, -50%) scale(16); opacity: 0; }
}
/* ---------- Responsive ---------- */ /* ---------- Responsive ---------- */
@media (max-width: 992px) { @media (max-width: 992px) {
@@ -4406,6 +4634,8 @@ button {
gap: 16px; gap: 16px;
align-items: start; align-items: start;
} }
.cert-cta .cert-cta__title { font-size: clamp(26px, 7vw, 32px); }
.cert-cta .cert-cta__text { font-size: 14px; }
} }
@media (max-width: 576px) { @media (max-width: 576px) {
@@ -4415,9 +4645,6 @@ button {
.cert-card, .cert-card,
.cert-present-card { padding: 22px; } .cert-present-card { padding: 22px; }
.cert-preview__card { padding: 28px 22px; } .cert-preview__card { padding: 28px 22px; }
.cert-cta { padding: 64px 0; }
.cert-cta__actions { flex-direction: column; align-items: center; }
.cert-cta__actions .btn { width: 100%; max-width: 320px; }
} }
/* ---------- Reduced motion ---------- */ /* ---------- Reduced motion ---------- */
@@ -4433,6 +4660,9 @@ button {
.cert-page *::after { transition: none !important; } .cert-page *::after { transition: none !important; }
.cert-preview__card { transform: none !important; } .cert-preview__card { transform: none !important; }
.cert-path::after { transform: none !important; } .cert-path::after { transform: none !important; }
.cert-cta .cert-cta__actions .btn:hover,
.cert-cta .cert-cta__actions .btn:active { transform: none !important; }
.cert-cta .btn__ripple { display: none !important; }
} }
/* ===== ABOUT PAGE (about.php) ===== */ /* ===== ABOUT PAGE (about.php) ===== */
@@ -5144,28 +5374,18 @@ button {
.about-journey { .about-journey {
grid-template-columns: 1fr; grid-template-columns: 1fr;
gap: 16px; gap: 16px;
padding-left: 28px;
margin-top: 32px; margin-top: 32px;
} }
.about-journey::before, .about-journey::before,
.about-journey::after { .about-journey::after { display: none; }
display: block; .about-journey__item {
top: 0; padding-top: 22px;
right: auto; padding-left: 66px;
left: 17px;
width: 2px;
height: 100%;
} }
.about-journey::after {
transform: scaleY(0);
transform-origin: top center;
}
.about-journey.about-lit::after { transform: scaleY(1); }
.about-journey__item { padding-top: 22px; }
.about-journey__num { .about-journey__num {
position: absolute; position: absolute;
top: 22px; top: 22px;
left: -26px; left: 22px;
margin-bottom: 0; margin-bottom: 0;
} }
} }
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 131 KiB

+72
View File
@@ -1322,3 +1322,75 @@
io.observe(media); io.observe(media);
io.observe(content); io.observe(content);
})(); })();
// ===== CTA SECTIONS: reveal + ripple =====
(function () {
'use strict';
function initCtaSections() {
var sections = Array.prototype.slice.call(
document.querySelectorAll('.bc-cta, .cert-cta')
);
var bootcampInner = document.querySelector('.bc-cta__inner');
var reduceMotion = window.matchMedia(
'(prefers-reduced-motion: reduce)'
).matches;
if (bootcampInner) {
if (reduceMotion || !('IntersectionObserver' in window)) {
bootcampInner.classList.add('is-reveal-visible');
} else {
bootcampInner.classList.add('is-reveal-pending');
var observer = new IntersectionObserver(function (entries) {
entries.forEach(function (entry) {
if (entry.isIntersecting) {
entry.target.classList.remove('is-reveal-pending');
entry.target.classList.add('is-reveal-visible');
observer.unobserve(entry.target);
}
});
}, { threshold: 0.2 });
observer.observe(bootcampInner);
}
}
if (reduceMotion || !sections.length) {
return;
}
sections.forEach(function (section) {
var buttons = Array.prototype.slice.call(
section.querySelectorAll('.btn')
);
buttons.forEach(function (button) {
button.addEventListener('click', function (event) {
var rect = button.getBoundingClientRect();
var hasPoint = event.clientX > 0 || event.clientY > 0;
var x = hasPoint ? event.clientX - rect.left : rect.width / 2;
var y = hasPoint ? event.clientY - rect.top : rect.height / 2;
var ripple = document.createElement('span');
ripple.className = 'btn__ripple';
ripple.style.left = x + 'px';
ripple.style.top = y + 'px';
button.appendChild(ripple);
ripple.addEventListener('animationend', function () {
if (ripple.parentNode) {
ripple.parentNode.removeChild(ripple);
}
});
});
});
});
}
if (document.readyState === 'loading') {
document.addEventListener('DOMContentLoaded', initCtaSections);
} else {
initCtaSections();
}
})();
+1
View File
@@ -159,6 +159,7 @@ include 'includes/header.php';
<!-- ============ CTA ============ --> <!-- ============ CTA ============ -->
<section class="bc-cta"> <section class="bc-cta">
<div class="container"> <div class="container">
<div class="bc-cta__inner"> <div class="bc-cta__inner">
<h2 class="bc-cta__title">Not sure which bootcamp fits?</h2> <h2 class="bc-cta__title">Not sure which bootcamp fits?</h2>
+3 -4
View File
@@ -135,12 +135,11 @@ include __DIR__ . '/includes/header.php';
<div class="cert-hero__content"> <div class="cert-hero__content">
<span class="eyebrow">Certification journey</span> <span class="eyebrow">Certification journey</span>
<h1 class="cert-hero__title"> <h1 class="cert-hero__title">
Make your learning<br> Make your learning visible<br>
<span>visible.</span> <!-- <span>visible.</span> -->
</h1> </h1>
<p class="cert-hero__text"> <p class="cert-hero__text">
Understand the proposed pathway from enrolment to certification. Review what Understand the journey from enrolment to certification and what to expect.
completion could involve—and the details to confirm before you begin.
</p> </p>
</div> </div>
</div> </div>
+4 -4
View File
@@ -251,25 +251,25 @@ $projects = [
[ [
'title' => 'A campaign from a single idea', 'title' => 'A campaign from a single idea',
'tag' => 'Digital Marketing', 'tag' => 'Digital Marketing',
'image' => 'https://picsum.photos/seed/student-project-campaign/1000/640', 'image' => 'assets/img/heroimage2.jpg',
'alt' => 'A marketing team planning a campaign with notes on a table', 'alt' => 'A marketing team planning a campaign with notes on a table',
], ],
[ [
'title' => 'A smarter business workflow', 'title' => 'A smarter business workflow',
'tag' => 'AI Automation', 'tag' => 'AI Automation',
'image' => 'https://picsum.photos/seed/student-project-workflow/1000/640', 'image' => 'assets/img/student.jpg',
'alt' => 'A professional mapping out an automated workflow', 'alt' => 'A professional mapping out an automated workflow',
], ],
[ [
'title' => 'Turning data into a clearer story', 'title' => 'Turning data into a clearer story',
'tag' => 'Data & Insights', 'tag' => 'Data & Insights',
'image' => 'https://picsum.photos/seed/student-project-data/1000/640', 'image' => 'assets/img/student.jpg',
'alt' => 'A student presenting data visualisations on a screen', 'alt' => 'A student presenting data visualisations on a screen',
], ],
[ [
'title' => 'A structured market research journal', 'title' => 'A structured market research journal',
'tag' => 'Research', 'tag' => 'Research',
'image' => 'https://picsum.photos/seed/student-project-research/1000/640', 'image' => 'assets/img/heroimage2.jpg',
'alt' => 'A researcher reviewing notes and market research documents', 'alt' => 'A researcher reviewing notes and market research documents',
], ],
]; ];
+23 -21
View File
@@ -2,7 +2,7 @@
<div class="container"> <div class="container">
<div class="footer-grid"> <div class="footer-grid">
<div class="footer-brand"> <div class="footer-brand">
<a class="logo" href="#home" aria-label="AI Institute — home"> <a class="logo" href="index.php" aria-label="AI Institute — home">
<img src="assets/img/logo.png" alt="AI Institute Logo" class="logo__image"> <img src="assets/img/logo.png" alt="AI Institute Logo" class="logo__image">
</a> </a>
<p class="footer-brand__text">Practical AI skills for your career, your business and the way you work every day.</p> <p class="footer-brand__text">Practical AI skills for your career, your business and the way you work every day.</p>
@@ -14,11 +14,11 @@
</li> </li>
<li class="footer-contact__item"> <li class="footer-contact__item">
<span class="footer-contact__icon"><?= icon('phone') ?></span> <span class="footer-contact__icon"><?= icon('phone') ?></span>
<a href="tel:+919876543210">+91 98765 43210</a> <a href="tel:+919876543210">+977 98000000</a>
</li> </li>
<li class="footer-contact__item"> <li class="footer-contact__item">
<span class="footer-contact__icon"><?= icon('map-pin') ?></span> <span class="footer-contact__icon"><?= icon('map-pin') ?></span>
<span>42 Knowledge Park, Bengaluru, India</span> <span>Buddhanagar, Kathmandu</span>
</li> </li>
</ul> </ul>
</div> </div>
@@ -26,48 +26,50 @@
<div class="footer-col"> <div class="footer-col">
<h4 class="footer-col__title">Academy</h4> <h4 class="footer-col__title">Academy</h4>
<ul class="footer-links"> <ul class="footer-links">
<li><a href="#home">Home</a></li> <li><a href="index.php">Home</a></li>
<li><a href="#why">About</a></li> <li><a href="about.php">About</a></li>
<li><a href="#projects">Student Work</a></li> <li><a href="index.php#projects">Student Work</a></li>
<li><a href="#contact">Contact</a></li> <li><a href="index.php#contact">Contact</a></li>
</ul> </ul>
</div> </div>
<div class="footer-col"> <div class="footer-col">
<h4 class="footer-col__title">Learn</h4> <h4 class="footer-col__title">Learn</h4>
<ul class="footer-links"> <ul class="footer-links">
<li><a href="#courses">Courses</a></li> <li><a href="courses.php">Courses</a></li>
<li><a href="#pathways">Bootcamps</a></li> <li><a href="bootcamps.php">Bootcamps</a></li>
<li><a href="#internship">Internship</a></li> <li><a href="internship.php">Internship</a></li>
<li><a href="#certification">Certification</a></li> <li><a href="certificate.php">Certification</a></li>
</ul> </ul>
</div> </div>
<div class="footer-col"> <div class="footer-col">
<h4 class="footer-col__title">Get started</h4> <h4 class="footer-col__title">Get started</h4>
<ul class="footer-links"> <ul class="footer-links">
<li><a href="#projects">Resources</a></li> <li><a href="index.php#projects">Resources</a></li>
<!-- TODO: no login page exists yet; update this link once one is available -->
<li><a href="#apply">Login</a></li> <li><a href="#apply">Login</a></li>
<li><a href="#apply">Apply Now</a></li> <li><a href="index.php#apply">Apply Now</a></li>
<li><a href="#contact">Talk to an Advisor</a></li> <li><a href="index.php#contact">Talk to an Advisor</a></li>
</ul> </ul>
</div> </div>
</div> </div>
<div class="footer-bottom"> <div class="footer-bottom">
<!-- TODO: replace "#" with the real LinkedIn, Instagram and YouTube URLs (add target="_blank" rel="noopener noreferrer" when real URLs are used) -->
<ul class="socials" aria-label="Social media"> <ul class="socials" aria-label="Social media">
<li> <li>
<a class="social-link" href="#contact" aria-label="AI Institute on LinkedIn"> <a class="social-link" href="#" aria-label="AI Institute on LinkedIn">
<?= icon('linkedin') ?> <?= icon('linkedin') ?>
</a> </a>
</li> </li>
<li> <li>
<a class="social-link" href="#contact" aria-label="AI Institute on Instagram"> <a class="social-link" href="#" aria-label="AI Institute on Instagram">
<?= icon('instagram') ?> <?= icon('instagram') ?>
</a> </a>
</li> </li>
<li> <li>
<a class="social-link" href="#contact" aria-label="AI Institute on YouTube"> <a class="social-link" href="#" aria-label="AI Institute on YouTube">
<?= icon('youtube') ?> <?= icon('youtube') ?>
</a> </a>
</li> </li>
@@ -76,14 +78,14 @@
<p class="footer-copy">&copy; <?= date('Y') ?> AI Institute. All rights reserved.</p> <p class="footer-copy">&copy; <?= date('Y') ?> AI Institute. All rights reserved.</p>
<ul class="footer-legal"> <ul class="footer-legal">
<li><a href="#contact">Privacy Policy</a></li> <li><a href="index.php#contact">Privacy Policy</a></li>
<li><a href="#contact">Terms of Use</a></li> <li><a href="index.php#contact">Terms of Use</a></li>
<li><a href="#contact">Accessibility</a></li> <li><a href="index.php#contact">Accessibility</a></li>
</ul> </ul>
</div> </div>
</div> </div>
</footer> </footer>
<script src="assets/js/main.js"></script> <script src="assets/js/main.js?v=<?= filemtime(dirname(__DIR__) . '/assets/js/main.js') ?>"></script>
</body> </body>
</html> </html>
+7 -3
View File
@@ -18,7 +18,7 @@ $activePage = $activePage ?? 'home';
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/style.css"> <link rel="stylesheet" href="assets/css/style.css?v=<?= filemtime(dirname(__DIR__) . '/assets/css/style.css') ?>">
<?php foreach (($extraCss ?? []) as $css): ?><link rel="stylesheet" href="<?= e($css) ?>"><?php endforeach; ?> <?php foreach (($extraCss ?? []) as $css): ?><link rel="stylesheet" href="<?= e($css) ?>"><?php endforeach; ?>
<noscript> <noscript>
@@ -56,11 +56,15 @@ $activePage = $activePage ?? 'home';
<li class="nav__item"> <li class="nav__item">
<a class="nav__link<?= $activePage === 'about' ? ' is-active' : '' ?>" href="about.php"<?= $activePage === 'about' ? ' aria-current="page"' : '' ?>>About</a> <a class="nav__link<?= $activePage === 'about' ? ' is-active' : '' ?>" href="about.php"<?= $activePage === 'about' ? ' aria-current="page"' : '' ?>>About</a>
</li> </li>
<a class="nav__link<?= $activePage === 'bootcamps' ? ' is-active' : '' ?>" href="bootcamps.php"<?= $activePage === 'bootcamps' ? ' aria-current="page"' : '' ?>>Bootcamps</a> <li class="nav__item">
<a class="nav__link<?= $activePage === 'bootcamps' ? ' is-active' : '' ?>" href="bootcamps.php"<?= $activePage === 'bootcamps' ? ' aria-current="page"' : '' ?>>Bootcamps</a>
</li>
<li class="nav__item"> <li class="nav__item">
<a class="nav__link<?= $activePage === 'internship' ? ' is-active' : '' ?>" href="internship.php"<?= $activePage === 'internship' ? ' aria-current="page"' : '' ?>>Internship</a> <a class="nav__link<?= $activePage === 'internship' ? ' is-active' : '' ?>" href="internship.php"<?= $activePage === 'internship' ? ' aria-current="page"' : '' ?>>Internship</a>
</li>
<li class="nav__item"> <li class="nav__item">
<a class="nav__link<?= $activePage === 'certification' ? ' is-active' : '' ?>" href="certificate.php"<?= $activePage === 'certification' ? ' aria-current="page"' : '' ?>>Certification</a> <a class="nav__link<?= $activePage === 'certification' ? ' is-active' : '' ?>" href="certificate.php"<?= $activePage === 'certification' ? ' aria-current="page"' : '' ?>>Certification</a>
</li>
</ul> </ul>
</nav> </nav>