Skip to content

Commit

Permalink
Alguns ajustes
Browse files Browse the repository at this point in the history
  • Loading branch information
thauska committed Sep 6, 2020
1 parent cb97023 commit 31a9fef
Show file tree
Hide file tree
Showing 10 changed files with 65 additions and 23 deletions.
Binary file added images/Ada_Lovelace_portrait.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/Babbage.jpg
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 quasar.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = function (/* ctx */) {
extras: [
// 'ionicons-v4',
// 'mdi-v5',
'fontawesome-v5',
// 'fontawesome-v5',
// 'eva-icons',
// 'themify',
// 'line-awesome',
Expand Down
3 changes: 3 additions & 0 deletions src/css/app.sass
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@

.container-logo-bmg
height: 50px !important

.q-toolbar .q-btn--round
margin-bottom: 1rem;
13 changes: 13 additions & 0 deletions src/layouts/MainLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<q-layout view="hhh lpR fff">
<q-header reveal bordered class="purplebg text-white">
<q-toolbar>
<q-btn dense flat round icon="keyboard_arrow_left" @click="goBack()" />
<q-toolbar-title></q-toolbar-title>
<q-btn dense flat round icon="home" @click="goHome()" />
</q-toolbar>
</q-header>
<q-page-container>
Expand All @@ -19,6 +22,16 @@ export default {
data () {
return {
}
},
methods: {
goBack () {
if (this.$router.path !== '/') {
this.$router.go(-1)
}
},
goHome () {
this.$router.push('/dashboard')
}
}
}
</script>
Expand Down
17 changes: 17 additions & 0 deletions src/pages/AdaClub.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<template>
<q-page class="container">
<div class="row q-pt-sm center">
<span>Clube ADA!</span>
</div>
</q-page>
</template>

<script>
export default {
}
</script>

<style>
</style>
38 changes: 22 additions & 16 deletions src/pages/Dashboard.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
<template>
<q-page class="container">
<div class="row q-pt-sm justify-center">
<div class="row q-pt-md justify-center">
<div class="row col-11">
<span> Olá, </span>
</div>
<div class="row col-11">
<span> Maria </span>
<span> Olá, Maria </span>
</div>
</div>
<div class="row q-pt-lg justify-center">
Expand All @@ -27,7 +24,7 @@
</q-card-section>
</q-card>
</div>
<div class="row q-pt-sm q-gutter-xs no-wrap justify-center">
<div class="row q-pt-lg q-gutter-xs no-wrap justify-center">
<q-card class="card bg-secondary">
<q-card-section class="row justify-center">
<img class="q-mb-sm" src="../../public/scan-barcode.svg" height="30"/>
Expand Down Expand Up @@ -60,26 +57,35 @@
export default {
data () {
return {
actionsCard: [
{
label: 'Pagar conta',
icon: 'svg://192.168.0.9:8080/assets/scan-barcode.svg'
},
{
label: 'Transferir dinheiro',
icon: 'svg://192.168.0.9:8080/assets/icone-transacao.svg'
}
]
actionsCard: []
}
}
}
</script>

<script>
window.watsonAssistantChatOptions = {
integrationID: "043cdc85-9cb6-4348-afe8-49dcd567aeac", // The ID of this integration.
region: "us-south", // The region your integration is hosted in.
serviceInstanceID: "d723d7dd-5e60-457a-a10f-6fa5d1fb919e", // The ID of your service instance.
onLoad: function(instance) { instance.render(); }
};
setTimeout(function(){
const t=document.createElement('script');
t.src="https://web-chat.global.assistant.watson.appdomain.cloud/loadWatsonAssistantChat.js";
document.head.appendChild(t);
});
</script>

<style>
.border-card {
border: 1px solid purple;
}
.card {
width: 23%;
}
#WACContainer.WACContainer .WACLauncher__ButtonContainer {
margin-bottom: 1rem;
}
</style>
4 changes: 2 additions & 2 deletions src/pages/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
</div>
<div class="row col-12 justify-center">
<div class="col-12 row justify-center">
<q-btn class="q-px-md btn" color="secondary" label="Seja uma cliente" no-caps outline dense @click="goSignUp()"/>
<q-btn class="q-px-xl btn login" color="secondary" label="Entrar" no-caps dense @click="goLogin()"/>
</div>
<div class="col-12 row justify-center">
<q-btn class="q-px-xl btn login" color="secondary" label="Entrar" no-caps dense @click="goLogin()"/>
<q-btn class="q-px-md btn" color="secondary" label="Seja uma cliente" no-caps outline dense @click="goSignUp()"/>
</div>
</div>
</q-page>
Expand Down
8 changes: 5 additions & 3 deletions src/pages/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@
<img class="logo-ada" src="../../public/ADA2.png" height="100"/>
</div>
<div class="row align-data">
<div class="row col-12">
<div class="text-secondary text-body1 text-weight-bold"> Oi, Fulaninha </div>
<div class="row q-pt-sm justify-center">
<div class="row col-11">
<span> Olá, Maria</span>
</div>
</div>
<div class="row col-12">
<span class="text-secondary text-body1 text-weight-bold"> Conta: 111111-1 </span>
<span class="text-secondary text-body1 text-weight-bold"> Conta: 846486877-0 </span>
</div>
</div>
<div class="row col-8 justify-center">
Expand Down
3 changes: 2 additions & 1 deletion src/router/routes.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ const routes = [
{ path: 'cadastro', component: () => import('pages/SignUp.vue') },
{ path: 'login', component: () => import('pages/Login.vue') },
{ path: 'recuperar-senha', component: () => import('pages/RecoverPassword.vue') },
{ path: 'dashboard', component: () => import('pages/Dashboard.vue') }
{ path: 'dashboard', component: () => import('pages/Dashboard.vue') },
{ path: 'clube-ada', component: () => import('pages/AdaClub.vue') }
]
},

Expand Down

0 comments on commit 31a9fef

Please sign in to comment.