diff --git a/__tests__/app-intro-test.tsx b/__tests__/app-intro-test.tsx deleted file mode 100644 index 69e7a60..0000000 --- a/__tests__/app-intro-test.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import { render } from "@testing-library/react-native"; - -import { AppIntro } from "@/components/AppIntro"; - -describe("", () => { - test("describes the product as a mobile offline-first smoothie app", async () => { - const screen = await render(); - - screen.getByText("MOBILE · OFFLINE-FIRST"); - screen.getByText("Smoothies aus dem, was du da hast."); - screen.getByText(/ohne Web-App und ohne Pflicht-Cloud/); - }); -}); diff --git a/src/app/index.tsx b/src/app/index.tsx index d943522..0fc6117 100644 --- a/src/app/index.tsx +++ b/src/app/index.tsx @@ -2,7 +2,6 @@ import { Link } from "expo-router"; import { Pressable, ScrollView, StyleSheet, Text, View } from "react-native"; import { SafeAreaView } from "react-native-safe-area-context"; -import { AppIntro } from "@/components/AppIntro"; import { colors, spacing, typography } from "@/theme/tokens"; const ACTIONS = [ @@ -17,7 +16,6 @@ export default function HomeScreen() { return ( - Was möchtest du machen? {ACTIONS.map((action) => ( diff --git a/src/components/AppIntro.tsx b/src/components/AppIntro.tsx deleted file mode 100644 index 2a9e1be..0000000 --- a/src/components/AppIntro.tsx +++ /dev/null @@ -1,44 +0,0 @@ -import { StyleSheet, Text, View } from "react-native"; - -import { colors, spacing, typography } from "@/theme/tokens"; - -export function AppIntro() { - return ( - - MOBILE · OFFLINE-FIRST - Smoothies aus dem, was du da hast. - - Zutaten auswählen, passende Rezepte finden und neue Kombinationen - direkt auf dem Handy generieren — ohne Web-App und ohne Pflicht-Cloud. - - - ); -} - -const styles = StyleSheet.create({ - card: { - backgroundColor: colors.surface, - borderColor: colors.border, - borderRadius: 24, - borderWidth: 1, - gap: spacing.sm, - padding: spacing.lg, - }, - eyebrow: { - color: colors.accent, - fontSize: typography.caption, - fontWeight: "700", - letterSpacing: 1.2, - }, - title: { - color: colors.text, - fontSize: typography.hero, - fontWeight: "800", - lineHeight: 38, - }, - body: { - color: colors.textMuted, - fontSize: typography.body, - lineHeight: 24, - }, -});