<template>
  <!-- Home is a view for browsing through the primary inventory. It should
	  allow users to sort, filter, and search for items and add them to their
	  cart. -->

  <div id="home">
    <div class="columns">
      <div class="column is-narrow">
        <section class="section">
          <div class="box">
            <InventoryFilter></InventoryFilter>
          </div>
        </section>
      </div>

      <div class="column">
        <div class="container">
          <section class="section">
            <InventorySearch></InventorySearch>
          </section>
          <section class="section">
            <InventoryList></InventoryList>
          </section>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import InventoryList from "@/components/InventoryList.vue";
import InventoryFilter from "@/components/InventoryFilter.vue";
import InventorySearch from "@/components/InventorySearch.vue";

export default {
  name: "Home",
  components: {
    InventoryList,
    InventorySearch,
    InventoryFilter
  }
};
</script>
