first commit

This commit is contained in:
thomas
2019-09-14 22:45:32 +02:00
commit 180348b4d4
23 changed files with 11175 additions and 0 deletions
+53
View File
@@ -0,0 +1,53 @@
<template>
<div class="full-width">
<h1>Welcome to my socket shop</h1>
</div>
</template>
<script>
export default {
async asyncData ({ $shopify }) {
const products = await $shopify.product.fetchAll()
return { products }
}
}
</script>
<style>
.full-width {
width: 100%;
}
.el-row {
margin-bottom: 20px;
&:last-child {
margin-bottom: 0;
}
}
.el-col {
border-radius: 4px;
}
.bg-purple-dark {
background: #99a9bf;
}
.bg-purple {
background: #d3dce6;
}
.bg-purple-light {
background: #e5e9f2;
}
.grid-content {
border-radius: 4px;
min-height: 36px;
}
.row-bg {
padding: 10px 0;
background-color: #f9fafc;
}
.image {
width: 100%;
height: 15rem;
}
.description {
margin-bottom: 1rem;
}
</style>