Skip to content

Commit

Permalink
메인 최신화 (#187)
Browse files Browse the repository at this point in the history
* ✨ Feat: reviewing Form에 post api 연결

* Rename: review-apis

* 🐛 fix: build warning 수정, 사용하지 않는 함수, import 삭제

* 💄 design: 스켈레톤 ui수정

* ✨ feat: 크루 디테일 스켈레톤 UI추가

* ✨ feat: 리스트 스켈레톤 적용, 데이터 없을 경우 스타일 추가

* ✨ feat: 스켈레톤 ui 추가 잘못된 id 404로 이동

* 🐛 fix: npm installed canged

* ♻️ refactor: 스토리북 폴더, 파일명 수정

* 🚑 fix: npm i changed

* 🚑 fix: 페이지 랜더링 안되는 문제 수정

* 📝 docs: 스토리북 configure doc 수정

* 🚑 fix: 맥 스토리북위해 esbuild설치

* 💄 design: fontweignt삭제

* 🐛 fix: 포멧 데이터 디자인에 맞게 수정

* 🐛 fix: 타입 수정

* 🐛 fix: 스토리북 목데이터 수정

* 💄 design: 디자인에 맞게 날짜 수정

* ✨ feat: 나의리뷰, 리뷰 삭제하기 추가

* 🐛 fix: 토스트로 변경

* ✨ feat: 나의 리뷰 리스트 무한스크롤 구현, 데이터 연결

* 📝 docs: 사용하지 않는 파일 삭제, 주석처리

* 🚑 fix: 중복 코드 삭제, 이동경로 수정

* 💄 design: 마진 추가

* 🐛 fix: 폴더 들여쓰기 에러 수정 - meta title 변경

* 🐛 fix: 프리패치 기능 다시 살림

* ✨ feat: 크루 리뷰 타입 추가

* 🐛 fix: 리뷰카드 수정

* 🐛 fix: 사용하지 않는 import 삭제

* 🚑 fix: 타입에 따라 이름 변경

* ✨ feat: 데이터 패치

* ✨ feat: 레이지 로딩을 통해 시간단축

* ♻️ refactor: 페이지네이션 리팩토링

* 🐛 fix: 선언했지만 사용하지 않는 값 삭제

* ✨ feat: 리뷰 리스트 스켈레톤 UI 추가

* Fix/youl bug fix (#150)

* Feat: 스켈레톤 컴포넌트 추가

* 🐛 Fix: 컬럼 수정

* ✨ Feat: 마이페이지 프로필 스켈레톤 추가

* ✨ Feat: 작성가능한리뷰 스켈레톤 추가

* ✨ Feat: 나의 리뷰 스켈레톤 추가가

* ♿️ Fix: 접근성 개선

* ✨ Feat: 나의 약속 로딩 스켈레톤 추가

* 💄 Design: 호버시 그림자 적용

* 🚨 Fix: 빌드 오류 수정

* 🐛 Fix: DateTimePicker 동작개선

* ♿️ Fix: 크루 폼 접근성 개선

* ♿️ Fix : 약속 폼 접근성 개선

* ♿️ Fix: 크루찾기 접근성 개선

* 🐛 Fix: 이미지 fill, cover 워닝 없애기

* Merge branch 'develop' into Fix/YoulBugFix

* 🍱 Fix: 샘플 이미지 교체

* ✨ Feat: 메타 설정

* ⬇️ Chore: package install

* 🐛 Fix: 파일인풋 동작 개선

* Co-authored-by: JEP <[email protected]>

* 🐛 Fix: FileInput 동작 개선

* 🚨 Fix: 빌드오류 수정

* ✨ feat: 스켈레톤 사용

* ✨ feat: 데이터 패치, 스켈레톤 사용

* 💄 design: 스켈레톤 디자인 수정

* 💄 design: 모바일 디자인 수정

* 최신화

* 🚑 fix: 데이터 수정

* 🐛 fix: zustand state 에러 수정, ✨ Feat: reissue에러시 redirect 추가

* 💄 Style: img style 변경

* 🚑 fix: 패키지 변경

* ✨ feat: 데이터가 없는경우 처리

* 💄 design: 스켈레톤 디자인 수정

* ♻️ refactor: 코드 리팩토링

* 💄 design: 디자인에 맞게 수정, 누락된 데이터 추가, 반응형 작업

* 🐛 fix: 데이터명 변경

* 🐛 fix: storybook err 수정

* Feat/135/not found 디자인 수정 (#167)

* ✨ Feat: Not Found 추가

* 💄 Design: 디자인 개선

* 💄 Design: not-found 디자인 수정

* 💄 Design: favicon 추가

* 🚨 Fix: 임포트 정리

* 🐛 Fix : 오류처리 추가

* 🚑 fix: 마이페이지 401로직 수정

* ✨ feat: 로그인상태가 아닐경우 로그인 페이지로 이동

* 🐛 fix: 안쓰는 임시파일 삭제

* ♻️ refactor: storybook 폴더 변경, 📝 docs: configure 이미지 파일 추가

* Feat/147/skeleton : 마이페이지 스켈레톤 추가 (#162)

* Feat: 스켈레톤 컴포넌트 추가

* 🐛 Fix: 컬럼 수정

* ✨ Feat: 마이페이지 프로필 스켈레톤 추가

* ✨ Feat: 작성가능한리뷰 스켈레톤 추가

* ✨ Feat: 나의 리뷰 스켈레톤 추가가

* ♿️ Fix: 접근성 개선

* ✨ Feat: 나의 약속 로딩 스켈레톤 추가

* 💄 Design: 호버시 그림자 적용

* 🚨 Fix: 빌드 오류 수정

* 🐛 Fix: DateTimePicker 동작개선

* 💄 Design: 크루카드 모바일 디자인 수정

* ✨ Feat: 마이페이지 스켈레톤 추가

* 🚨 Fix: 빌드 워닝 제거

* 💄  Design: 나의약속 스켈레톤 디자인 수정 초안

* 💄 Design: 스켈레톤 너비 수정

* Merge branch 'develop' into Feat/147/Skeleton

* 🐛 fix: build err 수정 - import 추가

* 🐛 fix: 프로필 모음 위치수정

* 🐛 fix: 안쓰는 컴포넌트 삭제

* 🐛 fix: 폴더명 변경

* 🚑 fix: 버튼 컴포넌트 위치 변경

* 🐛 fix: 파일이동

* 📦 chore: 안쓰는 파일, 패키지 정리

* 🚑 fix: build warning 정리

* ✨ feat: 빌드 해결위해 추가

* 🚑 fix: 사용하지 않는 패키지 삭제

* Fix/youl bug fix : 로고, 파비콘 교체, 헤더 스타일 변경 (#171)

* Feat: 스켈레톤 컴포넌트 추가

* 🐛 Fix: 컬럼 수정

* ✨ Feat: 마이페이지 프로필 스켈레톤 추가

* ✨ Feat: 작성가능한리뷰 스켈레톤 추가

* ✨ Feat: 나의 리뷰 스켈레톤 추가가

* ♿️ Fix: 접근성 개선

* ✨ Feat: 나의 약속 로딩 스켈레톤 추가

* 💄 Design: 호버시 그림자 적용

* 🚨 Fix: 빌드 오류 수정

* 🐛 Fix: DateTimePicker 동작개선

* ♿️ Fix: 크루 폼 접근성 개선

* ♿️ Fix : 약속 폼 접근성 개선

* ♿️ Fix: 크루찾기 접근성 개선

* 🐛 Fix: 이미지 fill, cover 워닝 없애기

* Merge branch 'develop' into Fix/YoulBugFix

* 🍱 Fix: 샘플 이미지 교체

* ✨ Feat: 메타 설정

* ⬇️ Chore: package install

* 🐛 Fix: 파일인풋 동작 개선

* Co-authored-by: JEP <[email protected]>

* 🐛 Fix: FileInput 동작 개선

* 🚨 Fix: 빌드오류 수정

* 🎨 Style: 린트프리티어 적용

* 💄 Design: 헤더 수정

* 🔥 Chore: 파일 정리

* 🐛 Fix: 헤더 동작 개선

* 🐛 Fix: 크루 찾기 메뉴 원래대로

* 💄 Design: 헤더 디자인 수정

* 💄 Design: 로그인 폰트사이즈 변경

* 🐛 Fix: 이미지 경로 수정

* 🍱 Chore: 압축된 이미지로 교체

* 🔧 Chore: 파비콘 설정 추가

* 💚 Chore: package 싱크

* 💄design: 간격 변경

* ✨ feat: 빈배열 문구 추가

* 💄 design: 스켈레톤 ui 수정

* ✨ Feat: 데이터 없을 때 문구 추가

* 🐛 fix: svg err 수정

* 📝 docs: 스토리북 docs 추가, 보강

* 🐛 fix: 안쓰는 목데이터 삭제

* 📝 docs: 프로필, 찜하기 스토리북 docs 추가

* 📝 docs: input, auth, layout component 스토리북 문서 수정

* ♻️ refactor: 이전 파비콘 삭제

* Fix/youl storybook + 노데이터 문구 수정 (#174)

* 📝 Docs: 스토리북 수정, Refactor: 안쓰는 타입 수정

* 📝 Docs: jsdoc 추가

* ✨ feat: 빈배열일 경우 처리 추가, mt추가

* 🐛 fix: app 내 파비콘 삭제

* 💄 design: 디자인 수정

* 🚑 fix: 이름수정, 시간계산 수정

---------

Co-authored-by: 조예은 <[email protected]>
Co-authored-by: min5x5 <[email protected]>
Co-authored-by: HaeJungg <[email protected]>
Co-authored-by: HaeJungg <[email protected]>
Co-authored-by: Cho Yeeun <[email protected]>
Co-authored-by: 김민경 <[email protected]>
  • Loading branch information
7 people authored Nov 24, 2024
1 parent 9aa62cc commit 7dfaa8e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/app/(auth)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default function AuthLayout({
<div className="flex h-full w-full flex-col items-center bg-white p-6 md:w-1/2 md:justify-center md:p-8 lg:p-20">
<div className="text-xl font-semibold md:text-2xl lg:text-3xl">Welcome,</div>
<div className="text-center text-xl font-semibold md:text-2xl lg:text-3xl">
크루에 오신 것을 환영합니다 🙌
크루크루에 오신 것을 환영합니다 🙌
</div>
<div className="mt-4 text-center text-sm font-semibold lg:text-base">
함께할 사람이없나요? 지금 크루에 참여해보세요
Expand Down
2 changes: 1 addition & 1 deletion src/app/(auth)/login/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default function LoginPage() {
<div>
<LoginForm formMethods={formMethods} onSubmit={handleSubmit} />
<div className="mt-6 flex justify-center space-x-1 text-sm font-medium">
<div>크루가 처음이신가요?</div>
<div>크루크루가 처음이신가요?</div>
<Link
href={redirect !== '/' ? `/signup?redirect=${redirect}` : '/signup'}
className="text-blue-500 underline"
Expand Down
7 changes: 3 additions & 4 deletions src/components/common/gathering-card/container.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@ export default function GatheringCard({
const today = new Date();
const isPast = gatheringDate < today;

// 24시간 이내인지 확인
const timeDifference = gatheringDate.getTime() - today.getTime();
const isWithin24Hours = timeDifference > 0 && timeDifference <= 24 * 60 * 60 * 1000;
// 오늘 이낸지 확인
const isToday = gatheringDate.toDateString() === today.toDateString();

// 마감 시간 문자열 생성
const deadlineMessage = `오늘 ${gatheringDate.getHours()}시 마감`;
Expand Down Expand Up @@ -87,7 +86,7 @@ export default function GatheringCard({
id={id}
isPast={isPast}
deadlineMessage={deadlineMessage}
isWithin24Hours={isWithin24Hours}
isToday={isToday}
title={title}
dateTime={dateTime}
location={location}
Expand Down
6 changes: 3 additions & 3 deletions src/components/common/gathering-card/presenter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export interface GatheringCardPresenterProps {
onLikeToggle: () => void;
onClick: () => void;
isPast: boolean;
isWithin24Hours?: boolean;
isToday?: boolean;
deadlineMessage?: string;
className?: string;
}
Expand All @@ -36,7 +36,7 @@ export default function GatheringCardPresenter({
onLikeToggle,
onClick,
isPast,
isWithin24Hours,
isToday,
deadlineMessage,
className,
}: GatheringCardPresenterProps) {
Expand Down Expand Up @@ -64,7 +64,7 @@ export default function GatheringCardPresenter({
/>
</div>

{isWithin24Hours && (
{isToday && (
<div className="absolute right-0 top-0 flex items-center space-x-1 bg-blue-600 px-4 py-2 text-white">
<Image src={IcoTimer} alt="timer icon" width={16} height={16} />
<p className="text-base font-medium">{deadlineMessage}</p>
Expand Down

0 comments on commit 7dfaa8e

Please sign in to comment.