Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions frontend/src/App.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
<template>
<img alt="Vue logo" src="./assets/logo.png">
<HelloWorld msg="Welcome to Your Vue.js App"/>
<img alt="Llama logo" src="./assets/llama.png">
<NavBar msg="Vermilion Llama Scheduling App"/>
</template>

<script>
import HelloWorld from './components/HelloWorld.vue'
import NavBar from './components/NavBar.vue'

export default {
name: 'App',
components: {
HelloWorld
NavBar
}
}
</script>
Expand Down
Binary file added frontend/src/assets/llama.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed frontend/src/assets/logo.png
Binary file not shown.
58 changes: 0 additions & 58 deletions frontend/src/components/HelloWorld.vue

This file was deleted.

29 changes: 29 additions & 0 deletions frontend/src/components/NavBar.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<template>
<div class="nav">
<h1>{{ msg }}</h1>
</div>
</template>

<script>
export default {
name: 'NavBar',
props: {
msg: String
}
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
color: #e34234;
}
</style>