Browse Source

Moved services related files into services folder

Arnaud Vergnet 1 year ago
parent
commit
eb71316995

+ 11
- 11
src/navigation/MainNavigator.js View File

@@ -12,18 +12,18 @@ import TetrisScreen from "../screens/Tetris/TetrisScreen";
12 12
 import VoteScreen from "../screens/Amicale/VoteScreen";
13 13
 import LoginScreen from "../screens/Amicale/LoginScreen";
14 14
 import {Platform} from "react-native";
15
-import AvailableRoomScreen from "../screens/Websites/AvailableRoomScreen";
16
-import BibScreen from "../screens/Websites/BibScreen";
15
+import AvailableRoomScreen from "../screens/Services/Websites/AvailableRoomScreen";
16
+import BibScreen from "../screens/Services/Websites/BibScreen";
17 17
 import SelfMenuScreen from "../screens/Services/SelfMenuScreen";
18
-import ProximoMainScreen from "../screens/Proximo/ProximoMainScreen";
19
-import ProximoListScreen from "../screens/Proximo/ProximoListScreen";
20
-import ProximoAboutScreen from "../screens/Proximo/ProximoAboutScreen";
21
-import {AmicaleWebsiteScreen} from "../screens/Websites/AmicaleWebsiteScreen";
22
-import {ElusEtudiantsWebsiteScreen} from "../screens/Websites/ElusEtudiantsWebsiteScreen";
23
-import {WiketudWebsiteScreen} from "../screens/Websites/WiketudWebsiteScreen";
24
-import {TutorInsaWebsiteScreen} from "../screens/Websites/TutorInsaWebsiteScreen";
25
-import {ENTWebsiteScreen} from "../screens/Websites/ENTWebsiteScreen";
26
-import {BlueMindWebsiteScreen} from "../screens/Websites/BlueMindWebsiteScreen";
18
+import ProximoMainScreen from "../screens/Services/Proximo/ProximoMainScreen";
19
+import ProximoListScreen from "../screens/Services/Proximo/ProximoListScreen";
20
+import ProximoAboutScreen from "../screens/Services/Proximo/ProximoAboutScreen";
21
+import {AmicaleWebsiteScreen} from "../screens/Services/Websites/AmicaleWebsiteScreen";
22
+import {ElusEtudiantsWebsiteScreen} from "../screens/Services/Websites/ElusEtudiantsWebsiteScreen";
23
+import {WiketudWebsiteScreen} from "../screens/Services/Websites/WiketudWebsiteScreen";
24
+import {TutorInsaWebsiteScreen} from "../screens/Services/Websites/TutorInsaWebsiteScreen";
25
+import {ENTWebsiteScreen} from "../screens/Services/Websites/ENTWebsiteScreen";
26
+import {BlueMindWebsiteScreen} from "../screens/Services/Websites/BlueMindWebsiteScreen";
27 27
 import ProfileScreen from "../screens/Amicale/ProfileScreen";
28 28
 import ClubListScreen from "../screens/Amicale/Clubs/ClubListScreen";
29 29
 import ClubAboutScreen from "../screens/Amicale/Clubs/ClubAboutScreen";

src/screens/Proximo/ProximoAboutScreen.js → src/screens/Services/Proximo/ProximoAboutScreen.js View File

@@ -4,7 +4,7 @@ import * as React from 'react';
4 4
 import {Image, ScrollView, View} from 'react-native';
5 5
 import i18n from "i18n-js";
6 6
 import {Card, List, Paragraph, Text} from 'react-native-paper';
7
-import CustomTabBar from "../../components/Tabbar/CustomTabBar";
7
+import CustomTabBar from "../../../components/Tabbar/CustomTabBar";
8 8
 
