File tree Expand file tree Collapse file tree 2 files changed +3
-20
lines changed
src/runtime/components/app Expand file tree Collapse file tree 2 files changed +3
-20
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,7 @@ const clickToast = () => {
91
91
<v-col cols =" 12" >
92
92
<v-card class =" pa-4" >
93
93
<h2 >AppCredits</h2 >
94
- <AppCredits :brand-opacity = " 0.8 " />
94
+ <AppCredits />
95
95
</v-card >
96
96
</v-col >
97
97
</v-row >
Original file line number Diff line number Diff line change 1
1
<script setup lang="ts">
2
2
import { useNuxtifyConfig } from ' #imports'
3
3
4
- // Props
5
- defineProps ({
6
- brandOpacity: {
7
- type: Number ,
8
- default: 1 ,
9
- },
10
- })
11
-
12
4
// App state
13
5
const nuxtifyConfig = useNuxtifyConfig ()
14
6
</script >
15
7
16
8
<template >
17
- <div v-if =" nuxtifyConfig.credits?.prependText || nuxtifyConfig.credits?.creator?.name || nuxtifyConfig.credits?.appendText || nuxtifyConfig.credits?.showPoweredBy" >
9
+ <span v-if =" nuxtifyConfig.credits?.prependText || nuxtifyConfig.credits?.creator?.name || nuxtifyConfig.credits?.appendText || nuxtifyConfig.credits?.showPoweredBy" >
18
10
<small >
19
11
<!-- Prepend text -->
20
12
<span
@@ -27,7 +19,6 @@ const nuxtifyConfig = useNuxtifyConfig()
27
19
<span v-if =" nuxtifyConfig.credits.creator?.name" >
28
20
<a
29
21
v-if =" nuxtifyConfig.credits.creator.domain"
30
- id =" brand-name"
31
22
:href =" `https://${nuxtifyConfig.credits.creator.domain}/?utm_source=${nuxtifyConfig.brand?.domain}&utm_medium=referral`"
32
23
target =" _blank"
33
24
rel =" noopener noreferrer"
@@ -51,7 +42,7 @@ const nuxtifyConfig = useNuxtifyConfig()
51
42
>Powered by Nuxtify</a >.
52
43
</span >
53
44
</small >
54
- </div >
45
+ </span >
55
46
</template >
56
47
57
48
<style scoped>
@@ -66,12 +57,4 @@ a:hover {
66
57
text-decoration : underline ;
67
58
text-underline-offset : 4px ;
68
59
}
69
-
70
- /* Brand name */
71
- #brand-name {
72
- opacity : v-bind(brandOpacity);
73
- }
74
- #brand-name :hover {
75
- opacity : 1 ;
76
- }
77
60
</style >
You can’t perform that action at this time.
0 commit comments