From b1ea5d6ba8c44199f2a3953bd7e9c067eb42b56a Mon Sep 17 00:00:00 2001 From: Hailey Date: Wed, 12 Jun 2024 12:20:54 -0700 Subject: [PATCH] organize --- src/Navigation.tsx | 2 +- src/{screens => components}/StarterPack/Main/FeedsList.tsx | 0 src/{screens => components}/StarterPack/Main/ProfilesList.tsx | 0 .../{Landing/index.tsx => StarterPackLandingScreen.tsx} | 0 .../StarterPack/{Main/index.tsx => StarterPackScreen.tsx} | 4 ++-- src/view/com/auth/LoggedOut.tsx | 2 +- 6 files changed, 4 insertions(+), 4 deletions(-) rename src/{screens => components}/StarterPack/Main/FeedsList.tsx (100%) rename src/{screens => components}/StarterPack/Main/ProfilesList.tsx (100%) rename src/screens/StarterPack/{Landing/index.tsx => StarterPackLandingScreen.tsx} (100%) rename src/screens/StarterPack/{Main/index.tsx => StarterPackScreen.tsx} (98%) diff --git a/src/Navigation.tsx b/src/Navigation.tsx index f23e758a5e..65b7f1a680 100644 --- a/src/Navigation.tsx +++ b/src/Navigation.tsx @@ -43,7 +43,7 @@ import HashtagScreen from '#/screens/Hashtag' import {ModerationScreen} from '#/screens/Moderation' import {ProfileKnownFollowersScreen} from '#/screens/Profile/KnownFollowers' import {ProfileLabelerLikedByScreen} from '#/screens/Profile/ProfileLabelerLikedBy' -import {StarterPackScreen} from '#/screens/StarterPack/Main' +import {StarterPackScreen} from '#/screens/StarterPack' import {Wizard} from '#/screens/StarterPack/Wizard' import {init as initAnalytics} from './lib/analytics/analytics' import {useWebScrollRestoration} from './lib/hooks/useWebScrollRestoration' diff --git a/src/screens/StarterPack/Main/FeedsList.tsx b/src/components/StarterPack/Main/FeedsList.tsx similarity index 100% rename from src/screens/StarterPack/Main/FeedsList.tsx rename to src/components/StarterPack/Main/FeedsList.tsx diff --git a/src/screens/StarterPack/Main/ProfilesList.tsx b/src/components/StarterPack/Main/ProfilesList.tsx similarity index 100% rename from src/screens/StarterPack/Main/ProfilesList.tsx rename to src/components/StarterPack/Main/ProfilesList.tsx diff --git a/src/screens/StarterPack/Landing/index.tsx b/src/screens/StarterPack/StarterPackLandingScreen.tsx similarity index 100% rename from src/screens/StarterPack/Landing/index.tsx rename to src/screens/StarterPack/StarterPackLandingScreen.tsx diff --git a/src/screens/StarterPack/Main/index.tsx b/src/screens/StarterPack/StarterPackScreen.tsx similarity index 98% rename from src/screens/StarterPack/Main/index.tsx rename to src/screens/StarterPack/StarterPackScreen.tsx index f8f8a9c04d..3f4e264992 100644 --- a/src/screens/StarterPack/Main/index.tsx +++ b/src/screens/StarterPack/StarterPackScreen.tsx @@ -18,8 +18,6 @@ import {useLoggedOutViewControls} from 'state/shell/logged-out' import {PagerWithHeader} from 'view/com/pager/PagerWithHeader' import {ProfileSubpageHeader} from 'view/com/profile/ProfileSubpageHeader' import {CenteredView} from 'view/com/util/Views' -import {FeedsList} from '#/screens/StarterPack/Main/FeedsList' -import {ProfilesList} from '#/screens/StarterPack/Main/ProfilesList' import {atoms as a, useTheme} from '#/alf' import {Button, ButtonText} from '#/components/Button' import {useDialogControl} from '#/components/Dialog' @@ -27,6 +25,8 @@ import {ArrowOutOfBox_Stroke2_Corner0_Rounded as ArrowOutOfBox} from '#/componen import {QrCode_Stroke2_Corner0_Rounded as QrCode} from '#/components/icons/QrCode' import {ListMaybePlaceholder} from '#/components/Lists' import * as Menu from '#/components/Menu' +import {FeedsList} from '#/components/StarterPack/Main/FeedsList' +import {ProfilesList} from '#/components/StarterPack/Main/ProfilesList' import {QrCodeDialog} from '#/components/StarterPack/QrCodeDialog' import {Text} from '#/components/Typography' diff --git a/src/view/com/auth/LoggedOut.tsx b/src/view/com/auth/LoggedOut.tsx index eaa17a9145..ce229cffaf 100644 --- a/src/view/com/auth/LoggedOut.tsx +++ b/src/view/com/auth/LoggedOut.tsx @@ -24,7 +24,7 @@ import {ErrorBoundary} from '#/view/com/util/ErrorBoundary' import {Text} from '#/view/com/util/text/Text' import {Login} from '#/screens/Login' import {Signup} from '#/screens/Signup' -import {LandingScreen} from '#/screens/StarterPack/Landing' +import {LandingScreen} from '#/screens/StarterPack' import {SplashScreen} from './SplashScreen' enum ScreenState {