Skip to content

Commit

Permalink
fix(bottle): remove header and add margin top at sents tab
Browse files Browse the repository at this point in the history
  • Loading branch information
stakbucks committed Oct 9, 2024
1 parent 9a87e94 commit d62216b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 4 additions & 2 deletions apps/bottle/src/app/bottles/sents/Sents.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ export function Sents() {
<>
{sentBottles.length > 0 ? (
<>
<ProfileLayout.Title>{`${currentUser.name}님을 마음에\n들어한 분들이에요`}</ProfileLayout.Title>
<ProfileLayout.Title
style={{ marginTop: 72 }}
>{`${currentUser.name}님을 마음에\n들어한 분들이에요`}</ProfileLayout.Title>
<ProfileLayout.Subtitle style={{ marginTop: spacings.sm }}>
시간 내에 보틀을 열지 않으면 사라져요
</ProfileLayout.Subtitle>
Expand All @@ -49,7 +51,7 @@ export function Sents() {
</section>
</>
) : (
<Fallback marginTop={94}>
<Fallback marginTop={142}>
<Fallback.Image src={CoconutImage} alt="fallback image" />
<Fallback.Title>조금만 기다려 볼까요?</Fallback.Title>
<Fallback.Subtitle>나를 마음에 들어할 상대는 누굴까요 👀</Fallback.Subtitle>
Expand Down
2 changes: 0 additions & 2 deletions apps/bottle/src/app/bottles/sents/page.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Header } from '@/components/common/header';
import { ProfileLayout } from '@/components/profile/layout';
import { getServerSideTokens } from '@/features/server/serverSideTokens';
import { ServerFetchBoundary } from '@/store/query/ServerFetchBoundary';
Expand All @@ -13,7 +12,6 @@ export default function SentBottlesPage() {

return (
<ProfileLayout hasCTAButton={false}>
<Header />
<Suspense>
<ServerFetchBoundary fetchOptions={serverFetchOptions}>
<Sents />
Expand Down

0 comments on commit d62216b

Please sign in to comment.