2023-10-27 17:29:50 +08:00
|
|
|
import Image from "next/image";
|
2023-11-06 17:27:50 +08:00
|
|
|
import leftBanner from "@/app/_assets/left-banner.jpg";
|
|
|
|
import ArticleBlock from "@/app/_components/ArticleBlock";
|
2023-11-01 17:27:06 +08:00
|
|
|
import { register } from "swiper/element/bundle";
|
2023-11-06 17:27:50 +08:00
|
|
|
import AnhuiSwiper from "@/app/_components/AnhuiSwiper";
|
|
|
|
import LatestNews from "@/app/_components/LatestNews";
|
|
|
|
import FriendLinks from "@/app/_components/FriendLinks";
|
|
|
|
import BranchLifeSketch from "@/app/_components/BranchLifeSketch";
|
2023-11-08 15:42:55 +08:00
|
|
|
import { ReactNode } from "react";
|
2023-10-27 09:30:22 +08:00
|
|
|
|
2023-10-27 17:29:50 +08:00
|
|
|
export default async function Home() {
|
2023-10-27 09:30:22 +08:00
|
|
|
return (
|
2023-11-03 17:25:10 +08:00
|
|
|
<main className={"mt-1 flex justify-between bg-[#f5fafe]"}>
|
2023-10-27 17:29:50 +08:00
|
|
|
<div className={"left-side w-[222px]"}>
|
2023-10-30 17:29:35 +08:00
|
|
|
<Image
|
|
|
|
src={leftBanner}
|
|
|
|
alt={"left banner"}
|
|
|
|
useMap={"#hotAreaMap1539"}
|
|
|
|
/>
|
|
|
|
<map name={"hotAreaMap1539"} id={"hotAreaMap1539"}>
|
|
|
|
<area
|
|
|
|
title=""
|
|
|
|
shape="rect"
|
|
|
|
coords="0,0,220,80"
|
|
|
|
href="http://124.16.212.11/"
|
|
|
|
target="_blank"
|
|
|
|
/>
|
|
|
|
<area
|
|
|
|
title=""
|
|
|
|
shape="rect"
|
|
|
|
coords="34,135,105,162"
|
|
|
|
href="http://172.16.51.4:61080/"
|
|
|
|
target="_blank"
|
|
|
|
/>
|
|
|
|
<area
|
|
|
|
title=""
|
|
|
|
shape="rect"
|
|
|
|
coords="119,135,187,160"
|
|
|
|
href="http://www.clas.ac.cn/"
|
|
|
|
target="_blank"
|
|
|
|
/>
|
|
|
|
<area
|
|
|
|
title=""
|
|
|
|
shape="rect"
|
|
|
|
coords="0,168,221,247"
|
|
|
|
href="http://119.78.100.138/"
|
|
|
|
target="_blank"
|
|
|
|
/>
|
|
|
|
<area
|
|
|
|
title=""
|
|
|
|
shape="rect"
|
|
|
|
coords="0,253,221,332"
|
|
|
|
href="http://159.226.28.30/cigit/"
|
|
|
|
target="_blank"
|
|
|
|
/>
|
|
|
|
<area
|
|
|
|
title=""
|
|
|
|
shape="rect"
|
|
|
|
coords="0,334,221,421"
|
|
|
|
href="http://www.cigit.cas.cn/"
|
|
|
|
target="_blank"
|
|
|
|
/>
|
|
|
|
<area
|
|
|
|
title=""
|
|
|
|
shape="rect"
|
|
|
|
coords="0,425,221,512"
|
|
|
|
href="http://tmcloud.casip.ac.cn/f"
|
|
|
|
target="_blank"
|
|
|
|
/>
|
|
|
|
<area
|
|
|
|
title="热区8"
|
|
|
|
shape="rect"
|
|
|
|
coords="0,516,221,612"
|
|
|
|
href="http://www.cnipa.gov.cn/"
|
|
|
|
target="_blank"
|
|
|
|
/>
|
|
|
|
<area
|
|
|
|
title="热区9"
|
|
|
|
shape="rect"
|
|
|
|
coords="0,620,221,703"
|
|
|
|
href="http://www.sciencenet.cn/"
|
|
|
|
target="_blank"
|
|
|
|
/>
|
|
|
|
</map>
|
2023-11-06 17:27:50 +08:00
|
|
|
<div className={"mt-1"}>
|
|
|
|
<BranchLifeSketch />
|
|
|
|
</div>
|
2023-10-27 09:30:22 +08:00
|
|
|
</div>
|
2023-10-30 17:29:35 +08:00
|
|
|
<div className={"main-content w-[540px]"}>
|
2023-11-01 17:27:06 +08:00
|
|
|
<LatestNews />
|
2023-10-30 17:29:35 +08:00
|
|
|
<div className={"mt-1"}>
|
|
|
|
<ArticleBlock
|
2023-11-01 17:27:06 +08:00
|
|
|
height={221}
|
2023-10-30 17:29:35 +08:00
|
|
|
title={"综合新闻"}
|
|
|
|
category={"4"}
|
|
|
|
linkPrefix={"/general-news"}
|
2023-11-01 17:27:06 +08:00
|
|
|
showDate={true}
|
2023-10-30 17:29:35 +08:00
|
|
|
></ArticleBlock>
|
|
|
|
</div>
|
2023-11-03 17:25:10 +08:00
|
|
|
<div className={"mt-1 flex justify-between"}>
|
2023-10-27 17:29:50 +08:00
|
|
|
<ArticleBlock
|
2023-11-01 17:27:06 +08:00
|
|
|
width={"49.5%"}
|
|
|
|
height={221}
|
2023-10-27 17:29:50 +08:00
|
|
|
title={"科研进展"}
|
2023-11-01 17:27:06 +08:00
|
|
|
category={"9"}
|
2023-10-27 17:29:50 +08:00
|
|
|
linkPrefix={"/research-progress"}
|
|
|
|
></ArticleBlock>
|
|
|
|
<ArticleBlock
|
2023-11-01 17:27:06 +08:00
|
|
|
width={"49.5%"}
|
|
|
|
height={221}
|
2023-10-27 17:29:50 +08:00
|
|
|
title={"学术活动"}
|
|
|
|
category={"6"}
|
2023-11-01 17:27:06 +08:00
|
|
|
linkPrefix={"/academic-exchange/academic-events"}
|
2023-10-27 17:29:50 +08:00
|
|
|
></ArticleBlock>
|
|
|
|
</div>
|
2023-11-03 17:25:10 +08:00
|
|
|
<div className={"mt-1 flex justify-between"}>
|
2023-10-27 17:29:50 +08:00
|
|
|
<ArticleBlock
|
2023-11-01 17:27:06 +08:00
|
|
|
width={"49.5%"}
|
|
|
|
height={221}
|
2023-10-27 17:29:50 +08:00
|
|
|
title={"科技成果"}
|
|
|
|
category={"7"}
|
|
|
|
linkPrefix={"/technological-achievements"}
|
|
|
|
></ArticleBlock>
|
|
|
|
<ArticleBlock
|
2023-11-01 17:27:06 +08:00
|
|
|
width={"49.5%"}
|
|
|
|
height={221}
|
2023-10-27 17:29:50 +08:00
|
|
|
title={"媒体扫描"}
|
|
|
|
category={"8"}
|
|
|
|
linkPrefix={"/media-scan"}
|
|
|
|
></ArticleBlock>
|
|
|
|
</div>
|
2023-11-01 17:27:06 +08:00
|
|
|
<div className={"mt-1"}>
|
|
|
|
<AnhuiSwiper />
|
|
|
|
</div>
|
2023-10-27 09:30:22 +08:00
|
|
|
</div>
|
2023-10-27 17:29:50 +08:00
|
|
|
<div className={"right-side w-[225px]"}>
|
|
|
|
<ArticleBlock
|
|
|
|
linkPrefix={"/announcements"}
|
|
|
|
category={"3"}
|
|
|
|
height={275}
|
|
|
|
title={"公告通知"}
|
|
|
|
></ArticleBlock>
|
2023-11-01 17:27:06 +08:00
|
|
|
<div className={"mt-1"}>
|
|
|
|
<ArticleBlock
|
|
|
|
linkPrefix={"/recruitment"}
|
|
|
|
category={"12"}
|
|
|
|
height={275}
|
|
|
|
title={"研究院招聘"}
|
|
|
|
></ArticleBlock>
|
|
|
|
</div>
|
|
|
|
<div className={"mt-1"}>
|
|
|
|
<FriendLinks />
|
|
|
|
</div>
|
2023-10-27 09:30:22 +08:00
|
|
|
</div>
|
|
|
|
</main>
|
2023-10-27 17:29:50 +08:00
|
|
|
);
|
2023-10-27 09:30:22 +08:00
|
|
|
}
|