알람설정
diff --git a/src/domains/mypage/main/SsuryImage.tsx b/src/domains/mypage/main/SsuryImage.tsx
new file mode 100644
index 0000000..e6fdb49
--- /dev/null
+++ b/src/domains/mypage/main/SsuryImage.tsx
@@ -0,0 +1,9 @@
+import useProfileSsury from '../hook/useProfileSsury';
+import Image from 'next/image';
+
+function SsuryImage({ abvLevel }: { abvLevel: number }) {
+ const profileImage = useProfileSsury(abvLevel);
+
+ return
;
+}
+export default SsuryImage;
diff --git a/src/domains/shared/components/abv-graph/AbvGraph.tsx b/src/domains/shared/components/abv-graph/AbvGraph.tsx
index bbe99c1..31291b1 100644
--- a/src/domains/shared/components/abv-graph/AbvGraph.tsx
+++ b/src/domains/shared/components/abv-graph/AbvGraph.tsx
@@ -1,11 +1,26 @@
+import tw from '@/shared/utills/tw';
+import { cva } from 'class-variance-authority';
import clsx from 'clsx';
interface Props {
max?: number;
abv?: number;
+ type?: 'myAbv' | 'cocktail';
}
-function AbvGraph({ max, abv }: Props) {
+export const abvClass = cva(
+ `h-3 rounded-full overflow-hidden border-[0.5px] border-gray relative`,
+ {
+ variants: {
+ type: {
+ myAbv: 'w-full md:w-55 ',
+ cocktail: 'w-45',
+ },
+ },
+ }
+);
+
+function AbvGraph({ max, abv, type = 'cocktail' }: Props) {
if (!abv) return;
const safeMax = Math.max(0, max || 0.0001);
const rawPct = (abv / safeMax) * 100;
@@ -19,7 +34,7 @@ function AbvGraph({ max, abv }: Props) {
return (
void;
+ onChange?: (e: React.ChangeEvent) => void;
id: string;
}