|
- <section class="stack">
- <div class="section-title">
- <span class="eyebrow">Activity feed</span>
- <h1>What changed across the portfolio</h1>
- <p>A chronological log of project creation, status changes, and task movement.</p>
- </div>
-
- <div class="layout-two">
- <div class="stack">
- <?php foreach ($activity as $item): ?>
- <article class="feed-item" data-filter-item>
- <header>
- <div>
- <strong><?= e($item['headline']) ?></strong>
- <p class="fineprint"><?= e($item['project_name'] ? $item['project_name'] . ' · ' . $item['project_code'] : 'Portfolio event') ?></p>
- </div>
- <span class="kicker"><?= e(format_date($item['created_at'], 'M j · H:i')) ?></span>
- </header>
- <p><?= e($item['detail']) ?></p>
- </article>
- <?php endforeach; ?>
- </div>
-
- <aside class="stack">
- <section class="panel">
- <span class="eyebrow">Snapshot</span>
- <h2><?= e((string) count($projects)) ?> projects in rotation</h2>
- <p>Use this feed to see what is changing right now, then jump into the project board to move work forward.</p>
- </section>
-
- <section class="panel">
- <div class="block-title">
- <div>
- <span class="eyebrow">Short list</span>
- <h2>Latest projects</h2>
- </div>
- </div>
- <div class="list">
- <?php foreach ($projects as $project): ?>
- <div class="feed-item">
- <header>
- <strong><a href="/projects/<?= e((string) $project['id']) ?>"><?= e($project['name']) ?></a></strong>
- <span class="status-pill <?= e($project['health_class']) ?>"><?= e($project['status_label']) ?></span>
- </header>
- <p><?= e($project['task_traffic']) ?> · <?= e($project['code']) ?></p>
- </div>
- <?php endforeach; ?>
- </div>
- </section>
- </aside>
- </div>
- </section>
|