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:
@@ -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) }}
|
||||
|
||||
Reference in New Issue
Block a user