Skip to content

Commit

Permalink
feat: new illustration for linking account
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Jul 11, 2024
1 parent 1122f73 commit d509061
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
1 change: 1 addition & 0 deletions frontend/public/images/illustrations/alby-account-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
11 changes: 8 additions & 3 deletions frontend/src/components/connections/AlbyConnectionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ import {
import { useState } from "react";
import { Link } from "react-router-dom";

import albyAccountDark from "public/images/illustrations/alby-account-dark.svg";
import albyAccountLight from "public/images/illustrations/alby-account-light.svg";
import BudgetAmountSelect from "src/components/BudgetAmountSelect";
import BudgetRenewalSelect from "src/components/BudgetRenewalSelect";
import ExternalLink from "src/components/ExternalLink";
Expand Down Expand Up @@ -38,7 +40,6 @@ import { Separator } from "src/components/ui/separator";
import { useAlbyMe } from "src/hooks/useAlbyMe";
import { LinkStatus, useLinkAccount } from "src/hooks/useLinkAccount";
import { App, BudgetRenewalType } from "src/types";
import linkAccountIllustration from "/images/illustrations/link-account.png";

function AlbyConnectionCard({ connection }: { connection?: App }) {
const { data: albyMe } = useAlbyMe();
Expand Down Expand Up @@ -94,8 +95,12 @@ function AlbyConnectionCard({ connection }: { connection?: App }) {
every app you access through your Alby Account will handle
payments via the Hub.
<img
src={linkAccountIllustration}
className="w-80 mx-auto"
src={albyAccountDark}
className="w-full hidden dark:block"
/>
<img
src={albyAccountLight}
className="w-full dark:hidden"
/>
You can add a budget that will restrict how much can be
spent from the Hub with your Alby Account.
Expand Down

0 comments on commit d509061

Please sign in to comment.