<template>
  <div class="portal-layout">
    <portal-nav />
    <div class="portal-main">
      <router-view />
    </div>
    <portal-footer />
  </div>
</template>

<script>
import PortalNav from './PortalNav'
import PortalFooter from './PortalFooter'

export default {
  name: 'PortalLayout',
  components: {
    PortalNav,
    PortalFooter
  }
}
</script>

<style lang="scss" scoped>
.portal-layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f5f7fa;
}

.portal-main {
  flex: 1;
  width: 100%;
}
</style>
