This commit is contained in:
quantulr
2023-11-01 17:27:06 +08:00
parent 7e465da9d2
commit 1a22404f19
87 changed files with 1604 additions and 196 deletions

View File

@ -1,16 +1,14 @@
import Image from "next/image";
import ArticleHeading from "@/app/components/ArticleHeading";
const Page = () => {
return (
<>
{" "}
<h2 className={"text-center text-lg font-bold text-[#054786]"}>
</h2>
<p className={"text-base mt-8 text-center"}></p>
<ArticleHeading text={"两院院士"} />
<p className={"text-base text-center"}></p>
<p className={"flex justify-center mt-2"}>
<img
src={`${process.env.NEXT_ADMIN_BASE_URL}/uploads/image/20231030/8d05e613-e2c6-47d1-81a9-08bd70b8ba73.jpeg`}
src={`${process.env.NEXT_PUBLIC_ADMIN_BASE_URL}/uploads/image/20231030/8d05e613-e2c6-47d1-81a9-08bd70b8ba73.jpeg`}
alt={"张景中"}
/>
</p>

View File

@ -0,0 +1,6 @@
export const navigations = [
{ title: "人才概览", href: "/talents/overview" },
{ title: "两院院士", href: "/talents/academician" },
{ title: "研究员", href: "/talents/researcher" },
{ title: "副研究员", href: "/talents/vice-researcher" },
];

View File

@ -1,12 +1,6 @@
import ArticleLayout from "@/app/components/ArticleLayout";
import { ReactNode } from "react";
const navigations = [
{ title: "人才概览", href: "/talents/overview" },
{ title: "两院院士", href: "/talents/academician" },
{ title: "研究员", href: "/talents/researcher" },
{ title: "副研究员", href: "/talents/vice-researcher" },
];
import { navigations } from "@/app/(introduce)/talents/config";
const Layout = ({ children }: { children: ReactNode }) => {
return (

View File

@ -1,10 +1,11 @@
import ArticleHeading from "@/app/components/ArticleHeading";
const Page = () => {
return (
<>
<h2 className={"text-center text-lg font-bold text-[#054786]"}>
</h2>
<p className={"text-base indent-8 mt-8"}>
<ArticleHeading text={"人才概况"} />
<p className={"text-base indent-8 my-1"}>
20171033340611362120171025381173973
5
</p>

View File

@ -1,5 +1,6 @@
import styles from "./page.module.scss";
import Link from "next/link";
import ArticleHeading from "@/app/components/ArticleHeading";
const academicians = [
{
@ -49,16 +50,16 @@ const academicians = [
const Page = () => {
return (
<>
<h2 className={"text-center text-lg font-bold text-[#054786]"}></h2>
<div className={`${styles.academicians} flex flex-wrap mt-8`}>
<ArticleHeading text={"研究员"} />
<div className={`${styles.academicians} flex flex-wrap`}>
{academicians.map((academician) => (
<div
key={academician.name}
className={`${styles.academician} flex flex-col items-center w-1/5 mt-4`}
className={`${styles.academician} flex flex-col items-center w-1/5 mb-4`}
>
<img
className={"h-[138px]"}
src={`${process.env.NEXT_ADMIN_BASE_URL}${academician.picture}`}
src={`${process.env.NEXT_PUBLIC_ADMIN_BASE_URL}${academician.picture}`}
/>
<Link href={academician.link}>{academician.name}</Link>
</div>

View File

@ -1,4 +1,5 @@
import Link from "next/link";
import ArticleHeading from "@/app/components/ArticleHeading";
const academicians = [
{
@ -18,8 +19,8 @@ const academicians = [
const Page = () => {
return (
<>
<h2 className={"text-center text-lg font-bold text-[#054786]"}></h2>
<div className={`flex mt-8 justify-around`}>
<ArticleHeading text={"副研究员"} />
<div className={`flex justify-around`}>
{academicians.map((academician) => (
<div
key={academician.name}
@ -27,7 +28,7 @@ const Page = () => {
>
<img
className={"h-[138px]"}
src={`${process.env.NEXT_ADMIN_BASE_URL}${academician.picture}`}
src={`${process.env.NEXT_PUBLIC_ADMIN_BASE_URL}${academician.picture}`}
/>
<Link href={academician.link}>{academician.name}</Link>
</div>