import tailwindcss v2

This commit is contained in:
2020-11-20 16:57:06 +01:00
parent e3cc1fad84
commit bb18daede2
20 changed files with 671 additions and 293 deletions

36
src/components/Skill.vue Normal file
View File

@@ -0,0 +1,36 @@
<template>
<div class="m-4 md:w-48 h-32 w-2/3 p-1 md:p-2 skill border-gray-900 border-2 bg-gray-300 duration-300 rounded-3xl" :class="'hover:bg-'+color">
<div class="w-full h-full flex flex-col justify-center items-center">
<div>
COVER
</div>
<h1 class="md:text-2xl text-lg font-bold">{{skill}}</h1>
</div>
</div>
</template>
<script>
export default {
name: "Skill",
props: {
skill: {
type: String,
default: "Rien"
},
color: {
type: String,
default: "red-100"
},
cover: {
type: String,
default: "https://api.arthurdanjou.fr/files/default.png"
}
}
}
</script>
<style scoped lang="scss">
.skill {
}
</style>