Skip to content
Snippets Groups Projects
Commit bb523126 authored by VIktorGrev's avatar VIktorGrev
Browse files

feat: Adding ShopView

parent c6ffc495
Branches ShopView
No related tags found
1 merge request!16feat: Adding ShopView
Pipeline #274365 failed
src/assets/items/david.jpg

4.43 KiB

src/assets/items/galaxy.jpg

30.2 KiB

src/assets/items/goofy.jpg

11 KiB

src/assets/items/panda.webp

143 KiB

src/assets/items/sus.jpg

11 KiB

src/assets/items/v-buck.png

118 KiB

<template>
<button type="button" class="btn btn-primary" id="buttonStyle"><img src="@/assets/items/v-buck.png" style="width: 2rem"> +{{ buttonText }}</button>
</template>
<script>
export default {
props: ['buttonText']
}
</script>
<style scoped>
#buttonStyle {
border-radius: 3rem;
}
</style>
\ No newline at end of file
......@@ -77,7 +77,6 @@ textarea {
transition: background-color 0.2s ease 0s;
}
textarea:focus {
background: none repeat scroll 0 0 #FFFFFF;
outline-width: 0;
......
<template>
Hallo
</template>
\ No newline at end of file
<div class="container">
<div class="row">
<div class="col-md-12">
<h1>League</h1>
<div class="category row justify-content-between mb-5 m-2">
<!--<div class="col-md-4" v-for="product in products" :key="product.id">-->
<div class="card text-center" style="width: 16rem; border: none">
<img src="@/assets/items/galaxy.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">The panda</h5>
<ShopButton button-text="100"></ShopButton>
</div>
</div>
<div class="card text-center" style="width: 16rem; border: none">
<img src="@/assets/items/galaxy.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">The panda</h5>
<ShopButton button-text="100"></ShopButton>
</div>
</div>
<div class="card text-center" style="width: 16rem; border: none">
<img src="@/assets/items/galaxy.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">The panda</h5>
<ShopButton button-text="100"></ShopButton>
</div>
</div>
<div class="card text-center" style="width: 16rem; border: none">
<img src="@/assets/items/galaxy.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">The panda</h5>
<ShopButton button-text="100"></ShopButton>
</div>
</div>
<!--</div>-->
</div>
</div>
<div class="col-md-12">
<h1>Fantacy</h1>
<div class="category row justify-content-between mb-5 m-2">
<!--<div class="col-md-4" v-for="product in products" :key="product.id">-->
<div class="card text-center" style="width: 16rem; border: none">
<img src="@/assets/items/galaxy.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">The panda</h5>
<ShopButton button-text="100"></ShopButton>
</div>
</div>
<div class="card text-center" style="width: 16rem; border: none">
<img src="@/assets/items/galaxy.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">The panda</h5>
<ShopButton button-text="100"></ShopButton>
</div>
</div>
<div class="card text-center" style="width: 16rem; border: none">
<img src="@/assets/items/galaxy.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">The panda</h5>
<ShopButton button-text="100"></ShopButton>
</div>
</div>
<div class="card text-center" style="width: 16rem; border: none">
<img src="@/assets/items/galaxy.jpg" class="card-img-top" alt="...">
<div class="card-body">
<h5 class="card-title">The panda</h5>
<ShopButton button-text="100"></ShopButton>
</div>
</div>
<!--</div>-->
</div>
</div>
</div>
</div>
</template>
<script setup lang="ts">
import ShopButton from '@/components/Buttons/ShopButton.vue';
</script>
<style scoped>
.card {
box-shadow: none;
margin: 10px;
border-radius: 8px;
padding-left: 5px;
padding-right: 5px;
/* Rounded corners */
}
.card:hover {
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.card-body{
height: 100px;
padding: 5px;
}
.col-md-12 {
border-bottom: 2px solid #000000;
}
</style>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment