diff --git a/src/pages/Supporters/Supporters.tsx b/src/pages/Supporters/Supporters.tsx index 9e01b089..a24d9102 100644 --- a/src/pages/Supporters/Supporters.tsx +++ b/src/pages/Supporters/Supporters.tsx @@ -1,5 +1,7 @@ import { BurgerMenu, Header, LoadingScreen } from '@/components'; +import WithTooltip from '@/components/ui/with-tooltip'; import { useSupporters } from '@/hooks'; +import { Link } from 'react-router-dom'; const Supporters = () => { const { data: supporters, loading } = useSupporters(); @@ -7,23 +9,29 @@ const Supporters = () => { if (loading) return ; return ( -
+
} /> -
-

Apoiadores do projeto

-
- {supporters.map((supporter, idx) => ( -
-

{supporter.name}

-
-
- ))} +
+

+ Apoiadores do projeto +

+
+ {supporters + .sort((a, b) => a.createdAt.localeCompare(b.createdAt)) + .map((supporter, idx) => ( + + +
+
+
+ + + ))}