Skip to content

Commit

Permalink
Edit Views nayarahilton#3
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasjs committed Nov 30, 2017
1 parent 41210d7 commit c13d5cd
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 30 deletions.
29 changes: 16 additions & 13 deletions src/views/CameraView.vue
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
<template>
<div class="post">
<status-bar
link="/home"
title="Postar"
/>
<tabs-bottom />
<section class="post-section">
<photo-upload :src="imageData" labelText="Escolha uma foto" />
<main-textarea v-model="title" value="title" placeholder="Escreva uma legenda"></main-textarea>
<main-button text-inner="Postar conteúdo" @click.prevent.native="post">
</main-button>
</section>
</div>
<div class="post">
<header>
<status-bar
link="/home"
title="Postar"
/>
<tabs-bottom />
</header>
<section class="post-section">
<photo-upload :src="imageData" labelText="Escolha uma foto" />
<main-textarea v-model="title" value="title" placeholder="Escreva uma legenda"></main-textarea>
<main-button text-inner="Postar conteúdo" @click.prevent.native="post">
</main-button>
</section>
</div>
</template>
<script>
import postContent from '@/mixins/postContent';
Expand Down Expand Up @@ -58,6 +60,7 @@ export default {
holder()
padding 10px 20px
box-sizing border-box
margin-bottom 50px
.input-file + label,
.image-preview,
Expand Down
20 changes: 11 additions & 9 deletions src/views/HomeView.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
<template>
<div class="home">
<slider-items />
<tabs-top :links="linksTop" />
<tabs-bottom />
<post-card resume="true" />
<header class="home-header">
<slider-items />
<tabs-top :links="linksTop" />
<tabs-bottom />
</header>
<main class="home-main">
<post-card resume="true" />
</main>
</div>
</template>

Expand All @@ -27,11 +31,6 @@ export default {
url: '#',
name: 'todas as áreas',
},
{
class: 'hashtags',
url: '#',
name: '#hashtags',
},
],
};
},
Expand All @@ -51,4 +50,7 @@ export default {
.home
background #f9f9f9
&-main
padding-bottom 50px
</style>
24 changes: 16 additions & 8 deletions src/views/QuestionsView.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<template>
<div class="question">
<status-bar
link="/home"
title="Perguntas"
/>
<tabs-bottom />
<main class="main">
<div class="questions">
<header class="questions-header">
<status-bar
link="/home"
title="Perguntas"
/>
<tabs-bottom />
</header>
<main class="questions-main">
<main-titles
:title-text="profession"
subtitle-text="Toque no balão para responder"
Expand All @@ -27,14 +29,17 @@ export default {
profession: '#Design',
questions: [
{
id: 1,
question: 'Entrar direto na faculdade de Design ou fazer um curso?',
answer: 'Lorem ipsum',
},
{
id: 2,
question: 'Dicas para quem está começando?',
answer: 'Lorem ipsum',
},
{
id: 3,
question: 'Quais os melhores cursos e escolas de cursos para essa profissão?',
answer: 'Lorem ipsum',
},
Expand All @@ -53,7 +58,10 @@ export default {
<style lang="stylus">
@import '../assets/styles/_colors'
.question
.questions
&-main
padding-bottom 50px
&-text
font-size 20px
Expand Down

0 comments on commit c13d5cd

Please sign in to comment.