summaryrefslogtreecommitdiff
path: root/iridescence/src/views/Home.vue
blob: b63f16f85d0a4f9eca3df1384fec914505b346d4 (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
<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">
    <ProductDetail></ProductDetail>
    <div class="columns">
      <div class="column">
        <div class="container">
          <section class="section">
            <ProductSearch></ProductSearch>
          </section>
          <section class="section">
            <ProductList></ProductList>
          </section>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import ProductList from "@/components/ProductList.vue";
import ProductSearch from "@/components/ProductSearch.vue";
import ProductDetail from "@/components/ProductDetail.vue";

export default {
  name: "Home",
  components: {
    ProductList,
    ProductDetail,
    ProductSearch
  },
  mounted() {
    window.scrollTo(0, 0);
  }
};
</script>