Skip to content

Commit 98d94fd

Browse files
Merge pull request #109 from VitorCarvalho67/dev
Fix error on header link
2 parents 5197a11 + 99a03ba commit 98d94fd

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

client/src/components/Header.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
</div>
66
<nav>
77
<ul>
8-
<li><router-link to="/home">Rankings</router-link></li>
8+
<li><router-link to="/ranking">Rankings</router-link></li>
99
<li @click="toggleSpanView" @mouseenter="toggleSpanView" @mouseleave="toggleSpanView">
1010
<a>Entre como</a>
1111
<div v-if="spanView" @mouseenter="toggleSpanView" @mouseleave="toggleSpanView">

client/src/scss/pages/shared/_ranking.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ main {
44
border-bottom: 1px solid #0000008f;
55

66
.content {
7-
@include flex(row, flex-start, start);
7+
@include flex(row, center, start);
88
width: calc(100% - 300px);
99
min-height: calc(100vh - 80px);
10-
padding: 40px 20px;
10+
padding: 0px 20px;
1111
background-color: $primary-color-dark;
1212

1313
@include m-screen(700px) {
@@ -20,7 +20,7 @@ main {
2020
}
2121

2222
#box1 {
23-
padding: 50px 0px 0px 100px;
23+
padding: 50px 0px 0px 0px;
2424
width: 70%;
2525

2626
h1 {

client/src/views/shared/Ranking.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,12 @@
2424
</section>
2525
</main>
2626
</div>
27+
<Footer />
2728
</template>
2829

2930
<script>
30-
import Header from '../../components/aluno/Header.vue';
31+
import Header from '../../components/Header.vue';
32+
import Footer from '../../components/Footer.vue';
3133
import searchIcon from '../../assets/icons/procurar.png';
3234
import medalha1 from '../../assets/icons/m1.png';
3335
import medalha2 from '../../assets/icons/m2.png';
@@ -43,6 +45,7 @@ export default {
4345
name: 'Ranking',
4446
components: {
4547
Header,
48+
Footer
4649
},
4750
data() {
4851
return {

0 commit comments

Comments
 (0)