diff --git a/components/card-active.tsx b/components/card-active.tsx index f80482b..c1bf3d1 100644 --- a/components/card-active.tsx +++ b/components/card-active.tsx @@ -1,6 +1,6 @@ import { DateTime } from 'luxon' import { useContext } from 'react' -import GlobalStoreContext, { Feature } from '@/store/index' +import GlobalStoreContext, { Feature, VoteType } from '@/store/index' import { useSession } from 'next-auth/react' export default function CardActive({ item }: { item: Feature }) { @@ -12,29 +12,48 @@ export default function CardActive({ item }: { item: Feature }) { const isAdmin = session?.user['role'] === 'admin' return ( -
- + + + + + +
{score}
+ + +

{title}

diff --git a/components/footer.tsx b/components/footer.tsx index fed73ca..7cf90e8 100644 --- a/components/footer.tsx +++ b/components/footer.tsx @@ -21,7 +21,7 @@ export default function Footer() {