Skip to content

Commit ca90fe3

Browse files
committed
[style] MainSlide 사진 추가
1 parent 382da78 commit ca90fe3

File tree

6 files changed

+57
-11
lines changed

6 files changed

+57
-11
lines changed

src/domains/main/components/mainSlide/components/mobile/MobileSlideCommunity.tsx

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
import Add from '@/shared/assets/icons/add_24.svg';
22
import clsx from 'clsx';
33
import { useState } from 'react';
4+
import Image from 'next/image';
5+
import Community01 from '@/shared/assets/images/community_01.webp';
6+
import Community02 from '@/shared/assets/images/community_02.webp';
47

58
function MobileSlideCommunity() {
69
const [isClick, setIsClick] = useState(false);
@@ -10,7 +13,7 @@ function MobileSlideCommunity() {
1013
<p className="hidden sm:block text-xl md:text-2xl text-white">2</p>
1114
<div className="flex flex-col gap-5">
1215
<header className="flex justify-between items-center">
13-
<h2 className="text-xl sm:text-2xl font-black text-white">술술 즐기는, 커뮤니티</h2>
16+
<h2 className="text-xl sm:text-2xl font-black text-white">함께 나누는 칵테일 이야기</h2>
1417
<button
1518
type="button"
1619
className={clsx(`block duration-300 sm:hidden`, isClick ? 'rotate-135' : 'rotate-0')}
@@ -28,11 +31,30 @@ function MobileSlideCommunity() {
2831
)}
2932
>
3033
<p className="text-sm sm:text-md leading-[1.5] font-normal text-white">
31-
칵테일에 대해 물어볼 곳이 없어 목이 마른 당신! <br />
32-
초보자부터 애호가까지, Ssoul에서는 누구나 칵테일 이야기를 나눌 수 있어요.
34+
다양한 칵테일 레시피들을 SNS로 공유하고
3335
<br />
34-
회원들과 소통하면 내 칵테일 솜씨를 뽐내보세요.
36+
커뮤니티에서 누구나 칵테일 관련 이야기를 나눌 수 있어요.
3537
</p>
38+
<div className="flex flex-col md:flex-row w-full gap-2 mt-4" aria-hidden>
39+
<div className="relative w-full max-w-[12.5rem] aspect-[0.96] overflow-hidden">
40+
<Image
41+
src={Community01}
42+
alt=""
43+
fill
44+
priority
45+
className="object-contain object-left-bottom"
46+
/>
47+
</div>
48+
<div className="relative w-full md:w-[75%] aspect-[2.09] overflow-hidden">
49+
<Image
50+
src={Community02}
51+
alt=""
52+
fill
53+
priority
54+
className="object-contain object-left-bottom"
55+
/>
56+
</div>
57+
</div>
3658
</div>
3759
</div>
3860
</div>

src/domains/main/components/mainSlide/components/pc/MainSlideAbv.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ function MainSlideAbv() {
4242

4343
return (
4444
<article className="slide-content invisible w-[61%] h-full bg-primary rounded-tl-[30px] rounded-bl-[30px] p-12 flex flex-col">
45-
<div className="flex flex-col gap-30 h-full">
45+
<div className="flex flex-col gap-20 h-full">
4646
<p className="text-[32px] font-bold ">3</p>
4747
<div className="flex flex-col gap-5 h-full justify-between">
4848
<header className="flex flex-col gap-10">
@@ -52,7 +52,7 @@ function MainSlideAbv() {
5252
알콜도수에 따라 변하는 쑤리(SSURY)를 보는 재미도 있어요.
5353
</p>
5454
</header>
55-
<div className=" h-[190px] flex flex-col gap-2">
55+
<div className="h-[190px] flex flex-col gap-2">
5656
<ul className="flex gap-[5%] xl:gap-[10%]">
5757
{SSURY_DRUNK.map(({ id, src, abv }) => (
5858
<li key={id}>
Lines changed: 28 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1+
import Image from 'next/image';
2+
import Community01 from '@/shared/assets/images/community_01.webp';
3+
import Community02 from '@/shared/assets/images/community_02.webp';
4+
15
function MainSlideCommunity() {
26
return (
3-
<section className="slide-content invisible w-[71%] h-full p-12 bg-[#333333] rounded-tl-[30px] rounded-bl-[30px] flex flex-col">
4-
<div className="flex flex-col gap-30 h-full">
7+
<article className="slide-content invisible w-[71%] h-full p-12 bg-[#333333] rounded-tl-[30px] rounded-bl-[30px] flex flex-col ">
8+
<div className="flex flex-col gap-20 h-full">
59
<p className="text-[32px] text-white font-bold">2</p>
6-
<div className="flex flex-col justify-between h-full">
10+
<div className="flex flex-col h-full justify-between">
711
<header className="flex flex-col gap-10">
812
<h2 className="text-5xl text-white font-bold">술술 즐기는, 커뮤니티</h2>
913
<p className="text-xl pb-[250px] xl:text-2xl text-white font-normal leading-[1.5]">
@@ -15,9 +19,29 @@ function MainSlideCommunity() {
1519
회원들과 소통하면 내 칵테일 솜씨를 뽐내보세요.
1620
</p>
1721
</header>
22+
<div className="flex flex-col w-full gap-5" aria-hidden>
23+
<div className="relative w-full max-w-[13.75rem] rounded-2xl aspect-[0.96] overflow-hidden">
24+
<Image
25+
src={Community01}
26+
alt=""
27+
fill
28+
priority
29+
className="object-contain object-left-bottom"
30+
/>
31+
</div>
32+
<div className="relative w-[90%] rounded-2xl aspect-[2.09] overflow-hidden">
33+
<Image
34+
src={Community02}
35+
alt=""
36+
fill
37+
priority
38+
className="object-contain object-left-bottom"
39+
/>
40+
</div>
41+
</div>
1842
</div>
1943
</div>
20-
</section>
44+
</article>
2145
);
2246
}
2347
export default MainSlideCommunity;

src/domains/main/components/mainSlide/components/pc/MainSlideTest.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const DUMMY_TEST = [
1616
function MainSlideTest() {
1717
return (
1818
<article className="slide-content invisible w-[80%] p-12 h-full bg-[#4D4D4D] rounded-tl-[30px] rounded-bl-[30px] flex flex-col">
19-
<div className="flex flex-col gap-30 h-full">
19+
<div className="flex flex-col gap-20 h-full">
2020
<p className="text-[32px] text-white font-bold">1</p>
2121
<div className="flex flex-col justify-between h-full">
2222
<header className="flex flex-col gap-10">
54 KB
Loading
56.7 KB
Loading

0 commit comments

Comments
 (0)