Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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
33 changes: 27 additions & 6 deletions src/app/styles/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,30 @@ const theme = createTheme({
fontSize: "1.4rem",
},
},
subtitle1: {
fontSize: "3.2rem",
fontWeight: 700,
lineHeight: 1.2,
letterSpacing: "-0.025em",
"@media (min-width:600px)": {
fontSize: "4rem",
},
"@media (min-width:960px)": {
fontSize: "6rem",
},
},
subtitle2: {
fontSize: "3rem",
fontWeight: 700,
lineHeight: 1.2,
letterSpacing: "-0.025em",
"@media (min-width:600px)": {
fontSize: "3.2rem",
},
"@media (min-width:960px)": {
fontSize: "3.6rem",
},
},
},

shape: {
Expand Down Expand Up @@ -360,15 +384,12 @@ const theme = createTheme({
MuiContainer: {
styleOverrides: {
root: {
paddingLeft: "1.6rem",
paddingRight: "1.6rem",
paddingInline: "1.6rem",
"@media (min-width:600px)": {
paddingLeft: "2rem",
paddingRight: "2rem",
paddingInline: "2rem",
},
"@media (min-width:960px)": {
paddingLeft: "2.4rem",
paddingRight: "2.4rem",
paddingInline: "2.4rem",
},
},
},
Expand Down
12 changes: 11 additions & 1 deletion src/entities/projects/types/projects.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
// 나중에 Project Owner 정보가 타입으로 들어가야할 것 같음 + expectedPeriod 타입 수정 or 포맷팅해서 DB 저장

import type { UserRole } from "@shared/user/types/user";

// 팀원 목록들도 타입으로 들어가야할 것 같음, 이미지도 타입으로 들어가야할 것 같음
// 지원자들도 넣어야할 듯
export interface ProjectItemInsertReq {
userId: string; // 작성자 id
userName: string; // 작성사 이름
status: "모집중" | "모집완료";
userRole: UserRole;
avatar: string;
title: string; // 프로젝트 제목
oneLineInfo: string; // 프로젝트 한줄 소개
simpleInfo: string; // 프로젝트 간단 소개
Expand All @@ -13,14 +21,16 @@ export interface ProjectItemInsertReq {
requirements: string[]; // 지원 요구사항
preferentialTreatment: string[]; // 우대사항
positions: Positions[]; // 모집 포지션
applicants: string[]; // 지원자들
}

interface Positions {
position: string;
count: number;
experience: string; // 경력
}

// 나중에 Project Owner 정보가 타입으로 들어가야할 것 같음 + expectedPeriod 타입 수정 or 포맷팅해서 DB 저장
// 팀원 목록들도 타입으로 들어가야할 것 같음
Copy link
Contributor

Choose a reason for hiding this comment

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

제가 놓친 부분이 있었나보군요! 등록 api에 추가하도록 하겠습니다.

Copy link
Contributor Author

@tkyoun0421 tkyoun0421 Jun 24, 2025

Choose a reason for hiding this comment

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

스탠딩 미팅에서 같이 맞춰봐야 할 것 같아요!

Copy link
Contributor

Choose a reason for hiding this comment

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

좋습니다~

export interface ProjectListRes extends ProjectItemInsertReq {
id: string; // firebase 문서 id
}
Loading
Loading