import { FC } from "react" import { Image, ImageStyle, TextStyle, View, ViewStyle } from "react-native" import { ListItem } from "@/components/ListItem" import { Screen } from "@/components/Screen" import { Text } from "@/components/Text" import { isRTL } from "@/i18n" import { DemoTabScreenProps } from "@/navigators/navigationTypes" import type { ThemedStyle } from "@/theme/types" import { useAppTheme } from "@/theme/context" import { $styles } from "@/theme/styles" import { openLinkInBrowser } from "@/utils/openLinkInBrowser" const chainReactLogo = require("@assets/images/demo/cr-logo.png") const reactNativeLiveLogo = require("@assets/images/demo/rnl-logo.png") const reactNativeNewsletterLogo = require("@assets/images/demo/rnn-logo.png") const reactNativeRadioLogo = require("@assets/images/demo/rnr-logo.png") export const DemoCommunityScreen: FC> = function DemoCommunityScreen(_props) { const { themed } = useAppTheme() return ( openLinkInBrowser("https://community.infinite.red/")} /> openLinkInBrowser("https://github.com/infinitered/ignite")} /> } onPress={() => openLinkInBrowser("https://reactnativeradio.com/")} /> } onPress={() => openLinkInBrowser("https://reactnativenewsletter.com/")} /> } onPress={() => openLinkInBrowser("https://rn.live/")} /> } onPress={() => openLinkInBrowser("https://cr.infinite.red/")} /> openLinkInBrowser("https://infinite.red/contact")} /> ) } const $title: ThemedStyle = ({ spacing }) => ({ marginBottom: spacing.sm, }) const $tagline: ThemedStyle = ({ spacing }) => ({ marginBottom: spacing.xxl, }) const $description: ThemedStyle = ({ spacing }) => ({ marginBottom: spacing.lg, }) const $sectionTitle: ThemedStyle = ({ spacing }) => ({ marginTop: spacing.xxl, }) const $logoContainer: ThemedStyle = ({ spacing }) => ({ marginEnd: spacing.md, flexWrap: "wrap", alignContent: "center", alignSelf: "stretch", }) const $logo: ImageStyle = { height: 38, width: 38, } // @demo remove-file