deleted recipe library div and latest AI text
This commit is contained in:
@@ -302,38 +302,9 @@ document.getElementById('landingCta').addEventListener('click', function(e){
|
|||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="quick-start">
|
|
||||||
<div class="section-header section-header--stack">
|
|
||||||
<h2><?php echo e($t['quick_start_title']); ?></h2>
|
|
||||||
<p><?php echo e($t['quick_start_text']); ?></p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="grid grid--tight">
|
|
||||||
<?php foreach ($quickStartRecipes as $recipe): ?>
|
|
||||||
<article class="card">
|
|
||||||
<a href="<?php echo e($recipeUrl($recipe)); ?>" class="card__image">
|
|
||||||
<img src="<?php echo e($recipe['hero']); ?>" alt="<?php echo e($recipe['title']); ?>">
|
|
||||||
<?php if (!empty($recipe['category'])): ?>
|
|
||||||
<span class="pill pill--ghost"><?php echo e($recipe['category']); ?></span>
|
|
||||||
<?php endif; ?>
|
|
||||||
</a>
|
|
||||||
<div class="card__body">
|
|
||||||
<h3><a href="<?php echo e($recipeUrl($recipe)); ?>"><?php echo e($recipe['title']); ?></a></h3>
|
|
||||||
<div class="meta">
|
|
||||||
<span>⏱ <?php echo format_minutes((int) ($recipe['total_time'] ?? 0)); ?></span>
|
|
||||||
<span>🙂 <?php echo e($recipe['difficulty']); ?></span>
|
|
||||||
</div>
|
|
||||||
<a class="button" href="<?php echo e($recipeUrl($recipe)); ?>"><?php echo e($t['view_recipe']); ?></a>
|
|
||||||
</div>
|
|
||||||
</article>
|
|
||||||
<?php endforeach; ?>
|
|
||||||
</div>
|
|
||||||
</section>
|
|
||||||
|
|
||||||
<section class="latest" id="latest">
|
<section class="latest" id="latest">
|
||||||
<div class="section-header section-header--stack">
|
<div class="section-header section-header--stack">
|
||||||
<h2><?php echo e($t['library_title']); ?></h2>
|
<h2><?php echo e($t['library_title']); ?></h2>
|
||||||
<p><?php echo e($t['library_text']); ?></p>
|
|
||||||
<p><?php echo $recipeCount; ?><?php echo $q || $tag ? $t['count_suffix_filtered'] : $t['count_suffix_default']; ?></p>
|
<p><?php echo $recipeCount; ?><?php echo $q || $tag ? $t['count_suffix_filtered'] : $t['count_suffix_default']; ?></p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user