Skip to content

Commit 57070f6

Browse files
authored
feat(rakki): Add rakki terms and conditions (#1480)
1 parent 6402d06 commit 57070f6

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

packages/screens/Rakki/RakkiScreen.tsx

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@ import { View } from "react-native";
55
import { NetworkFeature } from "../../networks";
66

77
import { BrandText } from "@/components/BrandText";
8+
import { ExternalLink } from "@/components/ExternalLink";
89
import { ScreenContainer } from "@/components/ScreenContainer";
10+
import { Footer } from "@/components/footers/Footer";
911
import { LoaderFullSize } from "@/components/loaders/LoaderFullScreen";
1012
import { useRakkiInfo } from "@/hooks/rakki/useRakkiInfo";
1113
import { useMaxResolution } from "@/hooks/useMaxResolution";
@@ -18,6 +20,7 @@ import { RakkiLogo } from "@/screens/Rakki/components/RakkiLogo";
1820
import { TicketsRemaining } from "@/screens/Rakki/components/TicketsRamaining";
1921
import { sectionLabelCStyle } from "@/screens/Rakki/styles";
2022
import { ScreenFC } from "@/utils/navigation";
23+
import { fontRegular14 } from "@/utils/style/fonts";
2124
import { layout } from "@/utils/style/layout";
2225

2326
export const RakkiScreen: ScreenFC<"Rakki"> = () => {
@@ -92,7 +95,20 @@ export const RakkiScreen: ScreenFC<"Rakki"> = () => {
9295

9396
return (
9497
<ScreenContainer
95-
footerChildren={rakkiInfo === undefined ? <></> : undefined}
98+
footerChildren={
99+
<Footer>
100+
<View style={{ flex: 1, alignItems: "flex-end" }}>
101+
<ExternalLink
102+
gradientType="yellow"
103+
externalUrl="https://nxtpop.notion.site/Rakki-Promotional-Lottery-Terms-and-Conditions-1737d8c95c2b80ea80b6d9034ac52bc3"
104+
style={[fontRegular14, { marginRight: layout.spacing_x1 }]}
105+
numberOfLines={1}
106+
>
107+
RAKKi Terms & Conditions
108+
</ExternalLink>
109+
</View>
110+
</Footer>
111+
}
96112
forceNetworkFeatures={[NetworkFeature.CosmWasmRakki]}
97113
>
98114
{isLottie && (

0 commit comments

Comments
 (0)