diff --git a/Client/src/components/navtour.jsx b/Client/src/components/navtour.jsx index 1216727..49b77dc 100644 --- a/Client/src/components/navtour.jsx +++ b/Client/src/components/navtour.jsx @@ -1,40 +1,40 @@ +import { BreadcrumbItem, Breadcrumbs } from "@nextui-org/react"; import React from "react"; -import { Breadcrumbs, BreadcrumbItem } from "@nextui-org/react"; export default function NavTorunaments() { - const [currentPage, setCurrentPage] = React.useState("music"); + const [currentPage, setCurrentPage] = React.useState("music"); - return ( - setCurrentPage(key)} - classNames={{ - list: "gap-2", - }} - itemClasses={{ - item: [ - "px-5 py-1 border-small border-default-400 rounded-small", - "data-[current=true]:border-foreground data-[current=true]:bg-foreground data-[current=true]:text-background transition-colors", - "data-[disabled=true]:border-default-400 data-[disabled=true]:bg-default-100", - ], - separator: "hidden", - }} - > - - ทั้งหมด - - - กำลังจะเปิด - - - เปิดรับสมัคร - - - อยู่ระหว่างการแข่งขัน - - - จบการแข่งขัน - - - ); + return ( + setCurrentPage(key)} + size="md" + > + + ทั้งหมด + + + กำลังจะเปิด + + + เปิดรับสมัคร + + + อยู่ระหว่างการแข่งขัน + + + จบการแข่งขัน + + + ); } diff --git a/Client/src/pages/contents/about.jsx b/Client/src/pages/contents/about.jsx index 88cbc24..aa0951f 100644 --- a/Client/src/pages/contents/about.jsx +++ b/Client/src/pages/contents/about.jsx @@ -79,7 +79,7 @@ export default function Staff() { อาจารย์ที่ปรึกษาชมรม -
+
{lecturerData.map((item, index) => (
@@ -124,8 +124,12 @@ export default function Staff() {
-

{item.title}

-

{item.staffrole}

+

+ {item.title} +

+

+ {item.staffrole} +

{item.faculty}

{item.major}

diff --git a/Client/src/pages/contents/tournaments.jsx b/Client/src/pages/contents/tournaments.jsx index e00b781..efda828 100644 --- a/Client/src/pages/contents/tournaments.jsx +++ b/Client/src/pages/contents/tournaments.jsx @@ -1,6 +1,6 @@ +import NavTorunaments from "@/components/navtour"; import Head from "next/head"; import React from "react"; -import NavTorunaments from "@/components/navtour"; export default function Tournaments() { return ( @@ -12,7 +12,7 @@ export default function Tournaments() {
-

+

รายการแข่งขัน

diff --git a/Client/src/pages/index.jsx b/Client/src/pages/index.jsx index aa03444..3561e1f 100644 --- a/Client/src/pages/index.jsx +++ b/Client/src/pages/index.jsx @@ -1,3 +1,5 @@ +// Test +import ROV from "@/assets/game/rov.jpg"; import { subtitle, title } from "@/components/primitives"; import { GameListData } from "@/data/game"; import { Link } from "@nextui-org/link"; @@ -6,9 +8,6 @@ import Head from "next/head"; import Image from "next/image"; import React from "react"; -// Test -import ROV from "@/assets/game/rov.jpg" - export default function Home() { return (
diff --git a/Client/src/pages/teams/[teamlist].jsx b/Client/src/pages/teams/[teamlist].jsx index 4a3cd6e..41b1b93 100644 --- a/Client/src/pages/teams/[teamlist].jsx +++ b/Client/src/pages/teams/[teamlist].jsx @@ -1,7 +1,7 @@ // Components // Data import { TeamData } from "@/data/team"; -import { Card, CardBody, } from "@nextui-org/react"; +import { Card, CardBody } from "@nextui-org/react"; import Head from "next/head"; import Image from "next/image"; import { useRouter } from "next/router";