diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index 2a74479..2cce9c4 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -140,7 +140,7 @@ export default function Home() {
{mockJobs.slice(0, 8).map((job, index) => ( -
+
))} @@ -163,7 +163,7 @@ export default function Home() {
-
+
{mockJobs.slice(0, 8).map((job, index) => ( ))} diff --git a/frontend/src/components/job-card.tsx b/frontend/src/components/job-card.tsx index 99936fe..f3683f7 100644 --- a/frontend/src/components/job-card.tsx +++ b/frontend/src/components/job-card.tsx @@ -74,6 +74,8 @@ export function JobCard({ job, isApplied, applicationStatus }: JobCardProps) { notify.error("Erro", "Faça login para salvar vagas."); } }; + + const formatTimeAgo = (dateString: string) => { const date = new Date(dateString); const now = new Date(); const diffInMs = now.getTime() - date.getTime();