Skip to content

Commit

Permalink
move link to the top right
Browse files Browse the repository at this point in the history
  • Loading branch information
carletex committed Aug 12, 2024
1 parent 20448e5 commit 02f0473
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/nextjs/app/admin/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,9 @@ const AdminPage = () => {
return (
<div className="container mx-auto mt-12 max-w-[95%]">
{isLoading && <span className="loading loading-spinner"></span>}
<Link href="/active-grants" className="block mb-2 link text-right">
Active Grants &gt;
</Link>
{grants && (
<div className="flex flex-col lg:flex-row gap-12 mt-4">
<div className="p-8 bg-warning/5 lg:w-1/2">
Expand Down Expand Up @@ -211,9 +214,6 @@ const AdminPage = () => {
))}
</div>
<div className="pt-2 p-8 bg-success/5 lg:w-1/2">
<Link href="/active-grants" className="block mb-2 underline underline-offset-2">
Active Grants
</Link>
<div className="flex justify-between items-center">
<h2 className="font-bold text-xl">
Completed Grants {completedGrants && completedGrants.length > 0 && <>({completedGrants.length})</>}
Expand Down

0 comments on commit 02f0473

Please sign in to comment.