import { Button } from "@/components/Button"; import { Text } from "@/components/common/Text"; import { storage } from "@/utils/mmkv"; import { Feather, Ionicons } from "@expo/vector-icons"; import { Image } from "expo-image"; import { useFocusEffect, useRouter } from "expo-router"; import { useCallback } from "react"; import {useTranslation } from "react-i18next"; import { Linking, TouchableOpacity, View } from "react-native"; export default function page() { const router = useRouter(); const { t } = useTranslation(); useFocusEffect( useCallback(() => { storage.set("hasShownIntro", true); }, []) ); return ( {t("home.intro.welcome_to_streamyfin")} {t("home.intro.a_free_and_open_source_client_for_jellyfin")} {t("home.intro.features_title")} {t("home.intro.features_description")} Jellyseerr {t("home.intro.jellyseerr_feature_description")} {t("home.intro.downloads_feature_title")} {t("home.intro.downloads_feature_description")} Chromecast {t("home.intro.chromecast_feature_description")} {t("home.intro.centralised_settings_plugin_title")} {t("home.intro.centralised_settings_plugin_description")}{" "} { Linking.openURL( "https://github.com/streamyfin/jellyfin-plugin-streamyfin" ); }} > {t("home.intro.read_more")} { router.back(); router.push("/settings"); }} className="mt-4" > {t("home.intro.go_to_settings_button")} ); }