refactor: Use static paths for icons in card template
This commit is contained in:
1 parent
024b276db6
commit
db65608485
1 file changed
+7
-7
@@ -5,29 +5,29 @@
|
||||
<p>{{ listing.price }}</p>
|
||||
<img alt=""
|
||||
class="flex absolute top-0 right-0 h-10 md:h-8 p-2 pt-3 -mr-10 md:-mr-7 bg-green-300 text-xs"
|
||||
src="{{ listing.message_icon }}">
|
||||
src="/assets/svg/icon_message.svg">
|
||||
</div>
|
||||
<img alt=""
|
||||
class="absolute h-10 w-10 p-2 md:h-8 md:w-8 md:p-1.3 right-0 bottom-0 bg-indigo-900"
|
||||
onclick="toggleNavbar('collapse-tool-tip')"
|
||||
src="{{ listing.options_icon }}">
|
||||
src="/assets/svg/icon_ellipsis.svg">
|
||||
<div class="z-10 absolute right-0 bottom-0 bg-indigo-900 hidden rounded-lg -mb-18 font-sans" id="collapse-tool-tip">
|
||||
<a class="flex px-4 py-2" href="#">
|
||||
<p class="flex text-sm xl:text-md text-gray-700 hover:text-gray-400 hover:font-semibold">
|
||||
<img alt="" class="mr-2 mt-1" onclick="toggleMap('example-collapse-direction')" src="{{ listing.directions_icon }}">
|
||||
<img alt="" class="mr-2 mt-1" onclick="toggleMap('example-collapse-direction')" src="/assets/svg/icon_map_pin.svg">
|
||||
Directions
|
||||
</p>
|
||||
</a>
|
||||
<a class="flex px-4 py-2" href="#">
|
||||
<p class="flex text-sm xl:text-md text-gray-700 hover:text-gray-400 hover:font-semibold">
|
||||
<img alt="" class="mr-2 mt-1" src="{{ listing.link_icon }}">
|
||||
<img alt="" class="mr-2 mt-1" src="/assets/svg/icon_link.svg">
|
||||
Copy link
|
||||
</p>
|
||||
</a>
|
||||
<a class="flex px-4 py-2">
|
||||
<p class="flex text-sm xl:text-md text-gray-700 hover:text-gray-400 hover:font-semibold"
|
||||
onclick="toggleSidebar('report-form-modal');toggleOverlay('example-collapse-overlay')">
|
||||
<img alt="" class="mr-2 mt-1" src="{{ listing.report_icon }}">
|
||||
<img alt="" class="mr-2 mt-1" src="/assets/svg/icon_report.svg">
|
||||
Report this
|
||||
</p>
|
||||
</a>
|
||||
@@ -42,10 +42,10 @@
|
||||
</p>
|
||||
</a>
|
||||
<img alt="" class="ml-6 mr-2 sm:-mt-4 lg:ml-0 lg:mr-0 xl:mt-0 cursor-pointer"
|
||||
onclick="toggleClick('toggle-click')" src="{{ listing.heart_icon }}">
|
||||
onclick="toggleClick('toggle-click')" src="/assets/svg/icon_heart.svg">
|
||||
<img alt=""
|
||||
class="absolute right-0 mr-5 mt-4 sm:mr-5 sm:mt-2 md:mt-1 lg:mr-3 xl:mt-3 xxl:mt-3 cursor-pointer hidden"
|
||||
id="toggle-click" onclick="toggleClick('toggle-click')" src="{{ listing.heart_full_icon }}">
|
||||
id="toggle-click" onclick="toggleClick('toggle-click')" src="/assets/svg/icon_heart_full.svg">
|
||||
</div>
|
||||
<div class="flex justify-between pl-3 lg:pt-2 lg:px-2 xl:px-4 xl:pt-0 xxl:px-3">
|
||||
<p class="sm:w-5/12 md:w-auto xl:w-9/12 xxl:w-10/12 flex text-xs text-gray-600 capitalize font-sans">
|
||||
|
||||
Reference in new issue
Block a user