Skip to content

Commit da60f41

Browse files
committed
수정
1 parent 0498846 commit da60f41

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/domains/main/cocktailDrop/CocktailDrop.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ function CocktailDrop({ isDesktop = false }: CocktailDropProps) {
6464
if (width >= 1400) return 10;
6565
if (width >= 1024) return 295;
6666
if (width >= 800) return 50;
67+
if (width === 768) return -30;
6768
return -235;
6869
};
6970

src/domains/main/components/3d/HomeLogo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import Image from 'next/image';
33
function HomeLogo({ isDesktop }: { isDesktop: boolean }) {
44
return (
55
<div
6-
className="z-5 absolute md:top-22 md:left-10 md:translate-none top-30 left-1/2 -translate-x-1/2"
6+
className="z-5 absolute top-30 left-1/2 -translate-x-1/2 lg:absolute lg:top-20 lg:left-10 lg:translate-none md:relative md:top-30 md:left-auto md:translate-none flex justify-center items-center"
77
style={{ width: !isDesktop ? 400 : 580, height: !isDesktop ? 70 : 210 }}
88
>
99
<Image src={'/logo.svg'} alt="로고 이미지" fill priority className="object-contain" />

src/domains/main/components/3d/Landing.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ function Landing({ setIsLoading, isDesktop }: Props) {
1919
return (
2020
<>
2121
<div className="page-layout max-w-full">
22-
<div className="relative w-full h-screen">
22+
<div className="relative w-full h-screen flex flex-col md:items-center">
2323
{isDesktop ? (
2424
<HomeModel onLoaded={() => setModelLoaded(true)} />
2525
) : (

src/domains/main/components/3d/ModelImage.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,14 @@ function ModelImage({ onLoaded }: Props) {
1111
onLoaded();
1212
});
1313
return (
14-
<div className="w-full flex justify-center items-center absolute bottom-13 left-1/2 -translate-x-1/2">
15-
<div className="rounded-tr-4xl rounded-tl-4xl overflow-hidden">
14+
<div className="w-full flex justify-center items-center absolute bottom-0 left-1/2 -translate-x-1/2">
15+
<div className="relative w-[85%] h-[60vh] rounded-tr-4xl rounded-tl-4xl overflow-hidden">
1616
<Image
1717
src={MobileCocktailDrop}
1818
alt="모바일 칵테일 드랍"
19-
width={260}
20-
height={290}
19+
fill
2120
priority
22-
className="object-cover w-[300px] h-[350px]"
21+
className="object-cover"
2322
/>
2423
</div>
2524
</div>

0 commit comments

Comments
 (0)