Added more websites
This commit is contained in:
parent
e6835b0d6f
commit
78634b0c5d
4 changed files with 42 additions and 2 deletions
|
@ -28,6 +28,8 @@ import {AmicaleWebsiteScreen} from "../screens/Websites/AmicaleWebsiteScreen";
|
||||||
import {ElusEtudiantsWebsiteScreen} from "../screens/Websites/ElusEtudiantsWebsiteScreen";
|
import {ElusEtudiantsWebsiteScreen} from "../screens/Websites/ElusEtudiantsWebsiteScreen";
|
||||||
import {WiketudWebsiteScreen} from "../screens/Websites/WiketudWebsiteScreen";
|
import {WiketudWebsiteScreen} from "../screens/Websites/WiketudWebsiteScreen";
|
||||||
import {TutorInsaWebsiteScreen} from "../screens/Websites/TutorInsaWebsiteScreen";
|
import {TutorInsaWebsiteScreen} from "../screens/Websites/TutorInsaWebsiteScreen";
|
||||||
|
import {ENTWebsiteScreen} from "../screens/Websites/ENTWebsiteScreen.js";
|
||||||
|
import {BlueMindWebsiteScreen} from "../screens/Websites/BlueMindWebsiteScreen.js";
|
||||||
import LoginScreen from "../screens/Amicale/LoginScreen";
|
import LoginScreen from "../screens/Amicale/LoginScreen";
|
||||||
import ProfileScreen from "../screens/Amicale/ProfileScreen";
|
import ProfileScreen from "../screens/Amicale/ProfileScreen";
|
||||||
import ClubListScreen from "../screens/Amicale/Clubs/ClubListScreen";
|
import ClubListScreen from "../screens/Amicale/Clubs/ClubListScreen";
|
||||||
|
@ -119,6 +121,8 @@ function ServicesStackComponent() {
|
||||||
{getWebsiteStack("elus-etudiants", ServicesStack, ElusEtudiantsWebsiteScreen, "Élus Étudiants")}
|
{getWebsiteStack("elus-etudiants", ServicesStack, ElusEtudiantsWebsiteScreen, "Élus Étudiants")}
|
||||||
{getWebsiteStack("wiketud", ServicesStack, WiketudWebsiteScreen, "Wiketud")}
|
{getWebsiteStack("wiketud", ServicesStack, WiketudWebsiteScreen, "Wiketud")}
|
||||||
{getWebsiteStack("tutorinsa", ServicesStack, TutorInsaWebsiteScreen, "Tutor'INSA")}
|
{getWebsiteStack("tutorinsa", ServicesStack, TutorInsaWebsiteScreen, "Tutor'INSA")}
|
||||||
|
{getWebsiteStack("ent", ServicesStack, ENTWebsiteScreen, "ENT INSA")}
|
||||||
|
{getWebsiteStack("bluemind", ServicesStack, BlueMindWebsiteScreen, "BlueMind")}
|
||||||
</ServicesStack.Navigator>
|
</ServicesStack.Navigator>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
18
src/screens/Websites/BlueMindWebsiteScreen.js.js
Normal file
18
src/screens/Websites/BlueMindWebsiteScreen.js.js
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
// @flow
|
||||||
|
|
||||||
|
import * as React from 'react';
|
||||||
|
import WebViewScreen from "../../components/Screens/WebViewScreen";
|
||||||
|
|
||||||
|
const URL = 'https://etud-mel.insa-toulouse.fr/webmail/';
|
||||||
|
/**
|
||||||
|
* Class defining the app's available rooms screen.
|
||||||
|
* This screen uses a webview to render the page
|
||||||
|
*/
|
||||||
|
export const BlueMindWebsiteScreen = (props: Object) => {
|
||||||
|
return (
|
||||||
|
<WebViewScreen
|
||||||
|
{...props}
|
||||||
|
url={URL}/>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
18
src/screens/Websites/ENTWebsiteScreen.js.js
Normal file
18
src/screens/Websites/ENTWebsiteScreen.js.js
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
// @flow
|
||||||
|
|
||||||
|
import * as React from 'react';
|
||||||
|
import WebViewScreen from "../../components/Screens/WebViewScreen";
|
||||||
|
|
||||||
|
const URL = 'https://ent.insa-toulouse.fr/';
|
||||||
|
/**
|
||||||
|
* Class defining the app's available rooms screen.
|
||||||
|
* This screen uses a webview to render the page
|
||||||
|
*/
|
||||||
|
export const ENTWebsiteScreen = (props: Object) => {
|
||||||
|
return (
|
||||||
|
<WebViewScreen
|
||||||
|
{...props}
|
||||||
|
url={URL}/>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
|
@ -66,13 +66,13 @@ class WebsitesHomeScreen extends React.Component<Props> {
|
||||||
title: "EMAIL",
|
title: "EMAIL",
|
||||||
subtitle: "EMAIL",
|
subtitle: "EMAIL",
|
||||||
image: EMAIL_IMAGE,
|
image: EMAIL_IMAGE,
|
||||||
onPress: () => nav.navigate("available-rooms"),
|
onPress: () => nav.navigate("bluemind"),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "ENT",
|
title: "ENT",
|
||||||
subtitle: "ENT",
|
subtitle: "ENT",
|
||||||
image: ENT_IMAGE,
|
image: ENT_IMAGE,
|
||||||
onPress: () => nav.navigate("bib"),
|
onPress: () => nav.navigate("ent"),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue