Skip to content
Merged
Show file tree
Hide file tree
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
30 changes: 16 additions & 14 deletions src/app/(home)/_components/RecentCheers/RecentCheers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Suspense } from "@suspensive/react";
import { useSuspenseQuery } from "@tanstack/react-query";
import { chunk, noop } from "es-toolkit";
import Image from "next/image";
import Link from "next/link";
import { type HTMLAttributes, useState } from "react";
import { Separated } from "react-simplikit";

Expand Down Expand Up @@ -43,20 +44,21 @@ const RecentSupportCardContent = () => {
<VStack gap={24}>
<VStack>
{chunkedList[currentIndex]?.map((cheer, index) => (
<RecentSupportCard
key={cheer.cheerId}
style={{
backgroundColor: BACKGROUND_COLORS[index % 3],
transform: index === 1 ? "rotate(-4deg)" : "translate3d(0,0,0)",
}}
store={{
name: cheer.storeName,
imageUrl: cheer.imageUrl,
location: `${cheer.storeDistrict} ${cheer.storeNeighborhood}`,
category: cheer.storeCategory,
}}
content={cheer.cheerDescription}
/>
<Link key={cheer.cheerId} href={`/stores/${cheer.storeId}`}>
<RecentSupportCard
style={{
backgroundColor: BACKGROUND_COLORS[index % 3],
transform: index === 1 ? "rotate(-4deg)" : "translate3d(0,0,0)",
}}
store={{
name: cheer.storeName,
imageUrl: cheer.imageUrl,
location: `${cheer.storeDistrict} ${cheer.storeNeighborhood}`,
category: cheer.storeCategory,
}}
content={cheer.cheerDescription}
/>
</Link>
))}
</VStack>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ export const SearchStoreBottomSheet = ({
onChange: e => handleSearchChange(e.target.value),
})}
placeholder='가게명을 입력해주세요'
autoFocus
rightAddon={
searchTermValue ? (
<button
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ export const StoreInfoStep = ({
<SearchIcon width={20} height={20} color={semantic.icon.black} />
}
value={storeInfo.storeName}
readOnly
placeholder='가게명을 입력해주세요'
onClick={() => {
overlay.open(({ isOpen, close }) => {
return (
Expand Down