Lucien Cartier-Tilet
d54aabd621
All checks were successful
deploy / deploy (push) Successful in 2m24s
This commit removes dependency on rxjs. It also implements better composables to handle data fetching from remote APIs and caching these values more transparently. This commit also switches from yarn to npm It also switches to the official Umami plugin
48 lines
781 B
Vue
48 lines
781 B
Vue
<template>
|
|
<svg
|
|
class="circle-loader"
|
|
width="40"
|
|
height="40"
|
|
version="1.1"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
>
|
|
<circle cx="20" cy="20" r="15" />
|
|
</svg>
|
|
</template>
|
|
|
|
<style lang="less" scoped>
|
|
@import 'node_modules/nord/src/lesscss/nord.less';
|
|
|
|
.circle-loader {
|
|
margin-left: 48%;
|
|
fill: transparent;
|
|
stroke: @nord7;
|
|
stroke-width: 5;
|
|
animation: dash 1.5s ease infinite, rotate 2s linear infinite;
|
|
}
|
|
|
|
@keyframes dash {
|
|
0% {
|
|
stroke-dasharray: 1, 95;
|
|
stroke-dashoffset: 0;
|
|
}
|
|
50% {
|
|
stroke-dasharray: 85, 95;
|
|
stroke-dashoffset: -25;
|
|
}
|
|
100% {
|
|
stroke-dasharray: 85, 95;
|
|
stroke-dashoffset: -90;
|
|
}
|
|
}
|
|
|
|
@keyframes rotate {
|
|
0% {
|
|
transform: rotate(0deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
</style>
|