Skip to content

Commit

Permalink
Welcome screen
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwolf93 committed Jun 16, 2020
1 parent 13c6bf0 commit e6a24ca
Show file tree
Hide file tree
Showing 20 changed files with 194 additions and 22 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"author":"Yuki","version":"1.0","files":["ui/web/dist/-1.8738fa9c.png","ui/web/dist/1.c8f0e02c.jpg","ui/web/dist/10.0662a962.png","ui/web/dist/11.0e5fc2d9.png","ui/web/dist/12.b35a1a8a.png","ui/web/dist/13.a14cf830.png","ui/web/dist/14.ae904303.png","ui/web/dist/15.69e5f533.png","ui/web/dist/156.33c536eb.png","ui/web/dist/1574.3b3d42a1.png","ui/web/dist/16.bdb46659.png","ui/web/dist/17.8f0f90e2.png","ui/web/dist/18.7dd5c0bd.png","ui/web/dist/19.0a1ad060.png","ui/web/dist/2.2b8bb13a.png","ui/web/dist/20.dcd2e9c9.png","ui/web/dist/21.1fdb4d54.png","ui/web/dist/22.996a6d8b.png","ui/web/dist/23.4aee3e9a.png","ui/web/dist/24.77440a4d.png","ui/web/dist/25.1a7c55e0.png","ui/web/dist/26.f264d122.png","ui/web/dist/27.e4c2a991.png","ui/web/dist/28.865ab7bf.png","ui/web/dist/29.f2787f13.png","ui/web/dist/3.f9b78951.jpg","ui/web/dist/30.ac517333.png","ui/web/dist/31.e5a55639.jpg","ui/web/dist/32.cc82915c.jpg","ui/web/dist/4.e490fdbf.png","ui/web/dist/5.30378137.jpg","ui/web/dist/50001.cb571b63.png","ui/web/dist/508.b5c07ba5.png","ui/web/dist/514.0118d934.png","ui/web/dist/554.10285a38.png","ui/web/dist/6.a483f41b.png","ui/web/dist/7.9f6cce01.png","ui/web/dist/8.ce5a1799.png","ui/web/dist/9.793ade8a.png","ui/web/dist/AldotheApache.06dee643.woff","ui/web/dist/AldotheApache.8707ff58.woff2","ui/web/dist/ammo.ac1731e4.png","ui/web/dist/anchor.074ec25f.png","ui/web/dist/animate.aa6560e3.css","ui/web/dist/animate.aa6560e3.css.map","ui/web/dist/apple.9ebbc630.png","ui/web/dist/bag_1.ca2caa57.png","ui/web/dist/bananas.0c61e964.png","ui/web/dist/cash.e69acbd7.png","ui/web/dist/cuff.2aa511ef.png","ui/web/dist/death_icon.04678e81.png","ui/web/dist/defibrilator.eec0a5dd.png","ui/web/dist/fishing_rod.a207bc5d.png","ui/web/dist/icon_armory.a4045ca3.png","ui/web/dist/icon_atm.6e210cd0.png","ui/web/dist/icon_clothes.f5f8b7e2.png","ui/web/dist/icon_delivery.2d3b83cf.png","ui/web/dist/icon_delivery_2.0824fdf3.png","ui/web/dist/icon_delivery_stock.d035bb91.png","ui/web/dist/icon_ems.b1026bed.png","ui/web/dist/icon_fisher.3c9eff5f.png","ui/web/dist/icon_fisher_seller.33f8da46.png","ui/web/dist/icon_garage.a29464bd.png","ui/web/dist/icon_garbage.1eef6427.png","ui/web/dist/icon_garbage_bin.0b8657a1.png","ui/web/dist/icon_gasstation.c17cee2b.png","ui/web/dist/icon_hopital.182465de.png","ui/web/dist/icon_lumberjack.0ddcbc54.png","ui/web/dist/icon_lumberjack.51199a2d.png","ui/web/dist/icon_lumberjack_seller.0a934559.png","ui/web/dist/icon_miner.25c206ab.png","ui/web/dist/icon_miner.8d186231.png","ui/web/dist/icon_miner_seller.30ea7eb6.png","ui/web/dist/icon_police.63b21800.png","ui/web/dist/icon_police.a8d6d2e4.png","ui/web/dist/icon_shop.b5dc0aa6.png","ui/web/dist/icon_turtle.9532a0ff.png","ui/web/dist/icon_vseller.bdd6a420.png","ui/web/dist/icon_weed.9206594a.png","ui/web/dist/index.html","ui/web/dist/jerrican_fuel.66dee607.png","ui/web/dist/layers-2x.d8c4f271.png","ui/web/dist/layers.350ec81b.png","ui/web/dist/ls.b3a33602.png","ui/web/dist/lumberjack_hatchet.dee1a5cf.png","ui/web/dist/map.5920ca6f.jpg","ui/web/dist/marker-icon.b29b8023.png","ui/web/dist/mask_1.f56efe0d.png","ui/web/dist/mask_2.711a0cfc.png","ui/web/dist/mask_3.6267f74a.png","ui/web/dist/phone.6df0da0d.png","ui/web/dist/pickaxe.850a4185.png","ui/web/dist/player_cursor.45a97301.png","ui/web/dist/pot.096b19cf.png","ui/web/dist/repairkit.84115ce5.png","ui/web/dist/Roboto-Regular.227d0f9b.woff","ui/web/dist/Roboto-Regular.47c26b4b.woff2","ui/web/dist/salmon.de9c42f6.png","ui/web/dist/scripts.58a06279.css","ui/web/dist/scripts.58a06279.css.map","ui/web/dist/scripts.c680dbc7.js","ui/web/dist/scripts.c680dbc7.js.map","ui/web/dist/styles.daa4fa21.css","ui/web/dist/styles.daa4fa21.css.map","ui/web/dist/ticket_delivery_generator.481c3c85.png","ui/web/dist/ticket_delivery_growbox.a6b6ba33.png","ui/web/dist/turtle.523138eb.png","ui/web/dist/vkey.4c663d93.png","ui/web/dist/w-1.26556e1d.png","ui/web/dist/w-3.e2321cef.png","ui/web/dist/w-7.26bb82bc.png","ui/web/dist/wallpaper1.8c5775cd.jpg","ui/web/dist/water.b8f02a77.png","ui/web/dist/weed.a928857c.png","ui/web/dist/weed_seed_1.f63dec6c.png","sounds/ambiant_1.mp3","sounds/atm_sound_in.mp3","sounds/calling_beep.mp3","sounds/call_end.mp3","sounds/carLock.mp3","sounds/cartoon_accent.mp3","sounds/carUnlock.mp3","sounds/car_repair_1.mp3","sounds/cash_register.mp3","sounds/chop_wood.mp3","sounds/defibrilator.mp3","sounds/fishing_1.mp3","sounds/hand_cuff.mp3","sounds/lock_door.mp3","sounds/ls_sound.mp3","sounds/notif_1.mp3","sounds/pickaxe_hit.mp3","sounds/pickup_object.mp3","sounds/power_generator.mp3","sounds/ringtone.mp3","sounds/saw_mill_cut.mp3","sounds/shop_ambiant.mp3","sounds/shop_ambiant2.mp3","sounds/shop_bell.mp3","sounds/success_1.mp3","sounds/toctoc.mp3","sounds/water_fill.mp3","sounds/white_noise.mp3","paks/YRPF.pak"],"server_scripts":null,"client_scripts":["ui/ui.lua","client_api.lua","sound_api.lua","character_api.lua","job_api.lua","modding_api.lua","housing_api.lua"]}
{"author":"Yuki","version":"1.0","files":["ui/web/dist/-1.8738fa9c.png","ui/web/dist/1.c8f0e02c.jpg","ui/web/dist/10.0662a962.png","ui/web/dist/11.0e5fc2d9.png","ui/web/dist/12.b35a1a8a.png","ui/web/dist/13.a14cf830.png","ui/web/dist/14.ae904303.png","ui/web/dist/15.69e5f533.png","ui/web/dist/156.33c536eb.png","ui/web/dist/1574.3b3d42a1.png","ui/web/dist/16.bdb46659.png","ui/web/dist/17.8f0f90e2.png","ui/web/dist/18.7dd5c0bd.png","ui/web/dist/19.0a1ad060.png","ui/web/dist/2.2b8bb13a.png","ui/web/dist/20.dcd2e9c9.png","ui/web/dist/21.1fdb4d54.png","ui/web/dist/22.996a6d8b.png","ui/web/dist/23.4aee3e9a.png","ui/web/dist/24.77440a4d.png","ui/web/dist/25.1a7c55e0.png","ui/web/dist/26.f264d122.png","ui/web/dist/27.e4c2a991.png","ui/web/dist/28.865ab7bf.png","ui/web/dist/29.f2787f13.png","ui/web/dist/3.f9b78951.jpg","ui/web/dist/30.ac517333.png","ui/web/dist/31.e5a55639.jpg","ui/web/dist/32.cc82915c.jpg","ui/web/dist/4.e490fdbf.png","ui/web/dist/5.30378137.jpg","ui/web/dist/50001.cb571b63.png","ui/web/dist/508.b5c07ba5.png","ui/web/dist/514.0118d934.png","ui/web/dist/554.10285a38.png","ui/web/dist/6.a483f41b.png","ui/web/dist/7.9f6cce01.png","ui/web/dist/8.ce5a1799.png","ui/web/dist/9.793ade8a.png","ui/web/dist/AldotheApache.06dee643.woff","ui/web/dist/AldotheApache.8707ff58.woff2","ui/web/dist/ammo.ac1731e4.png","ui/web/dist/anchor.074ec25f.png","ui/web/dist/animate.aa6560e3.css","ui/web/dist/animate.aa6560e3.css.map","ui/web/dist/apple.9ebbc630.png","ui/web/dist/bag_1.ca2caa57.png","ui/web/dist/bananas.0c61e964.png","ui/web/dist/cash.e69acbd7.png","ui/web/dist/cuff.2aa511ef.png","ui/web/dist/death_icon.04678e81.png","ui/web/dist/defibrilator.eec0a5dd.png","ui/web/dist/fishing_rod.a207bc5d.png","ui/web/dist/icon_armory.a4045ca3.png","ui/web/dist/icon_atm.6e210cd0.png","ui/web/dist/icon_clothes.f5f8b7e2.png","ui/web/dist/icon_delivery.2d3b83cf.png","ui/web/dist/icon_delivery_2.0824fdf3.png","ui/web/dist/icon_delivery_stock.d035bb91.png","ui/web/dist/icon_ems.b1026bed.png","ui/web/dist/icon_fisher.3c9eff5f.png","ui/web/dist/icon_fisher_seller.33f8da46.png","ui/web/dist/icon_garage.a29464bd.png","ui/web/dist/icon_garbage.1eef6427.png","ui/web/dist/icon_garbage_bin.0b8657a1.png","ui/web/dist/icon_gasstation.c17cee2b.png","ui/web/dist/icon_hopital.182465de.png","ui/web/dist/icon_lumberjack.0ddcbc54.png","ui/web/dist/icon_lumberjack.51199a2d.png","ui/web/dist/icon_lumberjack_seller.0a934559.png","ui/web/dist/icon_miner.25c206ab.png","ui/web/dist/icon_miner.8d186231.png","ui/web/dist/icon_miner_seller.30ea7eb6.png","ui/web/dist/icon_police.63b21800.png","ui/web/dist/icon_police.a8d6d2e4.png","ui/web/dist/icon_shop.b5dc0aa6.png","ui/web/dist/icon_turtle.9532a0ff.png","ui/web/dist/icon_vseller.bdd6a420.png","ui/web/dist/icon_weed.9206594a.png","ui/web/dist/index.html","ui/web/dist/jerrican_fuel.66dee607.png","ui/web/dist/layers-2x.d8c4f271.png","ui/web/dist/layers.350ec81b.png","ui/web/dist/ls.b3a33602.png","ui/web/dist/lumberjack_hatchet.dee1a5cf.png","ui/web/dist/map.5920ca6f.jpg","ui/web/dist/marker-icon.b29b8023.png","ui/web/dist/mask_1.f56efe0d.png","ui/web/dist/mask_2.711a0cfc.png","ui/web/dist/mask_3.6267f74a.png","ui/web/dist/phone.6df0da0d.png","ui/web/dist/pickaxe.850a4185.png","ui/web/dist/player_cursor.45a97301.png","ui/web/dist/pot.096b19cf.png","ui/web/dist/repairkit.84115ce5.png","ui/web/dist/Roboto-Regular.227d0f9b.woff","ui/web/dist/Roboto-Regular.47c26b4b.woff2","ui/web/dist/salmon.de9c42f6.png","ui/web/dist/scripts.58a06279.css","ui/web/dist/scripts.58a06279.css.map","ui/web/dist/scripts.a127283c.js","ui/web/dist/scripts.a127283c.js.map","ui/web/dist/styles.a4d4992f.css","ui/web/dist/styles.a4d4992f.css.map","ui/web/dist/ticket_delivery_generator.481c3c85.png","ui/web/dist/ticket_delivery_growbox.a6b6ba33.png","ui/web/dist/turtle.523138eb.png","ui/web/dist/vkey.4c663d93.png","ui/web/dist/w-1.26556e1d.png","ui/web/dist/w-3.e2321cef.png","ui/web/dist/w-7.26bb82bc.png","ui/web/dist/wallpaper1.8c5775cd.jpg","ui/web/dist/water.b8f02a77.png","ui/web/dist/weed.a928857c.png","ui/web/dist/weed_seed_1.f63dec6c.png","ui/web/dist/welcomeimage.5e35cf3a.png","sounds/ambiant_1.mp3","sounds/atm_sound_in.mp3","sounds/calling_beep.mp3","sounds/call_end.mp3","sounds/carLock.mp3","sounds/cartoon_accent.mp3","sounds/carUnlock.mp3","sounds/car_repair_1.mp3","sounds/cash_register.mp3","sounds/chop_wood.mp3","sounds/defibrilator.mp3","sounds/fishing_1.mp3","sounds/hand_cuff.mp3","sounds/lock_door.mp3","sounds/ls_sound.mp3","sounds/music_1.mp3","sounds/notif_1.mp3","sounds/pickaxe_hit.mp3","sounds/pickup_object.mp3","sounds/power_generator.mp3","sounds/ringtone.mp3","sounds/saw_mill_cut.mp3","sounds/shop_ambiant.mp3","sounds/shop_ambiant2.mp3","sounds/shop_bell.mp3","sounds/success_1.mp3","sounds/toctoc.mp3","sounds/water_fill.mp3","sounds/white_noise.mp3","paks/YRPF.pak"],"server_scripts":null,"client_scripts":["ui/ui.lua","client_api.lua","sound_api.lua","character_api.lua","job_api.lua","modding_api.lua","housing_api.lua"]}
19 changes: 19 additions & 0 deletions sound_api.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
AmbiantSounds = {}
SoundsInstance = {}

