Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 1 addition & 9 deletions src/app/(home)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,7 @@ import { Bleed } from "@/components/ui/Bleed";
import { Spacer } from "@/components/ui/Spacer";
import { VStack } from "@/components/ui/Stack";

import {
RecentCheers,
RecentlySupportedStores,
RegisterPopup,
StoreStory,
Story,
} from "./_components";
import { RecentCheers, RegisterPopup, Story } from "./_components";
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Verification agent

🧩 Analysis chain

제거된 컴포넌트의 사용처/재-export/파일 잔존 여부 점검 권장

홈 페이지에서는 제거되었지만, 레포 전반에서 StoreStory/RecentlySupportedStores 관련 잔존 코드(다른 페이지 사용, _components/index 재-export, 파일 자체)가 있는지 확인해 주세요. 아래 스크립트로 자동 점검 가능합니다. 필요 시 잔여 파일/라인 제거도 도와드릴게요.


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo "1) 코드베이스에서 제거된 컴포넌트/카피 검색"
rg -n -S 'StoreStory|RecentlySupportedStores|이번주\s*인기' || true

echo
echo "2) home 하위 _components/index.ts(x) 재-export 잔존 여부 확인"
fd -a -t f --glob 'src/app/(home)/**/_components/**/index.{ts,tsx}' | while read -r idx; do
  echo " - $idx"
  rg -n 'export\s+\{[^}]*\b(StoreStory|RecentlySupportedStores)\b' "$idx" || true
done

echo
echo "3) 컴포넌트 파일 자체가 남아있는지 확인"
fd -a -t f '(StoreStory|RecentlySupportedStores)\.(ts|tsx)' src || true

Length of output: 2498


StoreStory 및 RecentlySupportedStores 관련 잔존 코드 삭제 필요

아래 경로에서 홈 페이지에서 제거된 두 컴포넌트가 여전히 re-export 또는 파일 형태로 남아있습니다. 사용되지 않는다면 관련 코드를 삭제해주세요.

  • src/app/(home)/_components/index.ts
    • 2행: export { RecentlySupportedStores } from "./RecentlySupportStories";
    • 4행: export { StoreStory } from "./StoreStory";
  • src/app/(home)/_components/RecentlySupportStories/RecentlySupportStories.tsx
    • RecentlySupportedStores 컴포넌트 구현 및 연관 파일 잔존
  • src/app/(home)/_components/StoreStory/StoreStory.tsx
    • StoreStory 컴포넌트 구현 및 연관 파일 잔존

위 파일 및 re-export 문 제거 후 빌드 및 기능에 영향이 없는지 확인 부탁드립니다.

🤖 Prompt for AI Agents
In src/app/(home)/page.tsx around line 7, the import still references components
that were removed from the homepage; remove the unused import { RecentCheers,
RegisterPopup, Story } (or delete the specific removed names if others remain)
and then delete the stale re-exports and component files: remove the export
lines for RecentlySupportedStores and StoreStory from
src/app/(home)/_components/index.ts and delete the folders/files
src/app/(home)/_components/RecentlySupportStories/RecentlySupportStories.tsx and
src/app/(home)/_components/StoreStory/StoreStory.tsx (and any related
assets/tests). After removal, run the build and run the app to confirm no
remaining imports or references cause errors.

import { ServiceIntroBottomSheet } from "./_components/ServiceIntroBottomSheet";

export default function HomePage() {
Expand All @@ -24,8 +18,6 @@ export default function HomePage() {
<Spacer size={32} />
<VStack gap={40}>
<RecentCheers />
<StoreStory />
<RecentlySupportedStores />
</VStack>
<ServiceIntroBottomSheet />
<RegisterPopup />
Expand Down