forked from Team-Shaka/Breifing-WEB
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(BriefingCardDetail): Update design and fix mobile padding issues
- Adjust line height and font styles for content - Change date formatting to 'YYYY.MM.DD' format - Update padding values for mobile screen sizes - Fix issue with uneven left and right padding in Header on mobile screens
- Loading branch information
Showing
25 changed files
with
242 additions
and
200 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// 날짜를 YYYY.MM.DD 형식과 요일로 변환하는 함수 | ||
export const formatDateWithDay = (date) => { | ||
const days = ["일", "월", "화", "수", "목", "금", "토"]; | ||
const dayOfWeek = days[date.getDay()]; | ||
const formattedDate = date.toISOString().split("T")[0].replace(/-/g, "."); | ||
return `${formattedDate}(${dayOfWeek})`; | ||
}; | ||
|
||
// 날짜를 YYYY-MM-DD 형식에서 YYYY.MM.DD 형식으로 변환하는 함수 | ||
export const formatDate = (dateString) => { | ||
const date = new Date(dateString); | ||
const year = date.getFullYear(); | ||
const month = String(date.getMonth() + 1).padStart(2, "0"); | ||
const day = String(date.getDate()).padStart(2, "0"); | ||
return `${year}.${month}.${day}`; | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.