AddEvent("OnObjectStreamIn", function(object)
CheckAmbiantSound(object)
Expand Down Expand Up @@ -32,3 +33,21 @@ end
AddEvent("Play2DSound", Play2DSound)
AddRemoteEvent("Sound:Play2DSound", Play2DSound)

function PlayAndRegister2DSound(id, path, volume)
local s = CreateSound(path)
SoundsInstance[id] = s
SetSoundVolume(s, volume)
end
AddEvent("PlayAndRegister2DSound", PlayAndRegister2DSound)
AddRemoteEvent("Sound:PlayAndRegister2DSound", PlayAndRegister2DSound)


function Stop2DSound(id)
local s = SoundsInstance[id]
if s ~= nil then
DestroySound(s)
end
end
AddEvent("Stop2DSound", Stop2DSound)
AddRemoteEvent("Sound:Stop2DSound", Stop2DSound)

Binary file added sounds/music_1.mp3
Binary file not shown.
Binary file added ui/web/assets/welcomeimage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion ui/web/dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<html><head><link rel="stylesheet" href="animate.aa6560e3.css"><link rel="stylesheet" href="styles.daa4fa21.css"><meta charset="UTF-8"><link rel="stylesheet" href="scripts.58a06279.css"></head><body> <div id="root"></div> <script>"undefined"!=typeof ue?(!function(e){ue.game={},ue.game.callevent=function(n){if("string"==typeof n)if(0==(arguments.length<=1?0:arguments.length-1))e.callevent(n,"");else{for(var l=[],t=0;t<(arguments.length<=1?0:arguments.length-1);t++)l[t]=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];e.callevent(n,JSON.stringify(l))}}}(ue.game),CallEvent=ue.game.callevent):window.CallEvent=function(e){console.log(e)};</script> <script src="scripts.c680dbc7.js"></script> </body></html>
<html><head><link rel="stylesheet" href="animate.aa6560e3.css"><link rel="stylesheet" href="styles.a4d4992f.css"><meta charset="UTF-8"><link rel="stylesheet" href="scripts.58a06279.css"></head><body> <div id="root"></div> <script>"undefined"!=typeof ue?(!function(e){ue.game={},ue.game.callevent=function(n){if("string"==typeof n)if(0==(arguments.length<=1?0:arguments.length-1))e.callevent(n,"");else{for(var l=[],t=0;t<(arguments.length<=1?0:arguments.length-1);t++)l[t]=t+1<1||arguments.length<=t+1?void 0:arguments[t+1];e.callevent(n,JSON.stringify(l))}}}(ue.game),CallEvent=ue.game.callevent):window.CallEvent=function(e){console.log(e)};</script> <script src="scripts.a127283c.js"></script> </body></html>

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ui/web/dist/scripts.a127283c.js.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion ui/web/dist/scripts.c680dbc7.js.map

