This commit is contained in:
Jorrin
2024-01-29 10:34:51 +01:00
parent 5baf4d6b86
commit a7608b878d
18 changed files with 35 additions and 64 deletions

View File

@@ -1,7 +1,7 @@
import { Tabs } from 'expo-router';
import TabBarIcon from '../components/TabBarIcon';
import Colors from '../constants/Colors';
import TabBarIcon from '@/components/TabBarIcon';
import Colors from '@/constants/Colors';
export default function TabLayout() {
return (

View File

@@ -1,6 +1,5 @@
import { Text } from '../components/ui/Text';
import ScreenLayout from '../components/layout/ScreenLayout';
import ScreenLayout from '@/components/layout/ScreenLayout';
import { Text } from '@/components/ui/Text';
export default function AboutScreen() {
return (

View File

@@ -1,5 +1,5 @@
import { Text } from '../components/ui/Text';
import ScreenLayout from '../components/layout/ScreenLayout';
import ScreenLayout from '@/components/layout/ScreenLayout';
import { Text } from '@/components/ui/Text';
export default function AccountScreen() {
return (

View File

@@ -1,5 +1,5 @@
import ScreenLayout from '../components/layout/ScreenLayout';
import { Text } from '../components/ui/Text';
import ScreenLayout from '@/components/layout/ScreenLayout';
import { Text } from '@/components/ui/Text';
export default function HomeScreen() {
return (

View File

@@ -1,9 +1,10 @@
import { ScrollView, View } from 'react-native';
import { Text } from '../../components/ui/Text';
import Item from '@/components/item/item';
import ScreenLayout from '@/components/layout/ScreenLayout';
import { Text } from '@/components/ui/Text';
import Searchbar from './Searchbar';
import ScreenLayout from '../../components/layout/ScreenLayout';
import Item from '../../components/item/item';
export default function SearchScreen() {
return (

View File

@@ -1,6 +1,5 @@
import { Text } from '../components/ui/Text';
import ScreenLayout from '../components/layout/ScreenLayout';
import ScreenLayout from '@/components/layout/ScreenLayout';
import { Text } from '@/components/ui/Text';
export default function SettingsScreen() {
return (

View File

@@ -1,6 +1,7 @@
import { Link, Stack } from 'expo-router';
import { View } from 'react-native';
import { Text } from './components/ui/Text';
import { Text } from '@/components/ui/Text';
export default function NotFoundScreen() {
return (

View File

@@ -10,7 +10,7 @@ import { SplashScreen, Stack } from 'expo-router';
import { useEffect } from 'react';
import { useColorScheme } from 'react-native';
import Colors from './constants/Colors';
import Colors from '@/constants/Colors';
import './styles/global.css';

View File

@@ -1,5 +1,6 @@
import { FontAwesome } from '@expo/vector-icons';
import Colors from '../constants/Colors';
import Colors from '@/constants/Colors';
type Props = {
focused?: boolean;

View File

@@ -1,7 +1,7 @@
import { Image, View } from 'react-native';
import { Text } from '../../components/ui/Text';
import { TMDB_POSTER_PATH } from '../../constants/General';
import { Text } from '@/components/ui/Text';
import { TMDB_POSTER_PATH } from '@/constants/General';
export default function Item() {
return (

View File

@@ -1,5 +1,6 @@
import { View } from 'react-native';
import { Text } from '../../components/ui/Text';
import { Text } from '@/components/ui/Text';
type Props = {
title?: React.ReactNode | string;

View File

@@ -1,7 +1,7 @@
import { cva } from 'class-variance-authority';
import { Text as RNText, TextProps } from 'react-native';
import { cn } from '../../lib/utils';
import { cn } from '@/lib/utils';
const textVariants = cva('text-white');

View File

@@ -1,5 +1,5 @@
import { ClassValue, clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
import { clsx, ClassValue } from 'clsx';
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));