This repository was archived by the owner on Mar 4, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 428
/
Copy pathFramevuerkLogo.vue
80 lines (73 loc) · 1.8 KB
/
FramevuerkLogo.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<template>
<div class="logo" :class="{ready: isReady }">
<svg
id="Layer_2"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
x="0px"
y="0px"
width="534px"
height="420px"
viewBox="0 0 534 420"
enable-background="new 0 0 534 420"
xml:space="preserve"
>
<path
fill="#35495E"
d="M320.296,71.189c0,0-16.014-0.447-22.081,3.909c0,0,6.068-14.188,20.215-25.191
c2.799-2.177-19.282-19.904-49.138-19.904c-31.1,0-51.937,17.727-49.138,19.904c14.147,11.003,20.215,25.191,20.215,25.191
c-6.067-4.356-22.081-3.909-22.081-3.909c1.801,9.907-13.913,46.987-13.913,46.987l64.917,101.488l64.917-101.488
C334.209,118.176,318.494,81.096,320.296,71.189z M269.292,128.67c-3.732-16.092-14.928-36.155-14.928-41.288
c0-5.133,9.796-21.458,14.928-21.458c3.732,0,14.928,16.326,14.928,21.458C284.22,92.514,273.024,112.578,269.292,128.67z"
/>
<polygon fill="#41B883" points="416.507,44 269.292,266.825 122.077,44 10.029,14 269.292,400.888 528.555,14 " />
</svg>
</div>
</template>
<script>
export default {
data () {
return {
isReady: false
}
},
mounted () {
setTimeout(() => {
this.isReady = true
}, 1000)
}
}
</script>
<style scoped>
.logo {
height: auto;
display: inline-block;
vertical-align: middle;
width: 43px;
}
.logo svg {
width: 100%;
height: auto;
max-height: 12em;
margin: 0 auto;
}
.logo svg polygon {
transform: translateY(-100%);
transition-duration: 2s;
}
.logo svg path {
fill: transparent;
transition-delay: 0.6s;
transition-duration: 1s;
}
.logo.ready svg polygon {
transform: translateY(0);
fill: #fff;
}
.logo.ready svg path {
stroke: transparent;
stroke-width: 0;
fill: #fff;
}
</style>