[+] Create next course div in navbar

This commit is contained in:
Hykilpikonna
2019-10-20 20:48:18 -04:00
parent 1e28191e67
commit cbf70cbeef
3 changed files with 11 additions and 2 deletions
@@ -46,5 +46,4 @@
// Font // Font
font-size: 1.25rem; font-size: 1.25rem;
display: inline-flex; display: inline-flex;
} }
+8
View File
@@ -77,6 +77,14 @@ export default class Navigation extends Vue
this.$emit('update:activeIndex', newIndex); this.$emit('update:activeIndex', newIndex);
} }
/**
* Move to the next course
*/
public nextCourse()
{
// TODO: implement this.
}
/** /**
* This function is called when the sign out button is clicked. * This function is called when the sign out button is clicked.
*/ */
+3 -1
View File
@@ -18,7 +18,9 @@
<el-button @click="signOut" id="sign-out-button" type="text">Sign Out</el-button> <el-button @click="signOut" id="sign-out-button" type="text">Sign Out</el-button>
</el-menu> </el-menu>
<div class="line"></div> <div v-if="activeIndex.includes('course')" @click="nextCourse" id="next-course">
NEXT COURSE
</div>
</div> </div>
</template> </template>