Skip to content

Commit

Permalink
feat: braavos x strkfarm quest (#1000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Marchand-Nicolas authored Dec 23, 2024
1 parent 63e5599 commit 23e0474
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 10 deletions.
20 changes: 11 additions & 9 deletions components/quests/questBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ const QuestBanner: FunctionComponent<QuestBannerProps> = ({ banner }) => {
{banner.title}
</h2>
<p>{banner.description}</p>
<div className="w-fit">
<Button
onClick={() => {
window.open(banner.href, "_blank");
}}
>
{banner.cta}
</Button>
</div>
{banner.cta ? (
<div className="w-fit">
<Button
onClick={() => {
window.open(banner.href, "_blank");
}}
>
{banner.cta}
</Button>
</div>
) : null}
</div>
</div>
) : null;
Expand Down
Binary file added public/braavos/strkFarmQuest.webp
Binary file not shown.
3 changes: 2 additions & 1 deletion styles/quests.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,6 @@
font-weight: 700;
line-height: 30px;
letter-spacing: 0.16px;
margin-top: 1rem;
width: fit-content;
}

Expand All @@ -344,6 +343,7 @@
width: 201px;
height: 100%;
background-size: cover;
aspect-ratio: 1/1;
}

@media (max-width: 1024px) {
Expand Down Expand Up @@ -441,5 +441,6 @@
height: 100px;
border-bottom-left-radius: 0;
border-top-left-radius: 8px;
aspect-ratio: unset;
}
}

0 comments on commit 23e0474

Please sign in to comment.