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>
|
<template>
|
||||||
<div id="component">
|
<div id="component">
|
||||||
|
<NavBar></NavBar>
|
||||||
<div class="container is-flex is-align-items-center is-flex-direction-column">
|
<div class="container is-flex is-align-items-center is-flex-direction-column">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="file is-info has-name">
|
<div class="file is-info has-name">
|
||||||
@ -49,7 +50,6 @@
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
#component {
|
#component {
|
||||||
margin: 2rem;
|
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -62,9 +62,10 @@
|
|||||||
// @ is an alias to /src
|
// @ is an alias to /src
|
||||||
|
|
||||||
import ICry from "../components/ICry";
|
import ICry from "../components/ICry";
|
||||||
|
import NavBar from "../components/NavBar";
|
||||||
export default {
|
export default {
|
||||||
name: 'Apply',
|
name: 'Apply',
|
||||||
components: {ICry},
|
components: {ICry, NavBar},
|
||||||
props: {
|
props: {
|
||||||
},
|
},
|
||||||
data: function() {
|
data: function() {
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div id="component">
|
<div id="component">
|
||||||
|
<NavBar></NavBar>
|
||||||
<div class="container is-flex is-align-items-center is-flex-direction-column">
|
<div class="container is-flex is-align-items-center is-flex-direction-column">
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<div class="file is-info has-name">
|
<div class="file is-info has-name">
|
||||||
@ -54,7 +55,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
#component {
|
#component {
|
||||||
margin: 2rem;
|
|
||||||
max-height: 100vh;
|
max-height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,9 +67,10 @@
|
|||||||
// @ is an alias to /src
|
// @ is an alias to /src
|
||||||
|
|
||||||
import ICry from "../components/ICry";
|
import ICry from "../components/ICry";
|
||||||
|
import NavBar from "../components/NavBar";
|
||||||
export default {
|
export default {
|
||||||
name: 'Upload',
|
name: 'Upload',
|
||||||
components: {ICry},
|
components: {ICry, NavBar},
|
||||||
props: {
|
props: {
|
||||||
"detections": Array
|
"detections": Array
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user