fix: correct star-rating macro import path in components page

Change from 'shared/macros/shop/' to 'shared/macros/storefront/'
to match actual file location.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-04 21:35:55 +01:00
parent 39dff4ab7d
commit 77983a1b6f

View File

@@ -1057,7 +1057,7 @@ html {
<!-- Star Rating -->
<section id="star-rating" class="scroll-mt-24">
{% from 'shared/macros/shop/star-rating.html' import star_rating, rating_input, rating_summary, compact_rating %}
{% from 'shared/macros/storefront/star-rating.html' import star_rating, rating_input, rating_summary, compact_rating %}
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-md p-6">
<h2 class="text-2xl font-bold text-gray-800 dark:text-gray-200 mb-6 flex items-center">
<span x-html="$icon('star', 'w-6 h-6 mr-2 text-yellow-400')"></span>
@@ -1160,7 +1160,7 @@ html {
</div>
</div>
<button @click="copyCode(`{% raw %}{% from 'shared/macros/shop/star-rating.html' import star_rating, rating_input, rating_summary, compact_rating %}
<button @click="copyCode(`{% raw %}{% from 'shared/macros/storefront/star-rating.html' import star_rating, rating_input, rating_summary, compact_rating %}
{# Static star rating #}
{{ star_rating(rating=4.5) }}