habitica/website/client/src/components/avatarModal/customize-banner.vue

70 lines
1.3 KiB
Vue
Raw Normal View History

2024-04-24 05:02:41 +00:00
<template>
<div class="bottom-banner">
<div class="d-flex justify-content-center align-items-center mt-3">
<span
class="svg svg-icon sparkles"
v-html="icons.sparkles"
></span>
<strong
v-once
class="mx-2"
> {{ $t('lookingForMore') }}
</strong>
<span
v-once
class="svg svg-icon sparkles mirror"
v-html="icons.sparkles"
></span>
</div>
<div
class="check-link"
>
<span>Check out the </span>
2024-04-26 11:15:30 +00:00
<a href="/shops/customizations">Customizations Shop</a>
2024-04-24 05:02:41 +00:00
<span> for even more ways to customize your avatar!</span>
</div>
</div>
</template>
<style lang="scss" scoped>
@import '@/assets/scss/colors.scss';
2024-04-24 05:02:41 +00:00
.bottom-banner {
background: linear-gradient(114.26deg, $purple-300 0%, $purple-200 100%);
2024-05-09 01:27:27 +00:00
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
2024-04-24 05:02:41 +00:00
color: $white;
height: 80px;
line-height: 24px;
.check-link, a {
color: $purple-600;
}
a {
text-decoration: underline;
}
}
.sparkles {
width: 32px;
&.mirror {
transform: scaleX(-1);
}
}
</style>
<script>
import sparkles from '@/assets/svg/sparkles-left.svg?raw';
2024-04-24 05:02:41 +00:00
export default {
data () {
return {
icons: Object.freeze({
sparkles,
}),
};
},
};
</script>