File tree Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Expand file tree Collapse file tree 6 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import type { CSSProperties } from ' vue'
3
-
3
+ import { KODA_LOGO_URL } from ' @/utils/constants '
4
4
// inherited attrs can mess up the satori parser
5
5
defineOptions ({
6
6
inheritAttrs: false ,
@@ -32,7 +32,7 @@ const cover: ComputedRef<CSSProperties> = computed(() => {
32
32
class =" flex flex-col justify-end h-full w-full bg-slate-900/75 text-white p-10 text-2xl font-bold absolute inset-0"
33
33
>
34
34
<img
35
- src =" https://raw.githubusercontent.com/kodadot/kodadot-presskit/main/pre-v4/png/KodalightV4.png "
35
+ : src =" KODA_LOGO_URL "
36
36
alt =" logo"
37
37
class =" absolute left-10 bottom-10 w-60"
38
38
/>
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import type { CSSProperties } from ' vue'
3
+ import { KODA_LOGO_URL } from ' @/utils/constants'
3
4
4
5
// inherited attrs can mess up the satori parser
5
6
defineOptions ({
@@ -29,7 +30,7 @@ const cover: CSSProperties = {
29
30
</div >
30
31
31
32
<img
32
- src =" https://raw.githubusercontent.com/kodadot/kodadot-presskit/main/pre-v4/png/KodalightV4.png "
33
+ : src =" KODA_LOGO_URL "
33
34
alt =" logo"
34
35
class =" w-60 absolute right-20 bottom-20"
35
36
/>
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import { chainNames , type Prefix } from ' @kodadot1/static' ;
3
3
import type { CSSProperties } from ' vue'
4
+ import { KODA_LOGO_URL } from ' @/utils/constants'
4
5
5
6
// inherited attrs can mess up the satori parser
6
7
defineOptions ({
@@ -54,7 +55,7 @@ const networkName = chainNames[props.network as Prefix]
54
55
</div >
55
56
56
57
<img
57
- src =" https://raw.githubusercontent.com/kodadot/kodadot-presskit/main/pre-v4/png/KodalightV4.png "
58
+ : src =" KODA_LOGO_URL "
58
59
alt =" logo"
59
60
class =" absolute top-10 right-10 w-40"
60
61
/>
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import type { CSSProperties } from ' vue'
3
+ import { KODA_LOGO_URL } from ' @/utils/constants'
3
4
4
5
defineOptions ({
5
6
inheritAttrs: false ,
@@ -38,7 +39,7 @@ const cover: CSSProperties = {
38
39
</div >
39
40
40
41
<img
41
- src =" https://raw.githubusercontent.com/kodadot/kodadot-presskit/main/pre-v4/png/KodalightV4.png "
42
+ : src =" KODA_LOGO_URL "
42
43
alt =" logo"
43
44
class =" absolute top-10 right-10 w-40"
44
45
/>
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import type { CSSProperties } from ' vue'
3
+ import { KODA_LOGO_URL } from ' @/utils/constants'
3
4
4
5
// inherited attrs can mess up the satori parser
5
6
defineOptions ({
@@ -54,6 +55,6 @@ const parsePrice = computed(() =>
54
55
</div >
55
56
</div >
56
57
57
- <img src =" https://raw.githubusercontent.com/kodadot/kodadot-presskit/main/pre-v4/png/KodalightV4.png " alt =" logo"
58
+ <img : src =" KODA_LOGO_URL " alt =" logo"
58
59
class =" absolute top-20 right-20 w-40" />
59
60
</template >
Original file line number Diff line number Diff line change
1
+
2
+ export const KODA_LOGO_URL = 'https://raw.githubusercontent.com/kodadot/nft-gallery/main/public/koda_logo_fill.png' ;
You can’t perform that action at this time.
0 commit comments