From 1f0ada3b24bbabc71c6e9c04f088a32ac5ed6efa Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Tue, 21 Apr 2020 19:48:44 +0200 Subject: [PATCH] Improved project structure --- src/navigation/MainTabNavigator.js | 4 ++-- src/screens/{Other => Services}/SelfMenuScreen.js | 0 .../WebsitesHomeScreen.js => Services/ServicesScreen.js} | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename src/screens/{Other => Services}/SelfMenuScreen.js (100%) rename src/screens/{Websites/WebsitesHomeScreen.js => Services/ServicesScreen.js} (98%) diff --git a/src/navigation/MainTabNavigator.js b/src/navigation/MainTabNavigator.js index 7d8ff62..5edb3b8 100644 --- a/src/navigation/MainTabNavigator.js +++ b/src/navigation/MainTabNavigator.js @@ -21,7 +21,7 @@ import FeedItemScreen from "../screens/Home/FeedItemScreen"; import {createCollapsibleStack} from "react-navigation-collapsible"; import GroupSelectionScreen from "../screens/Planex/GroupSelectionScreen"; import CustomTabBar from "../components/Tabbar/CustomTabBar"; -import SelfMenuScreen from "../screens/Other/SelfMenuScreen"; +import SelfMenuScreen from "../screens/Services/SelfMenuScreen"; import AvailableRoomScreen from "../screens/Websites/AvailableRoomScreen"; import BibScreen from "../screens/Websites/BibScreen"; import {AmicaleWebsiteScreen} from "../screens/Websites/AmicaleWebsiteScreen"; @@ -37,7 +37,7 @@ import ClubAboutScreen from "../screens/Amicale/Clubs/ClubAboutScreen"; import VoteScreen from "../screens/Amicale/VoteScreen"; import AmicaleContactScreen from "../screens/Amicale/AmicaleContactScreen"; import AmicaleHomeScreen from "../screens/Amicale/AmicaleHomeScreen"; -import WebsitesHomeScreen from "../screens/Websites/WebsitesHomeScreen"; +import WebsitesHomeScreen from "../screens/Services/ServicesScreen"; const defaultScreenOptions = { gestureEnabled: true, diff --git a/src/screens/Other/SelfMenuScreen.js b/src/screens/Services/SelfMenuScreen.js similarity index 100% rename from src/screens/Other/SelfMenuScreen.js rename to src/screens/Services/SelfMenuScreen.js diff --git a/src/screens/Websites/WebsitesHomeScreen.js b/src/screens/Services/ServicesScreen.js similarity index 98% rename from src/screens/Websites/WebsitesHomeScreen.js rename to src/screens/Services/ServicesScreen.js index 80e899a..420d31a 100644 --- a/src/screens/Websites/WebsitesHomeScreen.js +++ b/src/screens/Services/ServicesScreen.js @@ -25,7 +25,7 @@ const AMICALE_IMAGE = require("../../../assets/amicale.png"); const EE_IMAGE = "https://etud.insa-toulouse.fr/~eeinsat/wp-content/uploads/2019/09/logo-blanc.png"; const TUTORINSA_IMAGE = "https://www.etud.insa-toulouse.fr/~tutorinsa/public/images/logo-gray.png"; -class WebsitesHomeScreen extends React.Component { +class ServicesScreen extends React.Component { dataset: Array; @@ -137,4 +137,4 @@ class WebsitesHomeScreen extends React.Component { } } -export default withCollapsible(WebsitesHomeScreen); +export default withCollapsible(ServicesScreen);