@@ -2,7 +2,7 @@ import { FC, memo } from 'react'
22import { useTheme } from 'styled-components'
33
44import type { TThemeMap , TC11NLayout , TMetric } from '@/spec'
5- import { GITHUB , API_SERVER_ADDR , ISSUE_ADDR , BUILD_VERSION } from '@/config'
5+ import { GITHUB , BUILD_VERSION } from '@/config'
66import { ROUTE } from '@/constant'
77import { siteBirthDay } from '@/utils/helper'
88
@@ -42,22 +42,22 @@ const HomeView: FC<TProps> = ({ metric, layout }) => {
4242 < Column >
4343 < Title > 网站地图</ Title >
4444 < Body >
45- < LinkItem href = "/home/post/1" { ...linkColors } >
45+ < LinkItem href = { ` ${ ROUTE . EXPLORE } ` } { ...linkColors } >
4646 子社区
4747 </ LinkItem >
48- < LinkItem href = { `${ ISSUE_ADDR } ` } { ...linkColors } >
48+ < LinkItem href = { `${ ROUTE . WORKS } ` } { ...linkColors } >
4949 作品集市
5050 </ LinkItem >
51- < LinkItem href = "https://github.com/coderplanets" { ...linkColors } >
51+ < LinkItem href = { ` ${ ROUTE . COOL_GUIDE } ` } { ...linkColors } >
5252 酷导航
5353 </ LinkItem >
54- < LinkItem href = "/cps-support/posts" { ...linkColors } >
54+ < LinkItem href = { ` ${ ROUTE . HAVE_A_DRINK } ` } { ...linkColors } >
5555 来一杯
5656 </ LinkItem >
57- < LinkItem href = { `${ ROUTE . SUPPORT_US } ` } { ...linkColors } >
57+ < LinkItem href = { `${ ROUTE . MEETUPS } ` } { ...linkColors } >
5858 小聚
5959 </ LinkItem >
60- < LinkItem href = { ` ${ ROUTE . SUPPORT_US } ` } { ...linkColors } >
60+ < LinkItem href = "/makers" { ...linkColors } >
6161 Makers
6262 </ LinkItem >
6363 </ Body >
@@ -90,16 +90,16 @@ const HomeView: FC<TProps> = ({ metric, layout }) => {
9090 < Item as = "span" normal >
9191 开发计划
9292 </ Item >
93- < LinkItem href = "/cps-support/post/42 " { ...linkColors } >
93+ < LinkItem href = "/feedback " { ...linkColors } >
9494 文档中心
9595 </ LinkItem >
9696 < LinkItem href = { `${ GITHUB } ` } { ...linkColors } >
9797 技术栈
9898 </ LinkItem >
99- < LinkItem href = { `${ API_SERVER_ADDR } ` } { ...linkColors } >
99+ < LinkItem href = { `${ GITHUB } ` } { ...linkColors } >
100100 API
101101 </ LinkItem >
102- < LinkItem href = { `${ API_SERVER_ADDR } ` } { ...linkColors } >
102+ < LinkItem href = { `${ GITHUB } ` } { ...linkColors } >
103103 Github
104104 </ LinkItem >
105105 </ Body >
0 commit comments