From 2340f49830c7ed5cd768b0e75e0f466bcdc1b30c Mon Sep 17 00:00:00 2001 From: henrydays Date: Sat, 6 Apr 2019 00:37:03 +0100 Subject: [PATCH] app --- .DS_Store | Bin 12292 -> 12292 bytes App/app/Router.js | 14 +- App/app/screens/Home.js | 2 +- App/app/screens/Scan.js | 5 +- App/app/store/actions/api.js | 2 +- api/.DS_Store | Bin 12292 -> 12292 bytes api/Controllers/mvcController.cs | 27 +- api/Views/.DS_Store | Bin 14340 -> 14340 bytes api/Views/Landing/app.cshtml | 398 ++++++++ api/Views/Landing/ctf.cshtml | 0 api/wwwroot/.DS_Store | Bin 18436 -> 18436 bytes api/wwwroot/app.html | 4 +- api/wwwroot/imgs/.DS_Store | Bin 10244 -> 10244 bytes api/wwwroot/imgs/ctf/1.png | Bin 270975 -> 0 bytes api/wwwroot/imgs/ctf/10.png | Bin 268708 -> 0 bytes api/wwwroot/imgs/ctf/2.png | Bin 268945 -> 0 bytes api/wwwroot/imgs/ctf/3.png | Bin 272250 -> 0 bytes api/wwwroot/imgs/ctf/4.png | Bin 273065 -> 0 bytes api/wwwroot/imgs/ctf/5.png | Bin 266164 -> 0 bytes api/wwwroot/imgs/ctf/6.png | Bin 268230 -> 0 bytes api/wwwroot/imgs/ctf/7.png | Bin 268232 -> 0 bytes api/wwwroot/imgs/ctf/8.png | Bin 270689 -> 0 bytes api/wwwroot/imgs/ctf/9.png | Bin 269855 -> 0 bytes api/wwwroot/imgs/events/bubblefootball.jpg | Bin 134108 -> 0 bytes api/wwwroot/imgs/events/escalada.jpg | Bin 71054 -> 0 bytes api/wwwroot/imgs/events/febrada.jpg | Bin 90426 -> 0 bytes api/wwwroot/imgs/events/festa.jpg | Bin 115585 -> 0 bytes api/wwwroot/imgs/events/jogo.jpg | Bin 61789 -> 0 bytes api/wwwroot/imgs/events/karaoke.jpg | Bin 107228 -> 0 bytes api/wwwroot/imgs/events/kart.jpg | Bin 107123 -> 0 bytes api/wwwroot/imgs/events/quiz.jpg | Bin 79610 -> 0 bytes api/wwwroot/imgs/events/rallyrascas.jpg | Bin 115269 -> 0 bytes api/wwwroot/imgs/events/simulador.jpg | Bin 90915 -> 0 bytes api/wwwroot/imgs/rally/.DS_Store | Bin 8196 -> 0 bytes api/wwwroot/imgs/rally/24Bar/24barAvatar.jpg | Bin 6303 -> 0 bytes api/wwwroot/imgs/rally/24Bar/24barHeader.jpg | Bin 77467 -> 0 bytes .../imgs/rally/24Bar/24barLocation.PNG | Bin 99950 -> 0 bytes .../imgs/rally/4EverBar/4everAvatar.png | Bin 89882 -> 0 bytes .../imgs/rally/4EverBar/4everHeader.png | Bin 438829 -> 0 bytes .../imgs/rally/4EverBar/beatclub location.PNG | Bin 62252 -> 0 bytes .../imgs/rally/AChamine/chamine location.png | Bin 347594 -> 0 bytes .../imgs/rally/AChamine/chamineAvatar.png | Bin 341821 -> 0 bytes .../imgs/rally/AChamine/chamineHeader.png | Bin 493764 -> 0 bytes .../imgs/rally/BeatClub/beatclub location.PNG | Bin 62252 -> 0 bytes api/wwwroot/imgs/rally/BeatClub/beatclub.PNG | Bin 201084 -> 0 bytes .../imgs/rally/Cabido/cabidoAvatar.png | Bin 313589 -> 0 bytes .../imgs/rally/Cabido/cabidoHeader.png | Bin 472012 -> 0 bytes .../imgs/rally/Cabido/cabidoLocation.PNG | Bin 81521 -> 0 bytes .../imgs/rally/Guitarras/guitarrasAvatar.jpg | Bin 73611 -> 0 bytes .../imgs/rally/Guitarras/guitarrasHeader.jpg | Bin 97401 -> 0 bytes .../rally/Guitarras/guitarrasLocation.PNG | Bin 91442 -> 0 bytes .../imgs/rally/Moelas/moelasAvatar.png | Bin 365074 -> 0 bytes .../imgs/rally/Moelas/moelasHeader.png | Bin 313664 -> 0 bytes .../imgs/rally/Moelas/moelasLocation.png | Bin 47704 -> 0 bytes .../rally/NkNoiteKaraoke/karaoke location.PNG | Bin 165090 -> 0 bytes .../imgs/rally/NkNoiteKaraoke/logo.jpg | Bin 55146 -> 0 bytes .../rally/NkNoiteKaraoke/nk_avatarImage.jpg | Bin 30048 -> 0 bytes .../rally/NkNoiteKaraoke/nk_headerImage.jpg | Bin 76465 -> 0 bytes .../imgs/rally/Pintos/pintos location.PNG | Bin 72808 -> 0 bytes api/wwwroot/imgs/rally/Pintos/pintos.PNG | Bin 363441 -> 0 bytes .../imgs/rally/Pintos/pintosheader.JPG | Bin 110021 -> 0 bytes .../imgs/rally/RSCafeBar/rscafeAvatar.png | Bin 409677 -> 0 bytes .../imgs/rally/RSCafeBar/rscafeHeader.png | Bin 536598 -> 0 bytes .../imgs/rally/RSCafeBar/rscafeLocation.png | Bin 54386 -> 0 bytes .../What_s up doc bar location.PNG | Bin 160841 -> 0 bytes .../imgs/rally/What_sUpDocBar/headerImage.jpg | Bin 133790 -> 0 bytes .../imgs/rally/What_sUpDocBar/logo.png | Bin 123319 -> 0 bytes .../imgs/rally/What_sUpDocBar/wpdb_avatar.jpg | Bin 44296 -> 0 bytes api/wwwroot/js/scripts.js | 67 +- api/wwwroot/main.css | 850 ++++++++++-------- api/wwwroot/main.css.map | 10 +- api/wwwroot/main.scss | 346 ++++++- website/app.html | 4 +- website/js/scripts.js | 67 +- website/main.css | 339 +++++++ website/main.css.map | 2 +- website/main.scss | 346 ++++++- 77 files changed, 2028 insertions(+), 455 deletions(-) create mode 100644 api/Views/Landing/app.cshtml create mode 100644 api/Views/Landing/ctf.cshtml delete mode 100755 api/wwwroot/imgs/ctf/1.png delete mode 100755 api/wwwroot/imgs/ctf/10.png delete mode 100755 api/wwwroot/imgs/ctf/2.png delete mode 100755 api/wwwroot/imgs/ctf/3.png delete mode 100755 api/wwwroot/imgs/ctf/4.png delete mode 100755 api/wwwroot/imgs/ctf/5.png delete mode 100755 api/wwwroot/imgs/ctf/6.png delete mode 100755 api/wwwroot/imgs/ctf/7.png delete mode 100755 api/wwwroot/imgs/ctf/8.png delete mode 100755 api/wwwroot/imgs/ctf/9.png delete mode 100755 api/wwwroot/imgs/events/bubblefootball.jpg delete mode 100755 api/wwwroot/imgs/events/escalada.jpg delete mode 100755 api/wwwroot/imgs/events/febrada.jpg delete mode 100755 api/wwwroot/imgs/events/festa.jpg delete mode 100755 api/wwwroot/imgs/events/jogo.jpg delete mode 100755 api/wwwroot/imgs/events/karaoke.jpg delete mode 100755 api/wwwroot/imgs/events/kart.jpg delete mode 100755 api/wwwroot/imgs/events/quiz.jpg delete mode 100755 api/wwwroot/imgs/events/rallyrascas.jpg delete mode 100755 api/wwwroot/imgs/events/simulador.jpg delete mode 100755 api/wwwroot/imgs/rally/.DS_Store delete mode 100755 api/wwwroot/imgs/rally/24Bar/24barAvatar.jpg delete mode 100755 api/wwwroot/imgs/rally/24Bar/24barHeader.jpg delete mode 100755 api/wwwroot/imgs/rally/24Bar/24barLocation.PNG delete mode 100755 api/wwwroot/imgs/rally/4EverBar/4everAvatar.png delete mode 100755 api/wwwroot/imgs/rally/4EverBar/4everHeader.png delete mode 100755 api/wwwroot/imgs/rally/4EverBar/beatclub location.PNG delete mode 100755 api/wwwroot/imgs/rally/AChamine/chamine location.png delete mode 100755 api/wwwroot/imgs/rally/AChamine/chamineAvatar.png delete mode 100755 api/wwwroot/imgs/rally/AChamine/chamineHeader.png delete mode 100755 api/wwwroot/imgs/rally/BeatClub/beatclub location.PNG delete mode 100755 api/wwwroot/imgs/rally/BeatClub/beatclub.PNG delete mode 100755 api/wwwroot/imgs/rally/Cabido/cabidoAvatar.png delete mode 100755 api/wwwroot/imgs/rally/Cabido/cabidoHeader.png delete mode 100755 api/wwwroot/imgs/rally/Cabido/cabidoLocation.PNG delete mode 100755 api/wwwroot/imgs/rally/Guitarras/guitarrasAvatar.jpg delete mode 100755 api/wwwroot/imgs/rally/Guitarras/guitarrasHeader.jpg delete mode 100755 api/wwwroot/imgs/rally/Guitarras/guitarrasLocation.PNG delete mode 100755 api/wwwroot/imgs/rally/Moelas/moelasAvatar.png delete mode 100755 api/wwwroot/imgs/rally/Moelas/moelasHeader.png delete mode 100755 api/wwwroot/imgs/rally/Moelas/moelasLocation.png delete mode 100755 api/wwwroot/imgs/rally/NkNoiteKaraoke/karaoke location.PNG delete mode 100755 api/wwwroot/imgs/rally/NkNoiteKaraoke/logo.jpg delete mode 100755 api/wwwroot/imgs/rally/NkNoiteKaraoke/nk_avatarImage.jpg delete mode 100755 api/wwwroot/imgs/rally/NkNoiteKaraoke/nk_headerImage.jpg delete mode 100755 api/wwwroot/imgs/rally/Pintos/pintos location.PNG delete mode 100755 api/wwwroot/imgs/rally/Pintos/pintos.PNG delete mode 100755 api/wwwroot/imgs/rally/Pintos/pintosheader.JPG delete mode 100755 api/wwwroot/imgs/rally/RSCafeBar/rscafeAvatar.png delete mode 100755 api/wwwroot/imgs/rally/RSCafeBar/rscafeHeader.png delete mode 100755 api/wwwroot/imgs/rally/RSCafeBar/rscafeLocation.png delete mode 100755 api/wwwroot/imgs/rally/What_sUpDocBar/What_s up doc bar location.PNG delete mode 100755 api/wwwroot/imgs/rally/What_sUpDocBar/headerImage.jpg delete mode 100755 api/wwwroot/imgs/rally/What_sUpDocBar/logo.png delete mode 100755 api/wwwroot/imgs/rally/What_sUpDocBar/wpdb_avatar.jpg diff --git a/.DS_Store b/.DS_Store index a0c28a510d9287ec3d638f641d850206677ec7c3..47fedbb5922a92635775f1ee09a0623e6e66f48a 100644 GIT binary patch delta 95 zcmZokXi3i&up7nG`_NI{-MIn3;StC3i+11_lO3AO->s?#&CO#aTA1^C+=1o|x<<+`uJXU2SY^p`&1C zGMQgpmT|`9j|%dPGdBy1{NSFYpA1OXl_=kqfl*bZlI%JVr*7h%gG_G kYG~`3kXu<*T~k{J(=Dj@nT=6)GmFMomd(FZxR@Db0UMYp9RL6T diff --git a/App/app/Router.js b/App/app/Router.js index 0477623c..238dd27b 100755 --- a/App/app/Router.js +++ b/App/app/Router.js @@ -150,10 +150,16 @@ const Stack = createStackNavigator({ if (navigation.state.routes[index].routeName == 'Jogo') { return { - header: ( - Jogo do ENEI'19 - ) - + headerTitle: (Jogo do ENEI'19) + } diff --git a/App/app/screens/Home.js b/App/app/screens/Home.js index 195c90ad..ff0a15f8 100755 --- a/App/app/screens/Home.js +++ b/App/app/screens/Home.js @@ -592,7 +592,7 @@ class Home extends Component { /> - {this.props.team.ativa || this.props.team.eventId==3 && navigate("teamDetail")} style={{ backgroundColor: 'green' }}>Ver o progresso da equipa + {(this.props.team.ativa || this.props.team.eventId==3 ) && navigate("teamDetail")} style={{ backgroundColor: 'green' }}>Ver o progresso da equipa } {!this.props.team.ativa && this.props.team.eventId==1 && navigate("teamDetail")} style={{ backgroundColor: 'orange' }}>Deves efectuar o pagamento } diff --git a/App/app/screens/Scan.js b/App/app/screens/Scan.js index ccf7d713..740a7d40 100644 --- a/App/app/screens/Scan.js +++ b/App/app/screens/Scan.js @@ -36,7 +36,10 @@ import {RkButton, this.setState({code:e.data}); this.props.scanQrCode({UserQR:this.props.user.Code, ScanQR: e.data},this.props.internalToken); - setTimeout(()=> this.scanner.reactivate(), + setTimeout(()=> { + if(this.scanner!=null) + this.scanner.reactivate() + }, 2000 ) }; diff --git a/App/app/store/actions/api.js b/App/app/store/actions/api.js index c30f95fd..3f2a8c66 100644 --- a/App/app/store/actions/api.js +++ b/App/app/store/actions/api.js @@ -160,7 +160,7 @@ export function getCromos(user, tokenInternal) { }) .catch(p => { console.log(p); - Alert.alert("ERRO!", "erro a obter os eventos"); + Alert.alert("ERRO!", "Erro a obter os cromos."); }); dispatch({ diff --git a/api/.DS_Store b/api/.DS_Store index c577078098712b02ab7ed6f8cad7fc80229c774c..d707bbb2f4935254e3f9b86644967fbb8a9a31dc 100755 GIT binary patch delta 56 zcmZokXi3Cp}ASDjzYD$xq*&?iLqI2EhmS#s-dlCLT+VM rbxm#EjLD8F@{BV#zY userManager) { - _context = context; + _context = context; _userManager = userManager; } [HttpGet("")] [AllowAnonymous] - public IActionResult landingPage() { + public IActionResult landingPage() + { return View("Views/Landing/index.cshtml"); } - - + [HttpGet("/app")] + [AllowAnonymous] + public IActionResult appPage() + { + + return View("Views/Landing/app.cshtml"); + } + + + [HttpGet("/ctf")] + [AllowAnonymous] + public IActionResult ctfPage() { + + return View("Views/Landing/ctf.cshtml"); + } + + + + - } } \ No newline at end of file diff --git a/api/Views/.DS_Store b/api/Views/.DS_Store index 623fa3cdbafea393a41e19c4a29e10b7f7b8bfd8..afba3a6188296c3046472200dea96f30bc6d99c8 100644 GIT binary patch delta 230 zcmZoEXerp>#Uv*tDlQ=^DI_fuFCd(hn4FznlwX>c;+&t8U*wciI@wT4cybX_fNZ<~ ze{phAeojt6esN|=W`15|bb3){iho*Kacarr`%J#|5t+&PdBK@gsbGoVg2d#^ymV#z z4-8bX!8+f2NM8^ CjW>w^ delta 245 zcmZoEXerp>#iSuBCN3c=DJ3NnFCd(hn4FznlwX>c;+&t8U*wcini`RroSzq*S(Q4u znkhgwI=v_}#Xl{rIJG1)UVy(ixhOv;Cm_E#vm`S=Z}JN!-+GW}Mt->`P**@vYFTD# zIap6{L1J=dUb?dV2L>=ub_jqmG$0HC24x6?fkD}!as!ynA;1`tm!Fr)$*Jt%4VC3! z&}MLC@L~vN$Y3aE=wq10u#8~`!%>D?3~v~|F-o#9iZLoNYBQQJ+A`WRdN2ku1~G;( NMlwciKEmu^0su>7K0^Qi diff --git a/api/Views/Landing/app.cshtml b/api/Views/Landing/app.cshtml new file mode 100644 index 00000000..23fb8c82 --- /dev/null +++ b/api/Views/Landing/app.cshtml @@ -0,0 +1,398 @@ + + + + + + + + + + + + + + + + + + ENEI'19 + + + + + + + + + + + + + + + + + + + + + +
+
+
+

Aplicação ENEI 2019

+

Esta aplicação vai-te acompanhar durante todo o evento, melhorando drásticamente a interação com as + empresas e atividades.

+
+
+ + phone +
+ +
+
+ +
+ +
+

conhece as

+

principais funcionalidades

+
+
+
+ +

+ Jogo do ENEI +

+ +

Nesta página podes encontrar as tuas informações pessoais, o que tens direito com o + teu bilhete, e ainda as tuas equipas

+
+
+ +

+ Inscrições em palestras +

+

Através da aplicação é ainda possível fazer inscrições nas palestras e workshops +

+
+
+ +

+ Calendário +

+

Acompanha todas as palestras e os seus detalhes através da app.

+

Possui ainda a localização da palestra no campus.

+
+
+ +

+ Criar equipas +

+

Faz um simples scan e adiciona os teus amigos à tua equipa!!

+

Caso sejas o capitão da equipa, podes ainda alterar o nome e remover elementos.

+
+
+
+ + + +
+ +

descobre as

+

Páginas da aplicação

+ + + + + + + + + +
+ +
+ phone +
+

Home

+

Página inicial e de perfil.

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer rutrum, urna eu pellentesque + pretium, nisi nisi fermentum enim, et sagittis dolor nulla vel sapien. Vestibulum sit amet + mattis ante. Ut placerat dui eu nulla congue tincidunt ac a nibh. Mauris accumsan pulvinar lorem + placerat volutpat. Praesent quis facilisis elit. Sed condimentum neque quis ex porttitor.

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer rutrum, urna eu pellentesque + pretium, nisi nisi fermentum enim, et sagittis dolor nulla vel sapien. Vestibulum sit amet + mattis ante. Ut placerat dui eu nulla congue tincidunt ac a nibh. Mauris accumsan pulvinar lorem + placerat volutpat. Praesent quis facilisis elit. Sed condimentum neque quis ex porttitor,

+
+
+ +
+ +
+

Equipas

+

equipas!

+
+ +
+

Eventos

+

Eventos.

+
+ +
+

Jogo do enei

+

Jogo.

+
+
+

Calendário

+

calendar.

+
+
+

Inscrições

+

Inscrições

+
+
+ + + +
+
+

Faz já o download da aplicação

+

Aplicação disponível nas típicas lojas de aplicações.

+ + +
+ + + +
+ + + + + +
+
+
+
+
Perguntas Frequentes
+

Faq

+
+
+
+
+
+
    +
  • + O que é o ENEI? +
    +

    O Encontro Nacional de Estudantes de Informática (ENEI) é um evento que pretende + oferecer aos estudantes de todo o país um evento que promove a aprendizagem, a troca + de + ideias e o convívio, enquanto tenta criar fortes ligações com o mundo empresarial. +

    + +

    Esta versão do evento também incluirá os tradicionais momentos de diversão noturnos + que + muito apelam a todos os participantes das antigas edições e são uma excelente via de + networking e transferência de conhecimento!

    +
    +
  • +
  • + Onde me posso + inscrever? +
    +

    Podes adquirir o teu bilhete AQUI. +

    +
    +
  • +
  • + Quando é que o programa vai estar disponível? +
    +

    O programa vai sendo lançado nas próximas semanas de forma iterativa.

    + +
    +
  • +
  • + Quem pode + participar no evento? +
    +

    Podem participar no ENEI'19 todos os estudantes do Ensino Superior ou Secundário.

    +
    +
  • +
  • + Tenho + acesso a todas as sessões? +
    +

    Não, as palestras e workshops necessitam de inscrições visto que têm lugares + limitados.

    +

    Brevemente poderás te inscrever na aplicação móvel do ENEI'19!

    +
    +
  • +
+
+
+
    +
  • + O que é o ENEI? +
    +

    O Encontro Nacional de Estudantes de Informática (ENEI) é um evento que pretende + oferecer aos estudantes de todo o país um evento que promove a aprendizagem, a troca + de + ideias e o convívio, enquanto tenta criar fortes ligações com o mundo empresarial. +

    + +

    Esta versão do evento também incluirá os tradicionais momentos de diversão noturnos + que + muito apelam a todos os participantes das antigas edições e são uma excelente via de + networking e transferência de conhecimento!

    +
    +
  • +
  • + Onde me posso + inscrever? +
    +

    Podes adquirir o teu bilhete AQUI. +

    +
    +
  • +
  • + Quando é que o programa vai estar disponível? +
    +

    O programa vai sendo lançado nas próximas semanas de forma iterativa.

    + +
    +
  • +
  • + Quem pode + participar no evento? +
    +

    Podem participar no ENEI'19 todos os estudantes do Ensino Superior ou Secundário.

    +
    +
  • +
  • + Tenho + acesso a todas as sessões? +
    +

    Não, as palestras e workshops necessitam de inscrições visto que têm lugares + limitados.

    +

    Brevemente poderás te inscrever na aplicação móvel do ENEI'19!

    +
    +
  • +
+
+
+
+
+ + + + +
+
+
+
+

© 2019 ENEI . Todos os direitos reservados

+
+
+
+
+ + + + + + + + + + + + \ No newline at end of file diff --git a/api/Views/Landing/ctf.cshtml b/api/Views/Landing/ctf.cshtml new file mode 100644 index 00000000..e69de29b diff --git a/api/wwwroot/.DS_Store b/api/wwwroot/.DS_Store index 41510ef7a17401ec03d89b48fa43fcb08fec364e..a6385362e4d95ba8e580b9395b0597ede43736f2 100755 GIT binary patch delta 236 zcmZpfz}PZ@aYM2WI!c^kqT&*gQqt10llyhVI3qHX^Yel;t5PR#*V$zdFTh`% zkzei!6bmRyEz3+Tk4`VjObISXOwP2BBt!%4VC0z&}MLC z2xf?3C}e10n9i`6VJpKyhI0&$8NM?7XXIrRV^m_)X4GLcWi)4WV02_ucV_fp^kfWz aXlG)C8Y2Uxp%i2E#=Aplicação disponível nas típicas lojas de aplicações.
- +
- +