diff --git a/apps/app/pages/event/[id].tsx b/apps/app/pages/event/[id].tsx index 07a1f8f7..61e95d9b 100644 --- a/apps/app/pages/event/[id].tsx +++ b/apps/app/pages/event/[id].tsx @@ -1,9 +1,6 @@ import Link from "next/link"; -import { useRouter } from "next/router"; -import { useEffect, useState } from "react"; -import { useAuth } from "@coderdojobraga/ui"; -import { withAuth } from "~/components/Auth"; import { + Alert, Avatar, Button, Col, @@ -15,6 +12,10 @@ import { Select, Typography, } from "antd"; +import { useRouter } from "next/router"; +import { useEffect, useState } from "react"; +import { useAuth } from "@coderdojobraga/ui"; +import { withAuth } from "~/components/Auth"; import { useEvent } from "~/hooks/events"; import AppLayout from "~/layouts/AppLayout"; import Event from "~/components/Event"; @@ -215,6 +216,13 @@ function EventPage() { }; return ( + Detalhes do evento + Eventos {events?.map((info) => ( diff --git a/apps/app/pages/index.tsx b/apps/app/pages/index.tsx index a250c6e4..f697eb8c 100644 --- a/apps/app/pages/index.tsx +++ b/apps/app/pages/index.tsx @@ -1,5 +1,5 @@ import { useEffect, useState } from "react"; -import { Button, Col, Popconfirm, Row, Typography } from "antd"; +import { Alert, Button, Col, Popconfirm, Row, Typography } from "antd"; import { useAuth } from "@coderdojobraga/ui"; import { withAuth } from "~/components/Auth/withAuth"; import AppLayout from "~/layouts/AppLayout"; @@ -70,6 +70,13 @@ function Dashboard() { return ( <> + Painel Principal Próximo Evento