开源代码库首页点击跳转到代码库主页

This commit is contained in:
谢思 2026-01-16 11:11:44 +08:00
parent 16e975b084
commit af8a90bba1
1 changed files with 2 additions and 2 deletions

View File

@ -144,7 +144,7 @@ function ProjectList() {
{/* 推荐仓库列表一行三个 */}
{bannerProjects2 && !!bannerProjects2.length && <div className="project_list_top width1600 pt70 mb35">
{bannerProjects2.map((i, index) => {
const url = i.author ? `/${i.author.login}/${i.identifier}${i.author.login === "gh_mirrors" ? "/about" : "/about"}` : ``
const url = i.author ? `/${i.author.login}/${i.identifier}` : ``
const { author = {} } = i;
return <div key={index} className="project_list_top_item">
{i.topics && <div className='proListTopics df mb15'>
@ -188,7 +188,7 @@ function ProjectList() {
<Spin spinning={isSpin}>
{projectsList.map(i => {
const { author = {} } = i;
const url = i.author ? `/${i.author.login}/${i.identifier}${i.author.login === "gh_mirrors" ? "/about" : "/about"}` : ``
const url = i.author ? `/${i.author.login}/${i.identifier}` : ``
return <div key={i.id} className="project_list_all_list_item">
<div className="FlexAJ">
<div className="AlignCenter flex1">