Skip to content

Commit

Permalink
add burn
Browse files Browse the repository at this point in the history
  • Loading branch information
BennyThink committed Jan 6, 2025
1 parent d472592 commit ef5dafc
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 14 deletions.
10 changes: 7 additions & 3 deletions src/app/pages/discuss/index.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import { noop, setTitle } from "utils";
import { Container, createStyles, makeStyles, Theme, Typography } from "@material-ui/core";
import { Container, Link, createStyles, makeStyles, Theme, Typography } from "@material-ui/core";

import { postMetrics } from "API";
import { CommentComponent } from "features";
Expand All @@ -11,7 +11,7 @@ const useStyles = makeStyles((theme: Theme) =>
container: {
paddingTop: theme.spacing(4),
},
})
}),
);

export function DiscussPage() {
Expand All @@ -27,11 +27,15 @@ export function DiscussPage() {
<Container className={classes.container}>
<Typography component="h2" variant="h4" gutterBottom>
留言板
<span style={{ fontSize: "medium", paddingLeft: "1rem" }}>
使用 ChatGPT 解锁你的生产力,快来使用
<Link href="https://burn.hair/?lang=zh-CN&utm_source=yyets"> 头顶冒火</Link> 吧!
</span>
</Typography>

<Typography gutterBottom style={{ marginBottom: "32px" }}>
留下你想说的和建议吧
</Typography>

{process.env.REACT_APP_ADSENSE && (
<Adsense
className="adsbygoogle"
Expand Down
16 changes: 5 additions & 11 deletions src/component/CommentList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,17 +132,11 @@ export function CommentList(props: CommentListPropTypes) {
))}
</div>

{process.env.REACT_APP_ADSENSE && showAdsense ? (
<>
<Divider className={classes.hr} />

<Link href="https://www.chatai.lol/" target="_blank">
<img alt="chat-ai" src="https://dmesg.app/assets/chat-ai.jpg" style={{ maxWidth: "100%" }} />
</Link>

<Divider className={classes.hr} />
</>
) : null}
<Divider className={classes.hr} />
<Link href="https://burn.hair/?lang=zh-CN&utm_source=yyets" target="_blank">
头顶冒火 OpenAI GPT 接口站,稳定快速,使用人工智能提高生产力!
</Link>
<Divider className={classes.hr} />

<div className={classes.hasMore}>
<Pagination
Expand Down
5 changes: 5 additions & 0 deletions src/layout/frame/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,11 @@ export function Footer() {
Telegram Channel
</Link>
</li>
<li>
<Link href="https://burn.hair/?lang=zh-CN&utm_source=yyets" color="inherit" variant="body1">
头顶冒火 OpenAI 接口站
</Link>
</li>
</ul>
</Grid>

Expand Down

0 comments on commit ef5dafc

Please sign in to comment.