Skip to content

Commit

Permalink
Sync from main to dev (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwbabylonlab authored Aug 1, 2024
2 parents 9851b5a + c974e8a commit 30b2cdc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 15 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-staking",
"version": "0.2.23",
"version": "0.2.24",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
26 changes: 14 additions & 12 deletions src/app/components/Staking/FinalityProviders/FinalityProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Image from "next/image";
import { AiOutlineInfoCircle } from "react-icons/ai";
import { FiGlobe } from "react-icons/fi";
import { FiExternalLink } from "react-icons/fi";
import { Tooltip } from "react-tooltip";

import blue from "@/app/assets/blue-check.svg";
Expand Down Expand Up @@ -55,17 +55,19 @@ export const FinalityProvider: React.FC<FinalityProviderProps> = ({
{finalityProviderHasData ? (
<div className="flex items-center gap-1 justify-start">
<Image src={blue} alt="verified" />
<p>{moniker}</p>
{website && (
<a
href={website}
target="_blank"
rel="noopener noreferrer"
className="text-primary btn btn-outline btn-xs ml-2 p-0 h-6 w-6"
>
<FiGlobe />
</a>
)}
<p>
{moniker}
{website && (
<a
href={website}
target="_blank"
rel="noopener noreferrer"
className="text-primary inline-flex ml-1 relative top-[1px]"
>
<FiExternalLink />
</a>
)}
</p>
</div>
) : (
<div className="flex items-center gap-1 justify-start">
Expand Down

0 comments on commit 30b2cdc

Please sign in to comment.