Skip to content

Commit

Permalink
feat(billing): change managed wallet button copy and style
Browse files Browse the repository at this point in the history
refs #247
  • Loading branch information
ygrishajev committed Aug 8, 2024
1 parent 06b5431 commit 0fa46ac
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apps/deploy-web/src/components/layout/WalletStatus.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,8 @@ export function WalletStatus() {
</>
) : (
<>
{envConfig.NEXT_PUBLIC_BILLING_ENABLED && <ConnectManagedWalletButton className="mr-2 w-full md:w-auto" />}
<ConnectWalletButton className="w-full md:w-auto" />
{envConfig.NEXT_PUBLIC_BILLING_ENABLED && <ConnectManagedWalletButton className="ml-2 w-full md:w-auto" />}
</>
)
) : (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use client";
import React, { ReactNode } from "react";
import { Button, ButtonProps } from "@akashnetwork/ui/components";
import { Wallet } from "iconoir-react";
import { Rocket } from "iconoir-react";

import { useWallet } from "@src/context/WalletProvider";
import { cn } from "@src/utils/styleUtils";
Expand All @@ -16,8 +16,8 @@ export const ConnectManagedWalletButton: React.FunctionComponent<Props> = ({ cla

return (
<Button variant="outline" onClick={connectManagedWallet} className={cn("border-primary", className)} {...rest}>
<Wallet className="text-xs" />
<span className="ml-2 whitespace-nowrap">Setup Billing</span>
<Rocket className="text-xs" />
<span className="m-2 whitespace-nowrap">Start Trial</span>
</Button>
);
};
5 changes: 5 additions & 0 deletions package-lock.json

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

0 comments on commit 0fa46ac

Please sign in to comment.