Skip to content

Commit

Permalink
Merge pull request VitorCarvalho67#109 from VitorCarvalho67/dev
Browse files Browse the repository at this point in the history
Fix error on header link
  • Loading branch information
VitorCarvalho67 authored Nov 24, 2024
2 parents 5197a11 + 99a03ba commit 98d94fd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion client/src/components/Header.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</div>
<nav>
<ul>
<li><router-link to="/home">Rankings</router-link></li>
<li><router-link to="/ranking">Rankings</router-link></li>
<li @click="toggleSpanView" @mouseenter="toggleSpanView" @mouseleave="toggleSpanView">
<a>Entre como</a>
<div v-if="spanView" @mouseenter="toggleSpanView" @mouseleave="toggleSpanView">
Expand Down
6 changes: 3 additions & 3 deletions client/src/scss/pages/shared/_ranking.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ main {
border-bottom: 1px solid #0000008f;

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

@include m-screen(700px) {
Expand All @@ -20,7 +20,7 @@ main {
}

#box1 {
padding: 50px 0px 0px 100px;
padding: 50px 0px 0px 0px;
width: 70%;

h1 {
Expand Down
5 changes: 4 additions & 1 deletion client/src/views/shared/Ranking.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,12 @@
</section>
</main>
</div>
<Footer />
</template>

<script>
import Header from '../../components/aluno/Header.vue';
import Header from '../../components/Header.vue';
import Footer from '../../components/Footer.vue';
import searchIcon from '../../assets/icons/procurar.png';
import medalha1 from '../../assets/icons/m1.png';
import medalha2 from '../../assets/icons/m2.png';
Expand All @@ -43,6 +45,7 @@ export default {
name: 'Ranking',
components: {
Header,
Footer
},
data() {
return {
Expand Down

0 comments on commit 98d94fd

Please sign in to comment.