Skip to content

Commit

Permalink
refactor: Update link text and add missing punctuation
Browse files Browse the repository at this point in the history
  • Loading branch information
EdSDR committed Oct 15, 2024
1 parent a1e0353 commit a196b75
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,16 +102,16 @@ const TutorialPage = () => {
<WalletIcon className="h-6 w-6" /> Open Wallet Modal
</button>
<Link
href="/"
href="/modules"
className="flex w-fit items-center gap-2 text-nowrap border border-green-500 bg-green-600/5 px-4 py-2.5 font-semibold text-green-500 backdrop-blur-md transition duration-200 hover:border-green-400 hover:bg-green-500/15 active:bg-green-500/50"
>
<Squares2X2Icon className="h-6 w-6" /> Go back to Modules
<Squares2X2Icon className="h-6 w-6" /> Go to Modules
</Link>
<Link
href="/subnets"
className="flex w-fit items-center gap-2 text-nowrap border border-cyan-500 bg-cyan-600/5 px-4 py-2.5 font-semibold text-cyan-500 backdrop-blur-md transition duration-200 hover:border-cyan-400 hover:bg-cyan-500/15 active:bg-cyan-500/50"
>
<RectangleGroupIcon className="h-6 w-6" /> Go back to Subnets
<RectangleGroupIcon className="h-6 w-6" /> Go to Subnets
</Link>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Page() {

if (!selectedAccount?.address)
return (
<span className="min-h-[60vh] w-full justify-center pt-12 text-center text-xl">
<span className="w-full items-center justify-start pt-12 text-center text-lg">
Connect Wallet to view your weighted modules.
</span>
);
Expand All @@ -21,7 +21,7 @@ export default function Page() {
);

return (
<div className="min-h-[calc(100vh-169px)] w-full">
<div className="h-full min-h-[calc(100vh-169px)] w-full">
{weightedModules.length ? (
<div className="mb-16 grid h-full w-full animate-fade-up grid-cols-1 gap-4 backdrop-blur-md animate-delay-700 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4">
{weightedModules.map((module) => (
Expand All @@ -35,8 +35,8 @@ export default function Page() {
))}
</div>
) : (
<span className="min-h-[60vh] w-full justify-center pt-12 text-center text-xl">
No weighted modules found.
<span className="w-full items-center justify-start pt-12 text-center text-lg">
<p>No weighted modules found</p>.
</span>
)}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Page() {

if (!selectedAccount?.address)
return (
<span className="min-h-[60vh] w-full justify-center pt-12 text-center text-xl">
<span className="w-full items-center justify-start pt-12 text-center text-lg">
Connect Wallet to view your weighted subnets.
</span>
);
Expand All @@ -35,8 +35,8 @@ export default function Page() {
))}
</div>
) : (
<span className="min-h-[60vh] w-full justify-center pt-12 text-center text-xl">
No weighted subnets found.
<span className="w-full items-center justify-start pt-12 text-center text-lg">
<p>No weighted subnets found.</p>
</span>
)}
</div>
Expand Down

0 comments on commit a196b75

Please sign in to comment.