Skip to content

Commit ef5dafc

Browse files
committed
add burn
1 parent d472592 commit ef5dafc

File tree

3 files changed

+17
-14
lines changed

3 files changed

+17
-14
lines changed

src/app/pages/discuss/index.tsx

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import * as React from "react";
22
import { noop, setTitle } from "utils";
3-
import { Container, createStyles, makeStyles, Theme, Typography } from "@material-ui/core";
3+
import { Container, Link, createStyles, makeStyles, Theme, Typography } from "@material-ui/core";
44

55
import { postMetrics } from "API";
66
import { CommentComponent } from "features";
@@ -11,7 +11,7 @@ const useStyles = makeStyles((theme: Theme) =>
1111
container: {
1212
paddingTop: theme.spacing(4),
1313
},
14-
})
14+
}),
1515
);
1616

1717
export function DiscussPage() {
@@ -27,11 +27,15 @@ export function DiscussPage() {
2727
<Container className={classes.container}>
2828
<Typography component="h2" variant="h4" gutterBottom>
2929
留言板
30+
<span style={{ fontSize: "medium", paddingLeft: "1rem" }}>
31+
使用 ChatGPT 解锁你的生产力,快来使用
32+
<Link href="https://burn.hair/?lang=zh-CN&utm_source=yyets"> 头顶冒火</Link> 吧!
33+
</span>
3034
</Typography>
35+
3136
<Typography gutterBottom style={{ marginBottom: "32px" }}>
3237
留下你想说的和建议吧
3338
</Typography>
34-
3539
{process.env.REACT_APP_ADSENSE && (
3640
<Adsense
3741
className="adsbygoogle"

src/component/CommentList/index.tsx

+5-11
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,11 @@ export function CommentList(props: CommentListPropTypes) {
132132
))}
133133
</div>
134134

135-
{process.env.REACT_APP_ADSENSE && showAdsense ? (
136-
<>
137-
<Divider className={classes.hr} />
138-
139-
<Link href="https://www.chatai.lol/" target="_blank">
140-
<img alt="chat-ai" src="https://dmesg.app/assets/chat-ai.jpg" style={{ maxWidth: "100%" }} />
141-
</Link>
142-
143-
<Divider className={classes.hr} />
144-
</>
145-
) : null}
135+
<Divider className={classes.hr} />
136+
<Link href="https://burn.hair/?lang=zh-CN&utm_source=yyets" target="_blank">
137+
头顶冒火 OpenAI GPT 接口站,稳定快速,使用人工智能提高生产力!
138+
</Link>
139+
<Divider className={classes.hr} />
146140

147141
<div className={classes.hasMore}>
148142
<Pagination

src/layout/frame/Footer.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@ export function Footer() {
9797
Telegram Channel
9898
</Link>
9999
</li>
100+
<li>
101+
<Link href="https://burn.hair/?lang=zh-CN&utm_source=yyets" color="inherit" variant="body1">
102+
头顶冒火 OpenAI 接口站
103+
</Link>
104+
</li>
100105
</ul>
101106
</Grid>
102107

0 commit comments

Comments
 (0)