NavBar to Upload and Apply pages
This commit is contained in:
parent
34bb71ad4c
commit
662ea4fcd2
18
form/res-judicata/src/components/NavBar.vue
Normal file
18
form/res-judicata/src/components/NavBar.vue
Normal file
@ -0,0 +1,18 @@
|
||||
<template>
|
||||
<b-navbar>
|
||||
<template #brand>
|
||||
<b-navbar-item tag="router-link" :to="{ path: '/' }">
|
||||
<img
|
||||
src="@/assets/logo.png"
|
||||
alt="Res Judicata"
|
||||
>
|
||||
</b-navbar-item>
|
||||
</template>
|
||||
</b-navbar>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "NavBar"
|
||||
}
|
||||
</script>
|
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div id="component">
|
||||
<NavBar></NavBar>
|
||||
<div class="container is-flex is-align-items-center is-flex-direction-column">
|
||||
<div class="field">
|
||||
<div class="file is-info has-name">
|
||||
@ -49,7 +50,6 @@
|
||||
|
||||
<style scoped>
|
||||
#component {
|
||||
margin: 2rem;
|
||||
max-height: 100vh;
|
||||
}
|
||||
|
||||
@ -62,9 +62,10 @@
|
||||
// @ is an alias to /src
|
||||
|
||||
import ICry from "../components/ICry";
|
||||
import NavBar from "../components/NavBar";
|
||||
export default {
|
||||
name: 'Apply',
|
||||
components: {ICry},
|
||||
components: {ICry, NavBar},
|
||||
props: {
|
||||
},
|
||||
data: function() {
|
||||
|
@ -1,5 +1,6 @@
|
||||
<template>
|
||||
<div id="component">
|
||||
<NavBar></NavBar>
|
||||
<div class="container is-flex is-align-items-center is-flex-direction-column">
|
||||
<div class="field">
|
||||
<div class="file is-info has-name">
|
||||
@ -54,7 +55,6 @@
|
||||
}
|
||||
|
||||
#component {
|
||||
margin: 2rem;
|
||||
max-height: 100vh;
|
||||
}
|
||||
|
||||
@ -67,9 +67,10 @@
|
||||
// @ is an alias to /src
|
||||
|
||||
import ICry from "../components/ICry";
|
||||
import NavBar from "../components/NavBar";
|
||||
export default {
|
||||
name: 'Upload',
|
||||
components: {ICry},
|
||||
components: {ICry, NavBar},
|
||||
props: {
|
||||
"detections": Array
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user