diff --git a/components/student.tsx b/components/student.tsx index 2e7dd93..2e2f090 100644 --- a/components/student.tsx +++ b/components/student.tsx @@ -1,6 +1,7 @@ -import ItemStyles from '@/styles/Item.module.scss'; +import Image from 'next/image'; import { studentsJson } from './students/students'; import { getStudentInfo } from './students/infoStudents'; +import ItemStyles from '@/styles/Item.module.scss'; interface StudentProps { id: number, @@ -29,4 +30,8 @@ export default function Student({ id, allInfo, onClick, select, onError }: Stude
); +} + +export function AllStudentsIcon() { + return (All Students Icon); } \ No newline at end of file diff --git a/pages/chat.tsx b/pages/chat.tsx index dc1b744..3bf85c7 100644 --- a/pages/chat.tsx +++ b/pages/chat.tsx @@ -1,7 +1,8 @@ //Components +import Image from 'next/image'; import { NextSeo } from 'next-seo'; import MainNode from '@/components/main'; -import Student from '@/components/student'; +import Student, { AllStudentsIcon } from '@/components/student'; //Styles import ItemStyles from '@/styles/Item.module.scss'; @@ -27,7 +28,7 @@ function Content({ id, allInfo }: ContentProps) { return (
- {`${info.schale?.Name}{info.file?.info}

- {`${info.schale?.Name} @@ -171,7 +172,7 @@ export default function Info() {
- +

所有学生

diff --git a/pages/info.tsx b/pages/info.tsx index 54f4a58..1b112d0 100644 --- a/pages/info.tsx +++ b/pages/info.tsx @@ -1,7 +1,8 @@ //Components +import Image from 'next/image'; import { NextSeo } from 'next-seo'; import MainNode from '@/components/main'; -import Student from '@/components/student'; +import Student, { AllStudentsIcon } from '@/components/student'; //Styles import styles from '@/styles/Item.module.scss'; @@ -23,7 +24,7 @@ function Content({ id, allInfo }: ContentProps) { return (
- {`${info.schale?.Name}{info.file?.info}

- {`${info.schale?.Name} @@ -70,7 +71,7 @@ export default function Info() {
- +

所有学生