Addresses code-review finding: the pre_departure branch made trip-feed-col
dual-purpose. Pre-departure landing now lives in its own partial; home picks
it via {% if all_items|length == 0 %}, and trip-feed-col drops the
pre_departure param to be shared 1:1 by both callers.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BftDn9vu9SonFAY4vxu4uk
17 lines
708 B
Twig
17 lines
708 B
Twig
<div class="home-feed-col">
|
|
<div class="home-trip-header">
|
|
<h1 class="home-trip-name">{{ trip_page.title }}</h1>
|
|
{% if trip_page.header.date_start %}
|
|
<p class="trip-dates">Departing {{ trip_page.header.date_start|date('d M Y') }}</p>
|
|
{% endif %}
|
|
<span class="home-trip-counts">Coming soon</span>
|
|
</div>
|
|
<div class="feed">
|
|
<hr class="home-predeparture-divider">
|
|
<p class="feed-empty">The journey hasn't begun yet — check back once we're on the road.</p>
|
|
<div class="home-highlights-cta-wrap">
|
|
<a class="home-highlights-cta" href="/trips">In the meantime, explore my other trips →</a>
|
|
</div>
|
|
</div>
|
|
</div>
|