Skip to content

Commit

Permalink
fix: data e horário no card
Browse files Browse the repository at this point in the history
  • Loading branch information
ialexanderbrito committed Apr 4, 2022
1 parent e401ae5 commit 1ebb66c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/components/CardBarbeiro/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { useEffect, useState } from 'react';
import { BsCalendar, BsClock } from 'react-icons/bs';

import { UserMetadata } from 'types/IContext';

Expand Down Expand Up @@ -44,8 +45,14 @@ export function CardBarbeiro({ barbeiro, onClick }: Props) {
</div>
<div className={styles.containerInfo}>
<h2 className={styles.title}>{name || barbeiro?.nome}</h2>
<strong>aaa</strong>
<strong>aaa</strong>
<strong className={styles.info}>
<BsCalendar color="#FF9000" size={16} style={{ marginRight: '12px' }} />
Segunda à Domingo
</strong>
<strong className={styles.info}>
<BsClock color="#FF9000" size={16} style={{ marginRight: '12px' }} />
8h às 22h
</strong>
</div>
</div>
);
Expand Down

0 comments on commit 1ebb66c

Please sign in to comment.