-
+
{title}
-
-
+
+
{description}
diff --git a/src/shared/components/recipePage/cocktailCard/CocktailCard.tsx b/src/shared/components/recipePage/cocktailCard/CocktailCard.tsx
new file mode 100644
index 0000000..d362703
--- /dev/null
+++ b/src/shared/components/recipePage/cocktailCard/CocktailCard.tsx
@@ -0,0 +1,29 @@
+import { StaticImageData } from 'next/image';
+import Image from 'next/image';
+import Img from '@/shared/assets/images/dummy/exampleCocktail.png';
+import Keep from '@/shared/components/keep/Keep';
+
+interface Props {
+ src?: StaticImageData;
+ name?: string;
+ nameKo?: string;
+}
+
+function CocktailCard({ src, name, nameKo }: Props) {
+ return (
+
+
+
+
Old Fassioned
+
올드 패션드
+
+
+ );
+}
+export default CocktailCard;
diff --git a/src/shared/components/recipePage/cocktailList/CocktailList.tsx b/src/shared/components/recipePage/cocktailList/CocktailList.tsx
new file mode 100644
index 0000000..2c5ede9
--- /dev/null
+++ b/src/shared/components/recipePage/cocktailList/CocktailList.tsx
@@ -0,0 +1,34 @@
+'use client';
+import CocktailCard from '../cocktailCard/CocktailCard';
+
+function CocktailList() {
+ // const [data,setData] = useState([])
+ // useEffect(() => {
+ // fetch('http://localhost:8080/api/cocktails')
+ // .then((res) => res.json())
+ // .then((data) => {
+ // console.log(data.data)
+ // setData(data.data)
+ // });
+ // }, []);
+
+ return (
+
+ {/* {
+ data.map(({ cocktailImgUrl, cocktailId, cocktailName }) => (
+ -
+
+
+ ))
+ } */}
+
+
+
+
+
+
+
+
+ );
+}
+export default CocktailList;
diff --git a/src/shared/styles/global.css b/src/shared/styles/global.css
index dfee205..b4a696b 100644
--- a/src/shared/styles/global.css
+++ b/src/shared/styles/global.css
@@ -22,3 +22,8 @@
.scroll-down {
transform: translateY(-100%);
}
+
+.no-scrollbar {
+ -ms-overflow-style: none;
+ scrollbar-width: none;
+}
diff --git a/src/shared/utills/scrollToTop.ts b/src/shared/utills/scrollToTop.ts
deleted file mode 100644
index f960a4a..0000000
--- a/src/shared/utills/scrollToTop.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-// eslint-disable-next-line @typescript-eslint/no-explicit-any
-export function throttle
void>(func: F, delay: number) {
- let lastCall = 0;
- return function (...args: Parameters) {
- const now = Date.now();
- if (now - lastCall >= delay) {
- lastCall = now;
- func(...args);
- }
- };
-}
diff --git a/src/shared/utills/test.ts b/src/shared/utills/test.ts
deleted file mode 100644
index 4f511a8..0000000
--- a/src/shared/utills/test.ts
+++ /dev/null
@@ -1,10 +0,0 @@
-// 테스트 입니다
-
-export const test = () => {
- console.log('test');
-};
-
-// 수정입니다.
-// 수정입니다.2
-// 수정입니다.3
-// 수정입니다.4