Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit e250e14

Browse files
chore: optimize svg & animation (#547)
1 parent ba93891 commit e250e14

File tree

1 file changed

+12
-19
lines changed
  • packages/cna-template/template/nuxt/components

1 file changed

+12
-19
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
<template>
22
<svg class="NuxtLogo" width="245" height="180" viewBox="0 0 452 342" xmlns="http://www.w3.org/2000/svg">
3-
<g fill="none" fill-rule="evenodd">
4-
<path
5-
d="M139 330l-1-2c-2-4-2-8-1-13H29L189 31l67 121 22-16-67-121c-1-2-9-14-22-14-6 0-15 2-22 15L5 303c-1 3-8 16-2 27 4 6 10 12 24 12h136c-14 0-21-6-24-12z"
6-
fill="#00C58E"
7-
/>
8-
<path
9-
d="M447 304L317 70c-2-2-9-15-22-15-6 0-15 3-22 15l-17 28v54l39-67 129 230h-49a23 23 0 0 1-2 14l-1 1c-6 11-21 12-23 12h76c3 0 17-1 24-12 3-5 5-14-2-26z"
10-
fill="#108775"
11-
/>
12-
<path
13-
d="M376 330v-1l1-2c1-4 2-8 1-12l-4-12-102-178-15-27h-1l-15 27-102 178-4 12a24 24 0 0 0 2 15c4 6 10 12 24 12h190c3 0 18-1 25-12zM256 152l93 163H163l93-163z"
14-
fill="#2F495E"
15-
fill-rule="nonzero"
16-
/>
17-
</g>
3+
<path
4+
d="M139 330l-1-2c-2-4-2-8-1-13H29L189 31l67 121 22-16-67-121c-1-2-9-14-22-14-6 0-15 2-22 15L5 303c-1 3-8 16-2 27 4 6 10 12 24 12h136c-14 0-21-6-24-12z"
5+
fill="#00C58E"
6+
/>
7+
<path
8+
d="M447 304L317 70c-2-2-9-15-22-15-6 0-15 3-22 15l-17 28v54l39-67 129 230h-49a23 23 0 0 1-2 14l-1 1c-6 11-21 12-23 12h76c3 0 17-1 24-12 3-5 5-14-2-26z"
9+
fill="#108775"
10+
/>
11+
<path
12+
d="M376 330v-1l1-2c1-4 2-8 1-12l-4-12-102-178-15-27h-1l-15 27-102 178-4 12a24 24 0 0 0 2 15c4 6 10 12 24 12h190c3 0 18-1 25-12zM256 152l93 163H163l93-163z"
13+
fill="#2F495E"
14+
/>
1815
</svg>
1916
</template>
2017
<style>
@@ -27,9 +24,5 @@
2724
0% {
2825
opacity: 0;
2926
}
30-
31-
100% {
32-
opacity: 1;
33-
}
3427
}
3528
</style>

0 commit comments

Comments
 (0)