diff --git a/src/components/seminar/seminarDetail/banner/SeminarDetailBanner.tsx b/src/components/seminar/seminarDetail/banner/SeminarDetailBanner.tsx
index 20b23fd..073cff6 100644
--- a/src/components/seminar/seminarDetail/banner/SeminarDetailBanner.tsx
+++ b/src/components/seminar/seminarDetail/banner/SeminarDetailBanner.tsx
@@ -1,6 +1,6 @@
import React from 'react';
import Image from 'next/image';
-import { SeminarThumnail } from '@/interfaces/seminar/seminarThumbnail';
+import { SeminarThumbnail } from '@/interfaces/seminar/seminarThumbnail';
import TranslateImg from '@/svg/seminar/translate_img.png';
import { motion } from 'framer-motion';
import { seminarCardVariants } from '@/constants/seminar/seminarCardVariants';
@@ -18,7 +18,7 @@ import SeminarDetailBannerInform from './SeminarDetailBannerInform';
* Renders the header component for the recruitment section.
* @returns The rendered header component.
*/
-const SeminarDetailBanner = ({ data }: { data: SeminarThumnail }) => {
+const SeminarDetailBanner = ({ data }: { data: SeminarThumbnail }) => {
return (
{/* 왼쪽 컨텐츠 */}
diff --git a/src/components/seminar/seminarDetail/banner/SeminarDetailBannerInform.tsx b/src/components/seminar/seminarDetail/banner/SeminarDetailBannerInform.tsx
index b11c2da..ecc8564 100644
--- a/src/components/seminar/seminarDetail/banner/SeminarDetailBannerInform.tsx
+++ b/src/components/seminar/seminarDetail/banner/SeminarDetailBannerInform.tsx
@@ -1,5 +1,4 @@
import React from 'react';
-import { SeminarThumnail } from '@/interfaces/seminar/seminarThumbnail';
import { motion } from 'framer-motion';
import { seminarCardVariants } from '@/constants/seminar/seminarCardVariants';
diff --git a/src/components/seminar/seminarDetail/header/SeminarDetailHeader.tsx b/src/components/seminar/seminarDetail/header/SeminarDetailHeader.tsx
index 62b59b7..26a406b 100644
--- a/src/components/seminar/seminarDetail/header/SeminarDetailHeader.tsx
+++ b/src/components/seminar/seminarDetail/header/SeminarDetailHeader.tsx
@@ -1,6 +1,6 @@
'use client';
-import { SeminarThumnail } from '@/interfaces/seminar/seminarThumbnail';
+import { SeminarThumbnail } from '@/interfaces/seminar/seminarThumbnail';
import React, { useState } from 'react';
import BannerImg from '@/svg/seminar/seminar_banner.svg';
@@ -15,7 +15,7 @@ import BannerImg from '@/svg/seminar/seminar_banner.svg';
* Renders the header component for the recruitment section.
* @returns The rendered header component.
*/
-const SeminarDetailHeader = ({ data }: { data: SeminarThumnail }) => {
+const SeminarDetailHeader = ({ data }: { data: SeminarThumbnail }) => {
const [categoryData, setCategoryData] = useState([data.type, `${data.flag}st`, data.topic]);
return (
diff --git a/src/components/seminar/thumbnail/SeminarThumbnail.tsx b/src/components/seminar/thumbnail/SeminarThumbnail.tsx
index ab9a4d5..5d127b3 100644
--- a/src/components/seminar/thumbnail/SeminarThumbnail.tsx
+++ b/src/components/seminar/thumbnail/SeminarThumbnail.tsx
@@ -1,4 +1,4 @@
-import { SeminarThumnail } from '@/interfaces/seminar/seminarThumbnail';
+import { SeminarThumbnail } from '@/interfaces/seminar/seminarThumbnail';
import Image from 'next/image';
/**
@@ -12,7 +12,7 @@ import Image from 'next/image';
* Renders the header component for the recruitment section.
* @returns The rendered header component.
*/
-const SeminarThumbnail = ({ data }: { data: SeminarThumnail }) => {
+const SeminarThumbnailBox = ({ data }: { data: SeminarThumbnail }) => {
return (
{
);
};
-export default SeminarThumbnail;
+export default SeminarThumbnailBox;
diff --git a/src/components/seminar/thumbnail/SeminarThumbnailList.tsx b/src/components/seminar/thumbnail/SeminarThumbnailList.tsx
index 86be190..999025d 100644
--- a/src/components/seminar/thumbnail/SeminarThumbnailList.tsx
+++ b/src/components/seminar/thumbnail/SeminarThumbnailList.tsx
@@ -1,7 +1,7 @@
'use client';
import React, { useState } from 'react';
-import SeminarThumbnail from "./SeminarThumbnail";
+import SeminarThumbnailBox from './SeminarThumbnail';
import { SEMINAR_DATA } from '@/constants/seminar/seminarData';
import Link from 'next/link'
import { motion } from 'framer-motion';
@@ -68,7 +68,7 @@ const SeminarThumbnailList = ({ selectedCategory }: { selectedCategory: string }
-
@@ -94,7 +94,7 @@ const SeminarThumbnailList = ({ selectedCategory }: { selectedCategory: string }
-
diff --git a/src/constants/seminar/openSeminarData.ts b/src/constants/seminar/openSeminarData.ts
index d6aeb80..a830c74 100644
--- a/src/constants/seminar/openSeminarData.ts
+++ b/src/constants/seminar/openSeminarData.ts
@@ -1,9 +1,10 @@
import SeminarThumbnailCardImg from '@/svg/seminar/seminar_thumbnail_card.png';
import PresenterProfileImg from '@/svg/seminar/presenter_profile_img.png';
import { OpenSeminar } from '@/interfaces/seminar/openSeminar';
-import { SeminarThumnail } from '@/interfaces/seminar/seminarThumbnail';
+import { SeminarThumbnail } from '@/interfaces/seminar/seminarThumbnail';
+import { SEMINAR_REVIEWS_DATA } from './seminarReviewData';
-export const OPEN_DETAIL_SEMINAR_DATA:SeminarThumnail [] = [
+export const OPEN_DETAIL_SEMINAR_DATA:SeminarThumbnail [] = [
{
id: 1,
flag: 1,
@@ -23,6 +24,8 @@ export const OPEN_DETAIL_SEMINAR_DATA:SeminarThumnail [] = [
presenter_role: 'Lead',
seminar_image_url: SeminarThumbnailCardImg.src,
presenter_image_url: PresenterProfileImg.src,
+ pdf_url: "/pdf/test_pdf.pdf",
+ reviews: SEMINAR_REVIEWS_DATA[0],
},
{
id: 2,
@@ -43,6 +46,8 @@ export const OPEN_DETAIL_SEMINAR_DATA:SeminarThumnail [] = [
presenter_role: 'Lead',
seminar_image_url: SeminarThumbnailCardImg.src,
presenter_image_url: PresenterProfileImg.src,
+ pdf_url: "/pdf/test_pdf.pdf",
+ reviews: SEMINAR_REVIEWS_DATA[0],
},
{
id: 3,
@@ -63,6 +68,8 @@ export const OPEN_DETAIL_SEMINAR_DATA:SeminarThumnail [] = [
presenter_role: 'Lead',
seminar_image_url: SeminarThumbnailCardImg.src,
presenter_image_url: PresenterProfileImg.src,
+ pdf_url: "/pdf/test_pdf.pdf",
+ reviews: SEMINAR_REVIEWS_DATA[0],
},
{
id: 4,
@@ -83,6 +90,8 @@ export const OPEN_DETAIL_SEMINAR_DATA:SeminarThumnail [] = [
presenter_role: 'Lead',
seminar_image_url: SeminarThumbnailCardImg.src,
presenter_image_url: PresenterProfileImg.src,
+ pdf_url: "/pdf/test_pdf.pdf",
+ reviews: SEMINAR_REVIEWS_DATA[0],
},
]
diff --git a/src/constants/seminar/seminarData.ts b/src/constants/seminar/seminarData.ts
index f19af6e..35fd982 100644
--- a/src/constants/seminar/seminarData.ts
+++ b/src/constants/seminar/seminarData.ts
@@ -1,10 +1,10 @@
import SeminarThumbnailCardImg from '@/svg/seminar/seminar_thumbnail_card.png';
import PresenterProfileImg from '@/svg/seminar/presenter_profile_img.png';
-import { SeminarThumnail } from '@/interfaces/seminar/seminarThumbnail';
+import { SeminarThumbnail } from '@/interfaces/seminar/seminarThumbnail';
import { SeminarReview } from '@/interfaces/seminar/seminarReview';
import { SEMINAR_REVIEWS_DATA } from './seminarReviewData';
-export const SEMINAR_DATA: SeminarThumnail[] = [
+export const SEMINAR_DATA: SeminarThumbnail[] = [
{
id: 1,
flag: 1,
diff --git a/src/interfaces/seminar/openSeminar.ts b/src/interfaces/seminar/openSeminar.ts
index 634f284..7150757 100644
--- a/src/interfaces/seminar/openSeminar.ts
+++ b/src/interfaces/seminar/openSeminar.ts
@@ -1,4 +1,4 @@
-import { SeminarThumnail } from "./seminarThumbnail";
+import { SeminarThumbnail } from "./seminarThumbnail";
export interface OpenSeminar {
id: number;
@@ -11,5 +11,5 @@ export interface OpenSeminar {
information: string;
image_url: string;
status: boolean;
- seminars: SeminarThumnail[];
+ seminars: SeminarThumbnail[];
}
\ No newline at end of file
diff --git a/src/interfaces/seminar/seminarThumbnail.ts b/src/interfaces/seminar/seminarThumbnail.ts
index 3bea53b..e5a2ddc 100644
--- a/src/interfaces/seminar/seminarThumbnail.ts
+++ b/src/interfaces/seminar/seminarThumbnail.ts
@@ -1,6 +1,6 @@
import { SeminarReview } from "./seminarReview";
-export interface SeminarThumnail {
+export interface SeminarThumbnail {
id: number;
flag: number;
type: string;