File tree 2 files changed +23
-1
lines changed
2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 64
64
65
65
感谢 GPT-4 和 [ cali.so] ( https://github.com/CaliCastle/cali.so ) 的支持,以及 Mix Space Team 和广大社区朋友们的贡献。
66
66
67
+ ![ powered-by-vercel] ( https://images.ctfassets.net/e5382hct74si/78Olo8EZRdUlcDUFQvnzG7/fa4cdb6dc04c40fceac194134788a0e2/1618983297-powered-by-vercel.svg )
68
+
67
69
> [ 个人网站] ( https://innei.in/ ) · GitHub [ @Innei ] ( https://github.com/innei/ )
Original file line number Diff line number Diff line change @@ -11,12 +11,32 @@ import { defaultLinkSections } from './config'
11
11
import { GatewayCount } from './GatewayCount'
12
12
import { OwnerName } from './OwnerName'
13
13
14
+ const showVercelPoweredBy = ! ! process . env . NEXT_PUBLIC_VERCEL_ENV
14
15
export const FooterInfo = ( ) => {
15
16
return (
16
17
< >
17
- < FooterLinkSection />
18
+ < div className = "relative" >
19
+ < FooterLinkSection />
20
+ { showVercelPoweredBy && (
21
+ < div className = "absolute top-0 hidden lg:-right-8 lg:block" >
22
+ < img
23
+ src = "https://images.ctfassets.net/e5382hct74si/78Olo8EZRdUlcDUFQvnzG7/fa4cdb6dc04c40fceac194134788a0e2/1618983297-powered-by-vercel.svg"
24
+ className = "h-10 object-contain"
25
+ />
26
+ </ div >
27
+ ) }
28
+ </ div >
18
29
19
30
< FooterBottom />
31
+
32
+ { showVercelPoweredBy && (
33
+ < div className = "mt-6 flex justify-center lg:hidden" >
34
+ < img
35
+ src = "https://images.ctfassets.net/e5382hct74si/78Olo8EZRdUlcDUFQvnzG7/fa4cdb6dc04c40fceac194134788a0e2/1618983297-powered-by-vercel.svg"
36
+ className = "h-10 object-contain"
37
+ />
38
+ </ div >
39
+ ) }
20
40
</ >
21
41
)
22
42
}
You can’t perform that action at this time.
0 commit comments