Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: standardize default a link styling #2719

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function ViewIncomingPaymentPage() {
<p className='font-medium'>Wallet Address ID </p>
<Link
to={`/wallet-addresses/${incomingPayment.walletAddressId}`}
className='mt-1 underline text-blue-600 hover:text-blue-800 visited:text-purple-600'
className='default-link'
>
{incomingPayment.walletAddressId}
</Link>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export default function ViewOutgoingPaymentPage() {
<p className='font-medium'>Wallet Address ID </p>
<Link
to={`/wallet-addresses/${outgoingPayment.walletAddressId}`}
className='mt-1 underline text-blue-600 hover:text-blue-800 visited:text-purple-600'
className='default-link'
>
{outgoingPayment.walletAddressId}
</Link>
Expand All @@ -99,10 +99,7 @@ export default function ViewOutgoingPaymentPage() {
</div>
<div>
<p className='font-medium'>Receiver</p>
<Link
className='underline text-blue-600 hover:text-blue-800 visited:text-purple-600'
to={outgoingPayment.receiver}
>
<Link className='default-link' to={outgoingPayment.receiver}>
{outgoingPayment.receiver}
</Link>
</div>
Expand Down
12 changes: 6 additions & 6 deletions packages/frontend/app/routes/peers.$peerId.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export default function ViewPeerPage() {
<>
The name of the{' '}
<a
className='tooltip'
className='default-link'
href='https://rafiki.dev/concepts/interledger-protocol/peering/'
>
peer
Expand All @@ -147,7 +147,7 @@ export default function ViewPeerPage() {
<>
{"The peer's "}
<a
className='tooltip'
className='default-link'
href='https://interledger.org/developers/rfcs/ilp-addresses/'
>
address on the Interledger network.
Expand All @@ -168,7 +168,7 @@ export default function ViewPeerPage() {
<>
The maximum amount of value that can be sent in a single{' '}
<a
className='tooltip'
className='default-link'
href='https://interledger.org/developers/rfcs/stream-protocol/#35-packets-and-frames'
>
Interledger STREAM Packet
Expand Down Expand Up @@ -213,7 +213,7 @@ export default function ViewPeerPage() {
<>
List of valid tokens to accept when receiving{' '}
<a
className='tooltip'
className='default-link'
href='https://rafiki.dev/concepts/interledger-protocol/connector/#incoming-http'
>
incoming ILP packets from the peer.
Expand All @@ -232,7 +232,7 @@ export default function ViewPeerPage() {
<>
List of valid tokens to present when sending{' '}
<a
className='tooltip'
className='default-link'
href='https://rafiki.dev/concepts/interledger-protocol/connector/#outgoing-http'
>
outgoing ILP packets to the peer.
Expand All @@ -251,7 +251,7 @@ export default function ViewPeerPage() {
<>
Endpoint on the peer to which{' '}
<a
className='tooltip'
className='default-link'
href='https://rafiki.dev/concepts/interledger-protocol/connector/#outgoing-http'
>
outgoing ILP packets
Expand Down
14 changes: 7 additions & 7 deletions packages/frontend/app/routes/peers.create.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export default function CreatePeerPage() {
<>
The name of the{' '}
<a
className='tooltip'
className='default-link'
href='https://rafiki.dev/concepts/interledger-protocol/peering/'
>
peer
Expand All @@ -82,7 +82,7 @@ export default function CreatePeerPage() {
<>
{"The peer's "}
<a
className='tooltip'
className='default-link'
href='https://interledger.org/developers/rfcs/ilp-addresses/'
>
address on the Interledger network.
Expand All @@ -99,7 +99,7 @@ export default function CreatePeerPage() {
<>
The maximum amount of value that can be sent in a single{' '}
<a
className='tooltip'
className='default-link'
href='https://interledger.org/developers/rfcs/stream-protocol/#35-packets-and-frames'
>
Interledger STREAM Packet
Expand Down Expand Up @@ -128,7 +128,7 @@ export default function CreatePeerPage() {
<>
List of valid tokens to accept when receiving{' '}
<a
className='tooltip'
className='default-link'
href='https://rafiki.dev/concepts/interledger-protocol/connector/#incoming-http'
>
incoming ILP packets from the peer.
Expand All @@ -146,7 +146,7 @@ export default function CreatePeerPage() {
<>
List of valid tokens to present when sending{' '}
<a
className='tooltip'
className='default-link'
href='https://rafiki.dev/concepts/interledger-protocol/connector/#outgoing-http'
>
outgoing ILP packets to the peer.
Expand All @@ -164,7 +164,7 @@ export default function CreatePeerPage() {
<>
Endpoint on the peer to which{' '}
<a
className='tooltip'
className='default-link'
href='https://rafiki.dev/concepts/interledger-protocol/connector/#outgoing-http'
>
outgoing ILP packets
Expand Down Expand Up @@ -197,7 +197,7 @@ export default function CreatePeerPage() {
<>
The type of{' '}
<a
className='tooltip'
className='default-link'
href='https://rafiki.dev/concepts/asset/'
>
asset
Expand Down
2 changes: 1 addition & 1 deletion packages/frontend/app/styles/tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@tailwind components;
@tailwind utilities;

a.tooltip {
a.default-link {
color: revert;
text-decoration: revert;
}
Loading