Skip to content

Commit

Permalink
refact(src\pages\events-description\index.js):reordenando ícones da d…
Browse files Browse the repository at this point in the history
…escrição para se adequar ao padrão - @claudionsc
  • Loading branch information
claudionsc committed Dec 1, 2023
1 parent 5272563 commit bc9f801
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions src/pages/events-description/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,26 +123,15 @@ export const EventsPageDescription = () => {
</li>
<li>
<div className="style-icon">
<FontAwesomeIcon icon={faLocationDot} />
<FontAwesomeIcon icon={faHandHoldingDollar} />
</div>
{event?.attributes?.local}
</li>
<li className="parceires">
{event?.attributes?.parceires?.data
?.filter((partner) => partner !== null || partner !== undefined)
?.map((partner) => (
<>
<FontAwesomeIcon icon={faUser} className="style-icon" />
<p key={crypto.randomUUID()}>{partner.attributes?.nome}</p>
</>
))}
{event?.attributes?.preco ?? 'Evento Gratuito'}
</li>

<li>
<div className="style-icon">
<FontAwesomeIcon icon={faHandHoldingDollar} />
<FontAwesomeIcon icon={faLocationDot} />
</div>
{event?.attributes?.preco ?? 'Evento Gratuito'}
{event?.attributes?.local}
</li>
<li>
<div className="style-icon">
Expand All @@ -159,6 +148,18 @@ export const EventsPageDescription = () => {
</div>
{event?.attributes?.tipo}
</li>
<li className="parceires">
{event?.attributes?.parceires?.data
?.filter((partner) => partner !== null || partner !== undefined)
?.map((partner) => (
<>
<FontAwesomeIcon icon={faUser} className="style-icon" />
<p key={crypto.randomUUID()}>{partner.attributes?.nome}</p>
</>
))}
</li>


<li>
{event?.attributes?.url_inscricao === null && (
<div id="no-registration">
Expand Down

0 comments on commit bc9f801

Please sign in to comment.