Skip to content

Commit

Permalink
feat: add + icon instead of text (#1045)
Browse files Browse the repository at this point in the history
  • Loading branch information
JFrankfurt authored Oct 8, 2024
1 parent fd609a9 commit a9afa5d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import Link from 'next/link';
import { useCallback } from 'react';
import cornerGarnish from './corner-garnish.svg';
import frameIcon from './frame-icon.svg';
import { Icon } from 'apps/web/src/components/Icon/Icon';

function SectionContent() {
const { profileUsername, currentWalletIsProfileOwner } = useUsernameProfile();
Expand Down Expand Up @@ -72,10 +73,10 @@ function SectionContent() {
{currentWalletIsProfileOwner && (
<Link
onClick={handleAddFrameLinkClick}
className="text-sm text-palette-foregroundMuted"
className="rounded-lg bg-palette-backgroundAlternate p-2 text-sm text-palette-foreground"
href={`/name/${profileUsername}/configure-frames`}
>
+ Add Frame
<Icon name="plus" color="currentColor" width="12px" height="12px" />
</Link>
)}
</div>
Expand Down

0 comments on commit a9afa5d

Please sign in to comment.