Skip to content

Commit cb76bd0

Browse files
authored
fix: update background content layout (#48)
* fix: update background content layout * fix: change padding
1 parent 5da8f85 commit cb76bd0

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/app/(web)/layout.tsx

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,29 +25,35 @@ export default function Layout({ children }: { children: React.ReactNode }) {
2525
</div>
2626
<div
2727
className={cn(
28-
'h-screen w-full max-w-[670px] overflow-scroll scrollbar-hide bg-opacity-65 bg-[url("/assets/background.png")]'
28+
'h-screen w-full max-w-[670px] overflow-scroll bg-opacity-65 bg-[url("/assets/background.png")] scrollbar-hide'
2929
)}
3030
>
3131
{children}
3232
</div>
3333
<div
3434
className={cn(
35-
'hidden h-[320px] w-[270px] flex-col items-center justify-center gap-[34px] lg:flex'
35+
'hidden h-[320px] w-[calc((100vw-670px)/2)] max-w-[270px] flex-col items-center justify-center gap-[34px] px-2.5 lg:flex'
3636
)}
3737
>
38-
<Image src={text} alt="text" width={194} draggable={false} />
39-
<div className={cn('flex w-[200px] justify-between')}>
38+
<Image className={cn('px-2.5')} src={text} alt="text" width={214} draggable={false} />
39+
<div
40+
className={cn(
41+
'flex w-[calc((100vw-670px)/2)] max-w-[240px] justify-between gap-2.5 px-5'
42+
)}
43+
>
4044
<Link
45+
className={cn('flex-1')}
4146
href="https://apps.apple.com/kr/app/weski-%EC%8A%A4%ED%82%A4%EC%9E%A5-%ED%81%90%EB%A0%88%EC%9D%B4%EC%85%98-%ED%94%8C%EB%9E%AB%ED%8F%BC/id6642660900"
4247
target="_blank"
4348
>
44-
<Image src={ios} alt="ios" width={95} draggable={false} />
49+
<Image src={ios} alt="ios" draggable={false} />
4550
</Link>
4651
<Link
52+
className={cn('flex-1')}
4753
href="https://play.google.com/store/apps/details?id=com.dieski.weski"
4854
target="_blank"
4955
>
50-
<Image src={android} alt="android" width={95} draggable={false} />
56+
<Image src={android} alt="android" draggable={false} />
5157
</Link>
5258
</div>
5359
</div>

0 commit comments

Comments
 (0)