Commit 2ea4d50f authored by Kittisak Maneewong's avatar Kittisak Maneewong

Add employerLogin

parents 25219b2b 9350bdce
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -19,29 +19,58 @@ ...@@ -19,29 +19,58 @@
<img src="../../../public/img/banner.png" class="my-2" width="150"> <img src="../../../public/img/banner.png" class="my-2" width="150">
</v-toolbar-title> </v-toolbar-title>
<v-spacer></v-spacer> <v-spacer></v-spacer>
<v-btn flat color="black" class="mx-0 px-0"> <v-btn v-if="!responsive" flat color="black" class="mx-0 px-0">
<v-icon>home</v-icon> <v-icon>home</v-icon>
<span class="body-2 font-weight-bold">หน้าหลัก</span> <span class="body-2 font-weight-bold">หน้าหลัก</span>
</v-btn> </v-btn>
<<<<<<< HEAD
<v-btn flat color="black" class="mx-0 px-0 body-2 font-weight-bold"> <v-btn flat color="black" class="mx-0 px-0 body-2 font-weight-bold">
=======
<v-btn v-if="!responsive" flat color="black" class="mx-0 px-0 body-2 font-weight-bold">
>>>>>>> 9350bdce5009f90094e55411c7757daa29722586
<span class="body-2 font-weight-bold">เกี่ยวกับเรา</span> <span class="body-2 font-weight-bold">เกี่ยวกับเรา</span>
</v-btn> </v-btn>
<v-btn flat color="black" class="mx-0 px-0 body-2 font-weight-bold"> <v-btn v-if="!responsive" flat color="black" class="mx-0 px-0 body-2 font-weight-bold">
<span class="body-2 font-weight-bold">เกี่ยวกับเรา</span> <span class="body-2 font-weight-bold">เกี่ยวกับเรา</span>
</v-btn> </v-btn>
<v-btn flat color="black" class="mx-0 px-0 body-2 font-weight-bold"> <v-btn v-if="!responsive" flat color="black" class="mx-0 px-0 body-2 font-weight-bold">
<span class="body-2 font-weight-bold">เกี่ยวกับเรา</span> <span class="body-2 font-weight-bold">เกี่ยวกับเรา</span>
</v-btn> </v-btn>
<v-btn flat color="black" class="mx-0 px-0 body-2 font-weight-bold"> <v-btn v-if="!responsive" flat color="black" class="mx-0 px-0 body-2 font-weight-bold">
<span class="body-2 font-weight-bold">เกี่ยวกับเรา</span> <span class="body-2 font-weight-bold">เกี่ยวกับเรา</span>
</v-btn> </v-btn>
<v-btn flat color="black" class="mx-0 px-0 body-2 font-weight-bold"> <v-btn v-if="!responsive" flat color="black" class="mx-0 px-0 body-2 font-weight-bold">
<span class="body-2 font-weight-bold">เกี่ยวกับเรา</span> <span class="body-2 font-weight-bold">เกี่ยวกับเรา</span>
</v-btn> </v-btn>
<v-btn flat color="black" class="mx-0 px-0 body-2 font-weight-bold"> <v-btn v-if="!responsive" flat color="black" class="mx-0 px-0 body-2 font-weight-bold">
<span class="body-2 font-weight-bold">เกี่ยวกับเรา</span> <span class="body-2 font-weight-bold">เกี่ยวกับเรา</span>
</v-btn> </v-btn>
<v-menu left bottom v-if="responsive">
<template v-slot:activator="{ on }">
<v-toolbar-side-icon v-on="on"></v-toolbar-side-icon>
</template>
<v-list>
<v-list-tile @click="">
<v-list-tile-title>หน้าหลัก</v-list-tile-title>
</v-list-tile>
<v-list-tile @click="">
<v-list-tile-title>หน้าหลัก</v-list-tile-title>
</v-list-tile>
<v-list-tile @click="">
<v-list-tile-title>หน้าหลัก</v-list-tile-title>
</v-list-tile>
<v-list-tile @click="">
<v-list-tile-title>หน้าหลัก</v-list-tile-title>
</v-list-tile>
<v-list-tile @click="">
<v-list-tile-title>หน้าหลัก</v-list-tile-title>
</v-list-tile>
<v-list-tile @click="">
<v-list-tile-title>หน้าหลัก</v-list-tile-title>
</v-list-tile>
</v-list>
</v-menu>
</v-toolbar> </v-toolbar>
</v-flex> </v-flex>
</v-layout> </v-layout>
...@@ -50,6 +79,27 @@ ...@@ -50,6 +79,27 @@
<script> <script>
export default { export default {
props: ['page'] props: ['page'],
data () {
return {
responsive: false
}
},
mounted () {
this.onResponsiveInverted()
window.addEventListener('resize', this.onResponsiveInverted)
},
beforeDestroy () {
window.removeEventListener('resize', this.onResponsiveInverted)
},
methods: {
onResponsiveInverted () {
if (window.innerWidth < 991) {
this.responsive = true
} else {
this.responsive = false
}
}
}
} }
</script> </script>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment