-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes: #535 Co-authored-by: rjt-rockx <[email protected]>
- Loading branch information
Showing
12 changed files
with
151 additions
and
132 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,7 @@ defmodule BanchanWeb.OfferingLive.Show do | |
Lightbox, | ||
Markdown, | ||
MasonryGallery, | ||
OfferingCardImg, | ||
ReportModal, | ||
Tag | ||
} | ||
|
@@ -197,15 +198,7 @@ defmodule BanchanWeb.OfferingLive.Show do | |
> | ||
{#if @offering.card_img && [email protected]_img.pending} | ||
<Lightbox.Item> | ||
<img | ||
class="absolute w-full h-full object-contain aspect-video overflow-hidden z-10" | ||
src={Routes.public_image_path(Endpoint, :image, :offering_card_img, @offering.card_img_id)} | ||
/> | ||
<img | ||
class="aspect-video w-full h-full blur-lg" | ||
draggable="false" | ||
src={Routes.public_image_path(Endpoint, :image, :offering_card_img, @offering.card_img_id)} | ||
/> | ||
<OfferingCardImg image={@offering.card_img} /> | ||
</Lightbox.Item> | ||
{#else} | ||
<div class="w-full h-full aspect-video bg-base-300" /> | ||
|
@@ -307,15 +300,7 @@ defmodule BanchanWeb.OfferingLive.Show do | |
> | ||
{#if @offering.card_img && [email protected]_img.pending} | ||
<Lightbox.Item> | ||
<img | ||
class="absolute w-full h-full object-contain aspect-video z-10" | ||
src={Routes.public_image_path(Endpoint, :image, :offering_card_img, @offering.card_img_id)} | ||
/> | ||
<img | ||
class="aspect-video w-full h-full blur-lg" | ||
draggable="false" | ||
src={Routes.public_image_path(Endpoint, :image, :offering_card_img, @offering.card_img_id)} | ||
/> | ||
<OfferingCardImg image={@offering.card_img} /> | ||
</Lightbox.Item> | ||
{#else} | ||
<div class="w-full h-full aspect-video bg-base-300" /> | ||
|
Oops, something went wrong.