-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
400 additions
and
128 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,56 @@ | ||
import { StatusBar } from "expo-status-bar"; | ||
import { StyleSheet, View, Text } from "react-native"; | ||
import { View, StyleSheet } from "react-native"; | ||
import { LinkButton } from "../../components/LinkButton"; | ||
import { VStack, Text } from "@ironfish/tackle-box"; | ||
import { LinearGradient } from "expo-linear-gradient"; | ||
|
||
import LogoWithText from "../../assets/images/logo-with-text.svg"; | ||
import KeyPlantOrchid from "../../assets/images/key-plant--orchid.svg"; | ||
|
||
const styles = StyleSheet.create({ | ||
background: { | ||
zIndex: -1, | ||
}, | ||
}); | ||
|
||
export default function Onboarding() { | ||
return ( | ||
<View style={styles.container}> | ||
<Text>Welcome to Iron Fish</Text> | ||
<Text>Let's Make Web3 Private</Text> | ||
<LinkButton title="Create Account" href="/onboarding/create/" /> | ||
<LinkButton | ||
title="I already have an account" | ||
href="/onboarding/import-encoded/" | ||
<View style={{ padding: 24, flex: 1 }}> | ||
<LinearGradient | ||
colors={["#FFF4E0", "#DE83F0"]} | ||
locations={[0, 1]} | ||
style={[StyleSheet.absoluteFillObject, styles.background]} | ||
/> | ||
<StatusBar style="auto" /> | ||
<VStack alignItems="center" gap={8}> | ||
<LogoWithText height={18} /> | ||
<Text textAlign="center" size="3xl"> | ||
Let's Make Web3 Private | ||
</Text> | ||
</VStack> | ||
<View | ||
style={{ | ||
flex: 1, | ||
alignItems: "center", | ||
}} | ||
> | ||
<KeyPlantOrchid style={{ aspectRatio: 0.5 }} /> | ||
</View> | ||
<VStack gap={4}> | ||
<LinkButton | ||
variant="outline" | ||
title="I have an account" | ||
href="/onboarding/import-encoded/" | ||
/> | ||
<LinkButton | ||
variant="solid" | ||
title="Create an account" | ||
href="/onboarding/create/" | ||
/> | ||
<LinkButton | ||
variant="ghost" | ||
title="Language preferences" | ||
href="/onboarding/language/" | ||
/> | ||
</VStack> | ||
</View> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
flex: 1, | ||
backgroundColor: "#fff", | ||
alignItems: "center", | ||
justifyContent: "center", | ||
}, | ||
}); |
Oops, something went wrong.