Skip to content

Commit

Permalink
feat: support alby go
Browse files Browse the repository at this point in the history
  • Loading branch information
reneaaron committed Sep 25, 2024
1 parent 7936aac commit 04bebc5
Showing 1 changed file with 29 additions and 6 deletions.
35 changes: 29 additions & 6 deletions pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export function Home() {
</Link>
}
/>
<View className="h-full flex">
<View className="h-full flex p-6">
<View className="grow flex flex-col items-center justify-center gap-4">
<TouchableOpacity
onPress={switchBalanceState}
Expand Down Expand Up @@ -123,6 +123,31 @@ export function Home() {
)}
</View>
</TouchableOpacity>
{/* <TouchableOpacity className="w-full" onPress={() => {
router.navigate({
pathname: "/send",
params: {
url: "[email protected]"
},
});
}}>
<Button variant="secondary" size="sm"><Text>✨Support Alby Go</Text></Button>
<Card className="w-full mt-5">
<CardHeader>
<CardTitle>✨ Like Alby Go?</CardTitle>
<CardDescription>Help us grow and improve by supporting our development</CardDescription>
</CardHeader>
</Card>
</TouchableOpacity> */}
<View className="border bg-card border-muted rounded mt-5 flex flex-col gap-3 p-3 ">
<Text className="font-semibold2 text-center">✨ Enjoying Alby Go?</Text>
<Text className="text-muted-foreground text-center">Help us grow and improve by supporting our development</Text>
<View className="flex flex-row gap-3 mt-3">
<Button variant="secondary" size="sm"><Text>🧡 1000</Text></Button>
<Button variant="secondary" size="sm"><Text>🚀 5000</Text></Button>
<Button variant="secondary" size="sm"><Text>🔥 10000</Text></Button>
</View>
</View>
</View>
<View className="flex items-center justify-center">
<Link href="/transactions" asChild>
Expand All @@ -131,11 +156,9 @@ export function Home() {
</Button>
</Link>
</View>
<View>
<View className="flex flex-row gap-6 p-6 pt-2">
<MainButton title="Receive" href="/receive" Icon={LargeArrowDown} />
<MainButton title="Send" href="/send" Icon={LargeArrowUp} />
</View>
<View className="flex flex-row gap-6 pt-2">
<MainButton title="Receive" href="/receive" Icon={LargeArrowDown} />
<MainButton title="Send" href="/send" Icon={LargeArrowUp} />
</View>
</View>
</>
Expand Down

0 comments on commit 04bebc5

Please sign in to comment.