Skip to content

Commit c00d0f3

Browse files
committed
feat: support jump to dtstack.com
1 parent 7c0d2b5 commit c00d0f3

File tree

5 files changed

+12
-10
lines changed

5 files changed

+12
-10
lines changed

src/components/navHeader.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,15 @@ function NavHeader(props: IProps) {
4242
}
4343
return (
4444
<div className={classNames(styles.nav, {[styles.fixedNav]: isFixed })}>
45-
<Link href={'/'}>
46-
<div className={styles.leftMenu}>
47-
<Image src={`${APP_CONF.IMAGE_DOMAIN}/UEDLanding/Home/logo.png`} width={46} height={52}/>
45+
<div className={styles.leftMenu}>
46+
<a href="https://dtstack.com" target="_blank">
47+
<Image src={`${APP_CONF.IMAGE_DOMAIN}/UEDLanding/Home/dtstack_logo.png`} width={160} height={40}/>
48+
</a>
49+
<Link href="/">
50+
{/* <Image src={`${APP_CONF.IMAGE_DOMAIN}/UEDLanding/Home/logo.png`} width={46} height={52}/> */}
4851
<h1 className={styles.subtitle}>袋鼠云数栈UED团队</h1>
49-
</div>
50-
</Link>
52+
</Link>
53+
</div>
5154
<div className={styles.rightMenu}>
5255
{ (H5 || isShow) && renderNavgitor()}
5356
</div>

src/pages/about/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@ function Index() {
3434
</div>
3535
<div className={styles.content} style={{ height: bgHeight }}>
3636
<div className={styles.footer}>
37-
<div className={styles.describe}>相关链接: <span style={{ color: '#3D446E'}}>袋鼠云</span></div>
37+
<div className={styles.describe}>相关链接:
38+
<a href={APP_CONF.DTSTACK_URL} target="_blank" style={{ color: '#3D446E'}} rel="noreferrer">袋鼠云</a>
39+
</div>
3840
<div className={styles.describe} style={{ marginTop: '30px' }}>{AboutDoc.footer}</div>
3941
</div>
4042
</div>

src/styles/article.module.scss

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
color: #3D446E;
6666
.title {
6767
font-size: 16px;
68-
font-family: MiSans-Medium, MiSans;
6968
font-weight: 500;
7069
line-height: 22px;
7170
width: 100%;
@@ -95,7 +94,6 @@
9594
padding: 20px;
9695
.title {
9796
font-size: 16px;
98-
font-family: MiSans-Medium, MiSans;
9997
font-weight: 500;
10098
line-height: 22px;
10199
width: 100%;

src/styles/navHeader.module.scss

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,9 @@
99
align-items: center;
1010

1111
.subtitle {
12-
margin-left: 17px;
12+
margin-left: 30px;
1313
margin-bottom: 0px;
1414
font-size: 20px;
15-
font-family: MiSans-Medium, MiSans;
1615
font-weight: 500;
1716
color: #3D446E;
1817
}

static/Home/dtstack_logo.png

11.8 KB
Loading

0 commit comments

Comments
 (0)