Skip to content
Open
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
59 changes: 0 additions & 59 deletions frontend/src/screens/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import { useInfo } from "src/hooks/useInfo";
import OnboardingChecklist from "src/screens/wallet/OnboardingChecklist";

import React from "react";
import albyGo from "src/assets/suggested-apps/alby-go.png";
import zapplanner from "src/assets/suggested-apps/zapplanner.png";
import { AppOfTheDayWidget } from "src/components/home/widgets/AppOfTheDayWidget";
import { BlockHeightWidget } from "src/components/home/widgets/BlockHeightWidget";
Expand Down Expand Up @@ -52,8 +51,6 @@ function Home() {
const { data: balances } = useBalances();
const { data: albyMe } = useAlbyMe();
const [isNerd, setNerd] = React.useState(false);
/* eslint-disable @typescript-eslint/no-explicit-any */
const extensionInstalled = (window as any).alby !== undefined;

if (!info || !balances) {
return <Loading />;
Expand Down Expand Up @@ -101,62 +98,6 @@ function Home() {
</Card>
</ExternalLink>
)}

<Link to="/appstore/alby-go">
<Card>
<CardHeader>
<div className="flex flex-row items-center">
<div className="shrink-0">
<img src={albyGo} className="w-12 h-12 rounded-xl border" />
</div>
<div>
<CardTitle>
<div className="flex-1 leading-5 font-semibold text-xl whitespace-nowrap text-ellipsis overflow-hidden ml-4">
Alby Go
</div>
</CardTitle>
<CardDescription className="ml-4">
The easiest Bitcoin mobile app that works great with Alby
Hub.
</CardDescription>
</div>
</div>
</CardHeader>
<CardContent className="text-right">
<Button variant="outline">Open</Button>
</CardContent>
</Card>
</Link>
{!extensionInstalled && (
<ExternalLink to="https://getalby.com/products/browser-extension">
<Card>
<CardHeader>
<div className="flex flex-row items-center">
<div className="shrink-0">
<AlbyHead className="w-12 h-12 rounded-xl p-1 border bg-[#FFDF6F]" />
</div>
<div>
<CardTitle>
<div className="flex-1 leading-5 font-semibold text-xl whitespace-nowrap text-ellipsis overflow-hidden ml-4">
Alby Browser Extension
</div>
</CardTitle>
<CardDescription className="ml-4">
Seamless bitcoin payments in your favorite internet
browser.
</CardDescription>
</div>
</div>
</CardHeader>
<CardContent className="text-right">
<Button variant="outline">
Install Alby Extension
<ExternalLinkIcon className="size-4 ml-2" />
</Button>
</CardContent>
</Card>
</ExternalLink>
)}
</div>

{/* RIGHT */}
Expand Down
Loading