@@ -92,35 +92,26 @@ class Header extends React.Component<PropsType, StateType> {
92
92
console . log ( 'props:' , this . props ) ;
93
93
const {
94
94
home,
95
- cloud,
96
95
docs,
97
96
blog,
98
97
community,
99
98
download,
100
99
sagaStatemachineDesigner,
101
100
languageSwitchButton,
102
101
} = locale ;
103
- const BASE_URL = `https://seata.io/${ language . toLocaleLowerCase ( ) } /` ;
102
+ const BASE_URL =
103
+ language === enUsKey ? 'https://seata.apache.org/' : 'https://seata.apache.org/zh-cn/' ;
104
104
const NAV_MENU = [
105
105
{ id : 1 , title : home , link : BASE_URL } ,
106
- {
107
- id : 2 ,
108
- title : cloud ,
109
- link : `https://www.aliyun.com/product/aliware/mse?spm=seata-website.topbar.0.0.0` ,
110
- } ,
111
- { id : 3 , title : docs , link : `${ BASE_URL } docs/overview/what-is-seata.html` } ,
112
- { id : 4 , title : blog , link : `${ BASE_URL } blog/index.html` } ,
113
- { id : 5 , title : community , link : `${ BASE_URL } community/index.html` } ,
114
- { id : 6 , title : download , link : `${ BASE_URL } blog/download.html` } ,
106
+ { id : 2 , title : docs , link : `${ BASE_URL } docs/overview/what-is-seata/` } ,
107
+ { id : 3 , title : blog , link : `${ BASE_URL } blog` } ,
108
+ { id : 4 , title : community , link : `${ BASE_URL } community` } ,
109
+ { id : 5 , title : download , link : `${ BASE_URL } unversioned/download/seata-server` } ,
115
110
] ;
116
111
return (
117
112
< header className = "header-container header-container-primary" >
118
113
< div className = "header-body" >
119
- < a
120
- href = { `https://seata.io/${ language . toLocaleLowerCase ( ) } /` }
121
- target = "_blank"
122
- rel = "noopener noreferrer"
123
- >
114
+ < a href = { BASE_URL } target = "_blank" rel = "noopener noreferrer" >
124
115
< img
125
116
src = "img/seata_logo.png"
126
117
className = "logo"
0 commit comments