203 lines
11 KiB
PHP
203 lines
11 KiB
PHP
<?php
|
||
require_once __DIR__ . '/includes/data.php';
|
||
|
||
$pageTitle = 'Student Work | AI Institute';
|
||
$pageDescription = 'Explore an illustrative gallery of practical student project concepts and learning journeys at AI Institute.';
|
||
$activePage = 'student-work';
|
||
|
||
require __DIR__ . '/includes/header.php';
|
||
?>
|
||
|
||
<main id="main-content" class="student-work">
|
||
|
||
<!-- ===== STUDENT WORK HERO ===== -->
|
||
<section class="student-work__hero section">
|
||
<div class="container student-work__hero-grid">
|
||
<div class="student-work__hero-content reveal">
|
||
<span class="eyebrow">Student work · Illustrative gallery</span>
|
||
<h1 class="student-work__title">
|
||
<span class="student-work__title-line">Ideas into action.</span>
|
||
<!-- <span class="student-work__title-line student-work__title-line--accent">Learning made visible.</span> -->
|
||
</h1>
|
||
<p class="student-work__text">
|
||
Explore the kinds of practical work a learning journey could include. This gallery is a collection of placeholder project concepts; genuine student submissions will be featured when available.
|
||
</p>
|
||
</div>
|
||
|
||
<!-- <div class="student-work__hero-media reveal">
|
||
<div class="student-work__hero-image-wrap">
|
||
<img
|
||
class="student-work__hero-image"
|
||
src="assets/img/student.jpg"
|
||
alt="Illustrative workspace showing students collaborating on project ideas"
|
||
width="1100"
|
||
height="900"
|
||
>
|
||
<div class="student-work__float card">
|
||
<span class="student-work__float-icon"><?= icon('lightbulb') ?></span>
|
||
<div class="student-work__float-body">
|
||
<p class="student-work__float-title">Build around useful work</p>
|
||
<p class="student-work__float-text">Learn. Practice. Build. Apply.</p>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
<p class="student-work__caption">Illustrative workspace imagery · not actual students or faculty</p>
|
||
</div> -->
|
||
</div>
|
||
</section>
|
||
|
||
<!-- ===== GALLERY ===== -->
|
||
<section class="section section--alt student-work__gallery" id="gallery">
|
||
<div class="container">
|
||
<div class="section__head reveal">
|
||
<span class="eyebrow">Explore the possibilities</span>
|
||
<h2 class="section__title">A space for thoughtful, practical work.</h2>
|
||
<p class="section__lead">
|
||
Browse by course, skill, or batch in the proposed gallery experience. Filters and project links are static design elements.
|
||
</p>
|
||
</div>
|
||
|
||
<div class="student-work__notice reveal" role="note">
|
||
<span class="student-work__notice-icon"><?= icon('sparkles') ?></span>
|
||
<p class="student-work__notice-text">All projects, student names, batches, descriptions, skills, and thumbnails are editable placeholders—not actual submissions, student facts, or achievements. Visuals are illustrative. No project performance or outcomes are claimed.</p>
|
||
</div>
|
||
|
||
<div class="student-work__filters reveal">
|
||
<div class="student-work__filter-group">
|
||
<label class="student-work__filter-label" for="filter-course">Course</label>
|
||
<select class="student-work__select" id="filter-course" data-filter="course">
|
||
<option value="all">All courses</option>
|
||
</select>
|
||
</div>
|
||
<div class="student-work__filter-group">
|
||
<label class="student-work__filter-label" for="filter-skill">Skill</label>
|
||
<select class="student-work__select" id="filter-skill" data-filter="skill">
|
||
<option value="all">All skills</option>
|
||
</select>
|
||
</div>
|
||
<div class="student-work__filter-group">
|
||
<label class="student-work__filter-label" for="filter-batch">Batch</label>
|
||
<select class="student-work__select" id="filter-batch" data-filter="batch">
|
||
<option value="all">All batches</option>
|
||
</select>
|
||
</div>
|
||
</div>
|
||
|
||
<div class="student-work__results reveal">
|
||
<p class="student-work__count" aria-live="polite">Showing <?= count($projects) ?> illustrative concepts</p>
|
||
<button class="student-work__reset" type="button">Reset filters</button>
|
||
</div>
|
||
|
||
<div class="student-work__grid" id="student-work-grid">
|
||
<?php foreach ($projects as $project): ?>
|
||
<?php
|
||
$course = isset($project['course']) ? (string) $project['course'] : (isset($project['tag']) ? (string) $project['tag'] : '');
|
||
$student = isset($project['student']) ? (string) $project['student'] : '';
|
||
$batch = isset($project['batch']) ? (string) $project['batch'] : (isset($project['year']) ? (string) $project['year'] : '');
|
||
$skillsList = [];
|
||
if (!empty($project['skills']) && is_array($project['skills'])) {
|
||
foreach ($project['skills'] as $skill) {
|
||
$skillsList[] = is_array($skill) ? (string) ($skill['label'] ?? '') : (string) $skill;
|
||
}
|
||
$skillsList = array_values(array_filter($skillsList, static function ($skill) {
|
||
return $skill !== '';
|
||
}));
|
||
}
|
||
$skillsLine = implode(' · ', $skillsList);
|
||
?>
|
||
<article
|
||
class="student-card card reveal"
|
||
data-course="<?= e($course) ?>"
|
||
data-batch="<?= e($batch) ?>"
|
||
data-skills="<?= e(implode('|', $skillsList)) ?>"
|
||
>
|
||
<div class="student-card__media">
|
||
<img
|
||
class="student-card__img"
|
||
src="<?= e($project['image']) ?>"
|
||
alt="<?= e($project['alt'] ?? $project['title']) ?>"
|
||
width="1000"
|
||
height="640"
|
||
loading="lazy"
|
||
>
|
||
<span class="student-card__badge">Placeholder project</span>
|
||
</div>
|
||
<div class="student-card__body">
|
||
<?php if ($course !== ''): ?>
|
||
<p class="student-card__course"><?= e($course) ?></p>
|
||
<?php endif; ?>
|
||
<h3 class="student-card__title"><?= e($project['title']) ?></h3>
|
||
<?php if (!empty($project['description'])): ?>
|
||
<p class="student-card__desc"><?= e($project['description']) ?></p>
|
||
<?php endif; ?>
|
||
<p class="student-card__meta"><?= e($student) ?> · <?= e($batch) ?> · Editable placeholders – not an actual student achievement</p>
|
||
<?php if ($skillsLine !== ''): ?>
|
||
<p class="student-card__skills"><?= e($skillsLine) ?></p>
|
||
<?php endif; ?>
|
||
<div class="student-card__footer">
|
||
<span class="student-card__divider" aria-hidden="true"></span>
|
||
<a class="student-card__link" href="view-project.php?id=<?= (int) $project['id'] ?>">
|
||
View Project <?= icon('arrow-right') ?>
|
||
</a>
|
||
</div>
|
||
</div>
|
||
</article>
|
||
<?php endforeach; ?>
|
||
</div>
|
||
|
||
<div class="student-work__empty card" hidden>
|
||
<p class="student-work__empty-title">No illustrative concepts match these filters.</p>
|
||
<p class="student-work__empty-text">Try a different combination or reset the filters to see all placeholder projects.</p>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- ===== MORE THAN THE FINAL OUTPUT ===== -->
|
||
<section class="section student-work__process">
|
||
<div class="container">
|
||
<div class="section__head reveal">
|
||
<span class="eyebrow">More than the final output</span>
|
||
<h2 class="section__title">Show the thinking behind the idea.</h2>
|
||
<p class="section__lead">A proposed structure for future project stories. Actual submissions will need student consent and permission to publish.</p>
|
||
</div>
|
||
|
||
<div class="student-work__process-grid">
|
||
<article class="student-work__process-card card reveal">
|
||
<span class="student-work__process-icon"><?= icon('book') ?></span>
|
||
<h3 class="student-work__process-title">The brief</h3>
|
||
<p class="student-work__process-text">Explain the question, intended audience, and boundaries of the task.</p>
|
||
</article>
|
||
<article class="student-work__process-card card reveal">
|
||
<span class="student-work__process-icon"><?= icon('layers') ?></span>
|
||
<h3 class="student-work__process-title">The process</h3>
|
||
<p class="student-work__process-text">Make the research, AI use, human decisions, and revisions visible.</p>
|
||
</article>
|
||
<article class="student-work__process-card card reveal">
|
||
<span class="student-work__process-icon"><?= icon('sparkles') ?></span>
|
||
<h3 class="student-work__process-title">The reflection</h3>
|
||
<p class="student-work__process-text">Describe what was learned, what needs checking, and what could improve.</p>
|
||
</article>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
<!-- ===== CTA ===== -->
|
||
<section class="cta student-work__cta">
|
||
<div class="container">
|
||
<div class="cta__inner reveal">
|
||
<span class="eyebrow">Your next chapter</span>
|
||
<h2 class="cta__title">What would you like to build?</h2>
|
||
<p class="cta__text">Start with curiosity. Build with purpose. Talk through your goals and find a practical learning path that feels right for you.</p>
|
||
<div class="cta__actions">
|
||
<a class="btn btn--primary" href="index.php#apply">Apply Now</a>
|
||
<a class="btn btn--ghost" href="index.php#contact">Talk to an Advisor</a>
|
||
</div>
|
||
|
||
</div>
|
||
</div>
|
||
</section>
|
||
|
||
</main>
|
||
|
||
<?php require __DIR__ . '/includes/footer.php'; ?>
|