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 = () => {
9191 <v-col cols =" 12" >
9292 <v-card class =" pa-4" >
9393 <h2 >AppCredits</h2 >
94- <AppCredits :brand-opacity = " 0.8 " />
94+ <AppCredits />
9595 </v-card >
9696 </v-col >
9797 </v-row >
Original file line number Diff line number Diff line change 11<script setup lang="ts">
22import { useNuxtifyConfig } from ' #imports'
33
4- // Props
5- defineProps ({
6- brandOpacity: {
7- type: Number ,
8- default: 1 ,
9- },
10- })
11-
124// App state
135const nuxtifyConfig = useNuxtifyConfig ()
146 </script >
157
168<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" >
1810 <small >
1911 <!-- Prepend text -->
2012 <span
@@ -27,7 +19,6 @@ const nuxtifyConfig = useNuxtifyConfig()
2719 <span v-if =" nuxtifyConfig.credits.creator?.name" >
2820 <a
2921 v-if =" nuxtifyConfig.credits.creator.domain"
30- id =" brand-name"
3122 :href =" `https://${nuxtifyConfig.credits.creator.domain}/?utm_source=${nuxtifyConfig.brand?.domain}&utm_medium=referral`"
3223 target =" _blank"
3324 rel =" noopener noreferrer"
@@ -51,7 +42,7 @@ const nuxtifyConfig = useNuxtifyConfig()
5142 >Powered by Nuxtify</a >.
5243 </span >
5344 </small >
54- </div >
45+ </span >
5546</template >
5647
5748<style scoped>
@@ -66,12 +57,4 @@ a:hover {
6657 text-decoration : underline ;
6758 text-underline-offset : 4px ;
6859}
69-
70- /* Brand name */
71- #brand-name {
72- opacity : v-bind(brandOpacity);
73- }
74- #brand-name :hover {
75- opacity : 1 ;
76- }
7760 </style >
You can’t perform that action at this time.
0 commit comments