summaryrefslogtreecommitdiff
path: root/iridescence/src/views/Home.vue
blob: b01b78d6bf878cbc18f52a115342e6b4912972b0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<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>