This file was deleted.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions ui/web/dist/styles.a4d4992f.css.map

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion ui/web/dist/styles.daa4fa21.css.map

This file was deleted.

Binary file added ui/web/dist/welcomeimage.5e35cf3a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions ui/web/scripts/modules/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ import { connect } from "react-redux";
import constants from "../actions/constants";
import { setWindowState } from "../actions/ui_modules";
import { UIWindow } from "../components";
import {Inventory, ATM, Garage, VSeller, CustomCharacter, VChest, GameMap, XPBar, BigMap, Death, CharacterJob,
Seller, LangSelector, StateWindow, GrowboxMenu, VehicleState, FoodBar, Phone, HouseBuy} from "./";
import {
Inventory, ATM, Garage, VSeller, CustomCharacter, VChest, GameMap, XPBar, BigMap, Death, CharacterJob,
Seller, LangSelector, StateWindow, GrowboxMenu, VehicleState, FoodBar, Phone, HouseBuy, WelcomeScreen
} from "./";
import { ToastContainer, toast } from 'react-toastify';
import * as i18n from "../i18n";

Expand Down Expand Up @@ -52,6 +54,7 @@ class App extends React.Component {
{this.props.uiModules.foodbar ? <FoodBar /> : null}
{this.props.uiModules.phone ? <Phone /> : null}
{this.props.uiModules.houseBuy ? <HouseBuy /> : null}
{this.props.uiModules.welcomeScreen ? <WelcomeScreen /> : null}
</div>
}
}
Expand Down
4 changes: 4 additions & 0 deletions ui/web/scripts/modules/customCharacter/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ class CustomCharacter extends React.Component {
window.CallEvent("RemoteCallInterface", "Character:Style:CustomDone");
}

