mirror of
https://github.com/movie-web/native-app.git
synced 2025-09-13 17:43:25 +00:00
cleanup
This commit is contained in:
@@ -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 (
|
||||
|
@@ -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 (
|
||||
|
@@ -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 (
|
||||
|
@@ -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 (
|
||||
|
@@ -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 (
|
||||
|
@@ -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 (
|
||||
|
@@ -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 (
|
||||
|
@@ -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';
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
import { FontAwesome } from '@expo/vector-icons';
|
||||
import Colors from '../constants/Colors';
|
||||
|
||||
import Colors from '@/constants/Colors';
|
||||
|
||||
type Props = {
|
||||
focused?: boolean;
|
||||
|
@@ -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 (
|
||||
|
@@ -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;
|
||||
|
@@ -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');
|
||||
|
||||
|
@@ -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));
|
||||
|
Reference in New Issue
Block a user