* Moved nuxt app to main app

This commit is contained in:
Alexis
2021-03-29 11:17:51 +02:00
parent e819e00822
commit d31a9aad7b
113 changed files with 10463 additions and 26133 deletions

View File

@@ -0,0 +1,66 @@
<template>
<div class="card-icon">
<img
v-if="type === 'planète à lunes'"
src="/icons/saturn-and-other-planets.svg"
class="fs-icon"
alt="planet icon"
>
<img
v-else-if="type === 'planète'"
src="/icons/saturn-planet-shape.svg"
class="fs-icon"
alt="planet icon"
>
<img
v-else-if="type === 'lune'"
src="/icons/moon-and-stars-in-a-cloud.svg"
class="fs-icon"
alt="moon icon"
>
<img
v-else-if="type === 'étoile'"
src="/icons/sun-shape.svg"
class="fs-icon"
alt="moon icon"
>
<img
v-else
src="/icons/stars-group.svg"
alt="moon icon"
class="fs-icon"
>
</div>
</template>
<script>
export default {
name: 'CelestialCardIcon',
props: {
type: {
type: String,
default: () => { return '' }
}
}
}
</script>
<style lang="scss">
.card-icon {
display: block;
position: absolute;
top: 20px;
bottom: 20px;
left: 0;
right: 0;
user-select: none;
pointer-events: none;
opacity: 4%;
img {
height: 100%;
width: 100%;
z-index: -1;
}
}
</style>