componentDidUpdate() {
window.CallEvent("SetInputMode", 2)
}

componentDidMount() {
this.reset();
window.CallEvent("SetInputMode", 2)
Expand Down
4 changes: 3 additions & 1 deletion ui/web/scripts/modules/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import VehicleState from "./vehiclestate";
import FoodBar from "./foodbar";
import Phone from "./phone";
import HouseBuy from "./houseBuy";
import WelcomeScreen from "./welcomescreen";

export {
App,
Expand All @@ -39,5 +40,6 @@ export {
VehicleState,
FoodBar,
Phone,
HouseBuy
HouseBuy,
WelcomeScreen
}
19 changes: 14 additions & 5 deletions ui/web/scripts/modules/phone/screens/in-call.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,18 +83,27 @@ class InCall extends React.Component {

case 1:
return <div>
<div className="numpad-btn numpad-btn-rotate app-icon-red" style={{transform: "rotate(135deg)"}} onClick={() => { window.CallEvent("RemoteCallInterface", "Phone:RequestEndCall"); }}>
<div className="numpad-btn numpad-btn-rotate app-icon-red" style={{transform: "rotate(135deg)"}} onClick={() => {
window.CallEvent("RemoteCallInterface", "Phone:RequestEndCall");
this.props.setPhoneScreen("homepage");
}}>
<FontAwesomeIcon icon={faPhoneAlt} />
</div>
</div>

case 2:
return <div>
<div className="numpad-btn app-icon-green" onClick={() => { window.CallEvent("RemoteCallInterface", "Phone:RequestAnswer"); }}>
<div className="numpad-btn app-icon-green" onClick={() => {
window.CallEvent("RemoteCallInterface", "Phone:RequestAnswer");
}}>
<FontAwesomeIcon icon={faPhoneAlt} />
</div>
<div style={{width: "30px", display: "inline-block"}} onClick={() => { window.CallEvent("RemoteCallInterface", "Phone:RequestEndCall"); }} />
<div className="numpad-btn numpad-btn-rotate app-icon-red" style={{transform: "rotate(135deg)"}}>
<div style={{width: "30px", display: "inline-block"}} />
<div className="numpad-btn numpad-btn-rotate app-icon-red" style={{transform: "rotate(135deg)"}}
onClick={() => {
window.CallEvent("RemoteCallInterface", "Phone:RequestEndCall");
this.props.setPhoneScreen("homepage");
}}>
<FontAwesomeIcon icon={faPhoneAlt} />
</div>
</div>
Expand All @@ -104,7 +113,7 @@ class InCall extends React.Component {
<div className="numpad-btn numpad-btn-rotate app-icon-red" style={{transform: "rotate(135deg)"}}
onClick={() => {
window.CallEvent("RemoteCallInterface", "Phone:RequestEndCall");
this.props.setPhoneScreen("call");
this.props.setPhoneScreen("homepage");
}}>
<FontAwesomeIcon icon={faPhoneAlt} />
</div>
Expand Down
69 changes: 69 additions & 0 deletions ui/web/scripts/modules/welcomescreen/index.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
import { connect } from "react-redux";
import { UIWindow } from "../../components";
import assets from "../../assets";
import * as React from "react";
import constants from "../../actions/constants";
import { Map, ImageOverlay, Marker, Polygon } from 'react-leaflet'
import { CRS, Icon, DivIcon } from "leaflet";
import * as i18n from "../../i18n";

class WelcomeScreen extends React.Component {

constructor(props) {
super(props);
this.state = {
}
}

componentDidMount() {
window.CallEvent("SetInputMode", 1)
window.CallEvent("PlayAndRegister2DSound", "welcome_music", "sounds/music_1.mp3", 0.2);
}

componentWillUnmount() {
window.CallEvent("SetInputMode", 0)
window.CallEvent("Stop2DSound", "welcome_music");
}

render() {
return <div id="welcomescreen">
<div className="welcome-img">
</div>
<div className="button-area">
<div className="ui-btn" style={{width: "250px", marginLeft: "auto", marginRight: "auto"}} onClick={() => this.props.disableScreen()}>
Rejoindre le serveur
</div>
</div>
<div className="ribbon">
<div className="block">
<h2>Description</h2>
<span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus purus mauris, elementum sed porta a, ultricies in mi. Etiam lobortis pharetra massa, a pretium ligula faucibus nec. Fusce placerat massa luctus faucibus tempor.</span>
</div>
<div className="block block-center-text">
<h2>Bienvenue sur YRPF</h2>
<span>Amusez-vous en respectant les régles</span>
</div>
<div className="block">
<h2>Informations</h2>
<span>
Gamemode <b>Roleplay</b><br />
Joueurs Max <b>100</b><br />
Discord <b>https://discord.gg/SWGhWz</b><br />
Site Web <b>https://google.com/</b><br />
</span>
</div>
</div>
</div>;
}
}

export default connect((state, ownProps) => {
return {
uiModules: state.uiModules,
_: state.i18n
}
}, (dispatch) => {
return {
disableScreen: () => dispatch({ type: constants.SET_WINDOW_STATE, windowType: "welcomeScreen", windowState: false })
}
})(WelcomeScreen);
Loading

0 comments on commit e6a24ca

Please sign in to comment.