<template>
	<div>
		<langBar/>
		<site-header/>
		<nuxt/>
	</div>
</template>


<script>
   export default {
      beforeCreate() {
         if (this.$route.params.lang === 'fa') {
            $('html').attr({lang: 'fa'})
         } else if (this.$route.params.lang === 'en') {
            $('html').attr({lang: 'en'})
         }
      }
   }
</script>
