contact
This commit is contained in:
@@ -8563,3 +8563,315 @@ body.modal-open {
|
||||
transition: none;
|
||||
}
|
||||
}
|
||||
|
||||
/* CONTACT PAGE */
|
||||
|
||||
/* Contact hero */
|
||||
.contact-hero .breadcrumb__list {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
margin: 0 0 20px;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
font-size: 14px;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.contact-hero .breadcrumb__item + .breadcrumb__item::before {
|
||||
content: "/";
|
||||
margin-right: 8px;
|
||||
color: var(--text-faint);
|
||||
}
|
||||
|
||||
.contact-hero .breadcrumb__item a {
|
||||
color: var(--text-muted);
|
||||
transition: color var(--transition-fast);
|
||||
}
|
||||
|
||||
.contact-hero .breadcrumb__item a:hover,
|
||||
.contact-hero .breadcrumb__item a:focus-visible {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.contact-hero .breadcrumb__item[aria-current="page"] {
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.contact-hero__grid {
|
||||
display: grid;
|
||||
gap: 24px;
|
||||
align-items: end;
|
||||
}
|
||||
|
||||
.contact-hero__hotline {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.contact-hero__badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 8px 14px;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-pill);
|
||||
background: var(--surface);
|
||||
color: var(--text-muted);
|
||||
font-size: 14px;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.contact-hero__phone {
|
||||
color: var(--text);
|
||||
font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
transition: color var(--transition-fast);
|
||||
}
|
||||
|
||||
.contact-hero__phone:hover,
|
||||
.contact-hero__phone:focus-visible {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
/* Department cards */
|
||||
.contact-dept__grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.contact-dept__card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 12px;
|
||||
height: 100%;
|
||||
padding: 28px 24px;
|
||||
transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
|
||||
}
|
||||
|
||||
.contact-dept__card:hover {
|
||||
transform: translateY(-4px);
|
||||
border-color: var(--border-strong);
|
||||
box-shadow: var(--shadow-hover);
|
||||
}
|
||||
|
||||
.contact-dept__icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 52px;
|
||||
height: 52px;
|
||||
border-radius: 50%;
|
||||
background: var(--accent-soft);
|
||||
color: var(--accent);
|
||||
border: 1px solid var(--accent-border);
|
||||
}
|
||||
|
||||
.contact-dept__icon .icon {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.contact-dept__title {
|
||||
margin: 0;
|
||||
color: var(--text);
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.contact-dept__text {
|
||||
margin: 0;
|
||||
color: var(--text-muted);
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.contact-dept__link {
|
||||
color: var(--text);
|
||||
font-weight: 600;
|
||||
text-decoration: underline;
|
||||
text-decoration-color: var(--accent-border);
|
||||
text-underline-offset: 3px;
|
||||
transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
|
||||
}
|
||||
|
||||
.contact-dept__link:hover,
|
||||
.contact-dept__link:focus-visible {
|
||||
color: var(--accent);
|
||||
text-decoration-color: var(--accent);
|
||||
}
|
||||
|
||||
/* Info panels */
|
||||
.contact-info__grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.contact-info__side {
|
||||
display: grid;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.contact-info__card {
|
||||
padding: 28px 24px;
|
||||
}
|
||||
|
||||
.contact-info__title {
|
||||
margin: 0 0 20px;
|
||||
color: var(--text);
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.contact-info__list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
display: grid;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.contact-info__item {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 14px;
|
||||
}
|
||||
|
||||
.contact-info__icon {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
flex-shrink: 0;
|
||||
border-radius: 50%;
|
||||
background: var(--surface-2);
|
||||
color: var(--text);
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
|
||||
.contact-info__icon .icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.contact-info__body {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.contact-info__label {
|
||||
margin: 0 0 2px;
|
||||
color: var(--text-muted);
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.contact-info__value {
|
||||
margin: 0;
|
||||
color: var(--text);
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
/* Social and messaging lists */
|
||||
.contact-info__link {
|
||||
color: var(--text);
|
||||
font-weight: 500;
|
||||
transition: color var(--transition-fast);
|
||||
}
|
||||
|
||||
.contact-info__link:hover,
|
||||
.contact-info__link:focus-visible {
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.contact-info__list--grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 14px 16px;
|
||||
}
|
||||
|
||||
.contact-info__list--grid .contact-info__item {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* Location */
|
||||
.contact-map {
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.contact-map__placeholder {
|
||||
aspect-ratio: 4 / 3;
|
||||
min-height: 220px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 12px;
|
||||
background: var(--surface);
|
||||
color: var(--text-muted);
|
||||
text-align: center;
|
||||
padding: 24px;
|
||||
}
|
||||
|
||||
.contact-map__icon .icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
.contact-map__text {
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 500;
|
||||
color: var(--text);
|
||||
}
|
||||
|
||||
.contact-address {
|
||||
margin-top: 20px;
|
||||
padding: 28px 24px;
|
||||
}
|
||||
|
||||
.contact-address .contact-info__list {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
/* Responsive */
|
||||
@media (min-width: 640px) {
|
||||
.contact-dept__grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.contact-address .contact-info__list {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.contact-hero__grid {
|
||||
grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
|
||||
gap: 32px;
|
||||
}
|
||||
|
||||
.contact-hero__hotline {
|
||||
align-items: flex-end;
|
||||
text-align: right;
|
||||
justify-self: end;
|
||||
}
|
||||
|
||||
.contact-info__grid {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
align-items: start;
|
||||
}
|
||||
|
||||
.contact-map__placeholder {
|
||||
aspect-ratio: 16 / 7;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.contact-dept__grid {
|
||||
grid-template-columns: repeat(4, minmax(0, 1fr));
|
||||
}
|
||||
}
|
||||
|
||||
+167
@@ -0,0 +1,167 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/includes/data.php';
|
||||
|
||||
$activePage = 'contact';
|
||||
$pageTitle = 'Contact | AI Institute';
|
||||
$pageDescription = 'Get in touch with AI Institute for general enquiries, course questions, support and admissions.';
|
||||
|
||||
include __DIR__ . '/includes/header.php';
|
||||
?>
|
||||
|
||||
<main id="main-content" class="contact">
|
||||
|
||||
|
||||
|
||||
<!-- ===== REACH THE RIGHT DEPARTMENT ===== -->
|
||||
<section class="section contact-dept" id="departments">
|
||||
<div class="container">
|
||||
<div class="section__head section__head--center reveal">
|
||||
<span class="eyebrow">Departments</span>
|
||||
<h2 class="section__title">Reach the right department</h2>
|
||||
</div>
|
||||
<div class="contact-dept__grid">
|
||||
<!-- TODO: replace hello@aiinstitute.com with the real General Inquiries email when it exists -->
|
||||
<article class="contact-dept__card card reveal">
|
||||
<span class="contact-dept__icon"><?= icon('mail') ?></span>
|
||||
<h3 class="contact-dept__title">General Inquiries</h3>
|
||||
<p class="contact-dept__text">For any general enquiries about our services and our brand.</p>
|
||||
<a class="contact-dept__link" href="mailto:hello@aiinstitute.com">hello@aiinstitute.com</a>
|
||||
</article>
|
||||
<!-- TODO: replace hello@aiinstitute.com with the real Customer Support email when it exists -->
|
||||
<article class="contact-dept__card card reveal">
|
||||
<span class="contact-dept__icon"><?= icon('message') ?></span>
|
||||
<h3 class="contact-dept__title">Customer Support</h3>
|
||||
<p class="contact-dept__text">Need assistance with your classes or our services?</p>
|
||||
<a class="contact-dept__link" href="mailto:hello@aiinstitute.com">hello@aiinstitute.com</a>
|
||||
</article>
|
||||
<!-- TODO: replace hello@aiinstitute.com with the real Admissions email when it exists -->
|
||||
<article class="contact-dept__card card reveal">
|
||||
<span class="contact-dept__icon"><?= icon('graduation') ?></span>
|
||||
<h3 class="contact-dept__title">Admissions</h3>
|
||||
<p class="contact-dept__text">Questions about applying, fees and enrolment.</p>
|
||||
<a class="contact-dept__link" href="mailto:hello@aiinstitute.com">hello@aiinstitute.com</a>
|
||||
</article>
|
||||
<!-- TODO: replace hello@aiinstitute.com with the real Course Inquiry email when it exists -->
|
||||
<article class="contact-dept__card card reveal">
|
||||
<span class="contact-dept__icon"><?= icon('book') ?></span>
|
||||
<h3 class="contact-dept__title">Course Inquiry</h3>
|
||||
<p class="contact-dept__text">Learn about our AI training, courses and programs.</p>
|
||||
<a class="contact-dept__link" href="mailto:hello@aiinstitute.com">hello@aiinstitute.com</a>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ===== INFO PANELS ===== -->
|
||||
<section class="section contact-info" id="contact-info">
|
||||
<div class="container">
|
||||
<div class="contact-info__grid">
|
||||
<article class="contact-info__card card reveal">
|
||||
<h2 class="contact-info__title">Office hours</h2>
|
||||
<ul class="contact-info__list">
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('clock') ?></span>
|
||||
<div class="contact-info__body">
|
||||
<p class="contact-info__label">Sunday - Friday</p>
|
||||
<!-- TODO: replace the placeholder hours with the real ones -->
|
||||
<p class="contact-info__value">[Opening time] - [Closing time]</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('phone') ?></span>
|
||||
<div class="contact-info__body">
|
||||
<p class="contact-info__label">Call us on:</p>
|
||||
<a class="contact-info__value contact-info__link" href="tel:+97798000000">+977 98000000</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
|
||||
<div class="contact-info__side">
|
||||
<article class="contact-info__card card reveal">
|
||||
<h2 class="contact-info__title">Reach us on social media</h2>
|
||||
<!-- TODO: replace "#" with the real LinkedIn, Instagram and YouTube URLs (same as footer) -->
|
||||
<ul class="contact-info__list contact-info__list--grid">
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('linkedin') ?></span>
|
||||
<a class="contact-info__link" href="#">LinkedIn</a>
|
||||
</li>
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('instagram') ?></span>
|
||||
<a class="contact-info__link" href="#">Instagram</a>
|
||||
</li>
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('youtube') ?></span>
|
||||
<a class="contact-info__link" href="#">YouTube</a>
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
|
||||
<article class="contact-info__card card reveal">
|
||||
<h2 class="contact-info__title">Message us on</h2>
|
||||
<!-- TODO: replace "#" with the real WhatsApp and Viber links -->
|
||||
<ul class="contact-info__list contact-info__list--grid">
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('whatsapp') ?></span>
|
||||
<a class="contact-info__link" href="#">WhatsApp</a>
|
||||
</li>
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('message') ?></span>
|
||||
<a class="contact-info__link" href="#">Viber</a>
|
||||
</li>
|
||||
</ul>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- ===== VISIT OUR LOCATION ===== -->
|
||||
<section class="section contact-location" id="location">
|
||||
<div class="container">
|
||||
<div class="section__head section__head--center reveal">
|
||||
<span class="eyebrow">Location</span>
|
||||
<h2 class="section__title">Visit our location</h2>
|
||||
</div>
|
||||
<div class="contact-map card reveal">
|
||||
<!-- TODO: replace this placeholder with a Google Maps <iframe> (with loading="lazy" and a title) -->
|
||||
<div class="contact-map__placeholder">
|
||||
<span class="contact-map__icon"><?= icon('map-pin') ?></span>
|
||||
<p class="contact-map__text">Map coming soon</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="contact-address card reveal">
|
||||
<ul class="contact-info__list">
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('building') ?></span>
|
||||
<div class="contact-info__body">
|
||||
<p class="contact-info__value">AI Institute</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('map-pin') ?></span>
|
||||
<div class="contact-info__body">
|
||||
<p class="contact-info__value">Buddhanagar, Kathmandu</p>
|
||||
</div>
|
||||
</li>
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('mail') ?></span>
|
||||
<div class="contact-info__body">
|
||||
<a class="contact-info__link" href="mailto:hello@aiinstitute.com">hello@aiinstitute.com</a>
|
||||
</div>
|
||||
</li>
|
||||
<li class="contact-info__item">
|
||||
<span class="contact-info__icon"><?= icon('globe') ?></span>
|
||||
<div class="contact-info__body">
|
||||
<!-- TODO: replace with the confirmed website URL -->
|
||||
<p class="contact-info__value">[Website URL]</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</main>
|
||||
|
||||
<?php include __DIR__ . '/includes/footer.php'; ?>
|
||||
@@ -60,6 +60,10 @@ if (!function_exists('icon')) {
|
||||
'linkedin' => '<svg viewBox="0 0 24 24" fill="currentColor" aria-hidden="true" focusable="false"><path d="M6.94 8.5H3.56V21h3.38V8.5ZM5.25 3a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM21 13.9c0-3.4-1.8-5-4.2-5-1.9 0-2.8 1.1-3.3 1.8V8.5H10.1V21h3.4v-7c0-.4 0-.7.1-1 .3-.7.9-1.4 1.9-1.4 1.4 0 1.9 1 1.9 2.6V21H21v-7.1Z"/></svg>',
|
||||
'instagram' => '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" aria-hidden="true" focusable="false"><rect x="2.5" y="2.5" width="19" height="19" rx="5.5"/><circle cx="12" cy="12" r="4.2"/><circle cx="17.4" cy="6.6" r="1.1" fill="currentColor" stroke="none"/></svg>',
|
||||
'youtube' => '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M21.6 7.2a2.7 2.7 0 0 0-1.9-1.9C18 4.8 12 4.8 12 4.8s-6 0-7.7.5a2.7 2.7 0 0 0-1.9 1.9A28 28 0 0 0 2 12a28 28 0 0 0 .4 4.8 2.7 2.7 0 0 0 1.9 1.9c1.7.5 7.7.5 7.7.5s6 0 7.7-.5a2.7 2.7 0 0 0 1.9-1.9A28 28 0 0 0 22 12a28 28 0 0 0-.4-4.8Z"/><polygon points="10 15.2 15 12 10 8.8 10 15.2" fill="currentColor" stroke="none"/></svg>',
|
||||
'clock' => '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><circle cx="12" cy="12" r="10"/><path d="M12 6v6l4 2"/></svg>',
|
||||
'whatsapp' => '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M20 11.5a8 8 0 0 1-11.9 7L4 20l1.6-4A8 8 0 1 1 20 11.5Z"/><path d="M8.5 9.4c.2-.5.5-.5.7-.5h.6c.2 0 .4.1.5.4l.7 1.7c.1.2.1.4 0 .6l-.4.5c-.1.1-.1.3 0 .5.4.7 1 1.4 1.8 1.8.2.1.4.1.5 0l.6-.5c.2-.2.4-.2.6-.1l1.6.8c.3.1.4.3.4.5 0 .6-.4 1.2-1 1.4-.5.2-1.2.3-2.6-.3-1.5-.6-2.8-2-3.6-3.4-.7-1.3-.7-2.3-.4-2.9Z"/></svg>',
|
||||
'message' => '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2Z"/></svg>',
|
||||
'building' => '<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.7" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><rect x="4" y="3" width="16" height="18" rx="2"/><path d="M9 7h.01M15 7h.01M9 11h.01M15 11h.01M9 15h.01M15 15h.01"/><path d="M10 21v-3h4v3"/></svg>',
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
<li><a href="index.php">Home</a></li>
|
||||
<li><a href="about.php">About</a></li>
|
||||
<li><a href="student-work.php">Student Work</a></li>
|
||||
<li><a href="contact.php">Contact</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user