9 9
 type Props = {
10 10
     navigation: Object,

src/screens/Proximo/ProximoListScreen.js → src/screens/Services/Proximo/ProximoListScreen.js View File

@@ -3,13 +3,13 @@
3 3
 import * as React from 'react';
4 4
 import {Animated, Image, Platform, ScrollView, View} from "react-native";
5 5
 import i18n from "i18n-js";
6
-import CustomModal from "../../components/Overrides/CustomModal";
6
+import CustomModal from "../../../components/Overrides/CustomModal";
7 7
 import {RadioButton, Searchbar, Subheading, Text, Title, withTheme} from "react-native-paper";
8
-import {stringMatchQuery} from "../../utils/Search";
9
-import ProximoListItem from "../../components/Lists/Proximo/ProximoListItem";
10
-import MaterialHeaderButtons, {Item} from "../../components/Overrides/CustomHeaderButton";
11
-import {withCollapsible} from "../../utils/withCollapsible";
12
-import CustomTabBar from "../../components/Tabbar/CustomTabBar";
8
+import {stringMatchQuery} from "../../../utils/Search";
9
+import ProximoListItem from "../../../components/Lists/Proximo/ProximoListItem";
10
+import MaterialHeaderButtons, {Item} from "../../../components/Overrides/CustomHeaderButton";
11
+import {withCollapsible} from "../../../utils/withCollapsible";
12
+import CustomTabBar from "../../../components/Tabbar/CustomTabBar";
13 13
 
14 14
 function sortPrice(a, b) {
15 15
     return a.price - b.price;

src/screens/Proximo/ProximoMainScreen.js → src/screens/Services/Proximo/ProximoMainScreen.js View File

@@ -3,9 +3,9 @@
3 3
 import * as React from 'react';
4 4
 import {View} from 'react-native'
5 5
 import i18n from "i18n-js";
6
-import WebSectionList from "../../components/Screens/WebSectionList";
6
+import WebSectionList from "../../../components/Screens/WebSectionList";
7 7
 import {List, withTheme} from 'react-native-paper';
8
-import MaterialHeaderButtons, {Item} from "../../components/Overrides/CustomHeaderButton";
8
+import MaterialHeaderButtons, {Item} from "../../../components/Overrides/CustomHeaderButton";
9 9
 
10 10
 const DATA_URL = "https://etud.insa-toulouse.fr/~proximo/data/stock-v2.json";
11 11
 const LIST_ITEM_HEIGHT = 84;

src/screens/Websites/AmicaleWebsiteScreen.js → src/screens/Services/Websites/AmicaleWebsiteScreen.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import * as React from 'react';
4
-import WebViewScreen from "../../components/Screens/WebViewScreen";
4
+import WebViewScreen from "../../../components/Screens/WebViewScreen";
5 5
 import {CommonActions} from "@react-navigation/native";
6 6
 
7 7
 const URL = 'https://www.amicale-insat.fr/';

src/screens/Websites/AvailableRoomScreen.js → src/screens/Services/Websites/AvailableRoomScreen.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import * as React from 'react';
4
-import WebViewScreen from "../../components/Screens/WebViewScreen";
4
+import WebViewScreen from "../../../components/Screens/WebViewScreen";
5 5
 
6 6
 type Props = {
7 7
     navigation: Object,

src/screens/Websites/BibScreen.js → src/screens/Services/Websites/BibScreen.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import * as React from 'react';
4
-import WebViewScreen from "../../components/Screens/WebViewScreen";
4
+import WebViewScreen from "../../../components/Screens/WebViewScreen";
5 5
 
6 6
 type Props = {
7 7
     navigation: Object,

src/screens/Websites/BlueMindWebsiteScreen.js → src/screens/Services/Websites/BlueMindWebsiteScreen.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import * as React from 'react';
4
-import WebViewScreen from "../../components/Screens/WebViewScreen";
4
+import WebViewScreen from "../../../components/Screens/WebViewScreen";
5 5
 
6 6
 const URL = 'https://etud-mel.insa-toulouse.fr/webmail/';
7 7
 /**

src/screens/Websites/ENTWebsiteScreen.js → src/screens/Services/Websites/ENTWebsiteScreen.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import * as React from 'react';
4
-import WebViewScreen from "../../components/Screens/WebViewScreen";
4
+import WebViewScreen from "../../../components/Screens/WebViewScreen";
5 5
 
6 6
 const URL = 'https://ent.insa-toulouse.fr/';
7 7
 /**

src/screens/Websites/ElusEtudiantsWebsiteScreen.js → src/screens/Services/Websites/ElusEtudiantsWebsiteScreen.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import * as React from 'react';
4
-import WebViewScreen from "../../components/Screens/WebViewScreen";
4
+import WebViewScreen from "../../../components/Screens/WebViewScreen";
5 5
 
6 6
 const URL = 'https://etud.insa-toulouse.fr/~eeinsat/';
7 7
 /**

src/screens/Websites/TutorInsaWebsiteScreen.js → src/screens/Services/Websites/TutorInsaWebsiteScreen.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import * as React from 'react';
4
-import WebViewScreen from "../../components/Screens/WebViewScreen";
4
+import WebViewScreen from "../../../components/Screens/WebViewScreen";
5 5
 
6 6
 const URL = 'https://www.etud.insa-toulouse.fr/~tutorinsa/';
7 7
 /**

src/screens/Websites/WiketudWebsiteScreen.js → src/screens/Services/Websites/WiketudWebsiteScreen.js View File

@@ -1,7 +1,7 @@
1 1
 // @flow
2 2
 
3 3
 import * as React from 'react';
4
-import WebViewScreen from "../../components/Screens/WebViewScreen";
4
+import WebViewScreen from "../../../components/Screens/WebViewScreen";
5 5
 
6 6
 const URL = 'https://wiki.etud.insa-toulouse.fr/';
7 7
 /**

Loading…
Cancel
Save