Skip to content
Open
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
2 changes: 1 addition & 1 deletion src/app/my/_ui/MyProfileContent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const MyProfileContent = () => {
</p>
</div>
{/* Profile Card */}
<div className="mb-4 rounded-lg bg-gray-50 p-4">
<div className="bg-gray-c-300 mb-4 rounded-lg p-4">
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Prettier 오류가 납니다 — 클래스 순서를 정리해주세요.
CI 로그에 맞춰 클래스 순서를 바꿔야 통과합니다.

🧹 수정 제안
-      <div className="bg-gray-c-300 mb-4 rounded-lg p-4">
+      <div className="mb-4 rounded-lg bg-gray-c-300 p-4">
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
<div className="bg-gray-c-300 mb-4 rounded-lg p-4">
<div className="mb-4 rounded-lg bg-gray-c-300 p-4">
🧰 Tools
🪛 GitHub Actions: CI

[error] 83-83: Prettier formatting issue. Replace bg-gray-c-300 mb-4 rounded-lg with mb-4 rounded-lg bg-gray-c-300.

🤖 Prompt for AI Agents
In `@src/app/my/_ui/MyProfileContent/index.tsx` at line 83, 해당 JSX div의
className("bg-gray-c-300 mb-4 rounded-lg p-4")가 프로젝트의 Prettier/Tailwind 클래스 정렬
규칙을 따르지 않아 CI에서 실패합니다; MyProfileContent 컴포넌트의 해당 div(className 속성)를 프로젝트의 표준
Tailwind 클래스 순서로 재정렬하고 저장 전 Prettier 또는 ESLint --fix를 실행해 자동 정렬을 적용하세요 (대상 식별자:
MyProfileContent 내 문제의 div의 className).

<div className="mb-3 flex items-center space-x-3">
<ProfileWithBadge profileImageUrl={profileImageUrl} width={48} height={48} />
<div>
Expand Down
2 changes: 1 addition & 1 deletion src/app/university/search/SearchBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const SearchBar = ({ initText }: SearchBarProps) => {
<input
type="text"
placeholder={"해외 파견 학교를 검색하세요."}
className="w-full rounded-lg border border-gray-200 bg-k-50 p-3 pl-4 pr-10 text-k-600 focus:border-primary"
className="border-gray-c-200 w-full rounded-lg border bg-k-50 p-3 pl-4 pr-10 text-k-600 focus:border-primary"
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

Prettier 오류가 납니다 — 클래스 순서를 정리해주세요.
CI 로그와 동일하게 정렬해야 합니다.

🧹 수정 제안
-          className="border-gray-c-200 w-full rounded-lg border bg-k-50 p-3 pl-4 pr-10 text-k-600 focus:border-primary"
+          className="w-full rounded-lg border border-gray-c-200 bg-k-50 p-3 pl-4 pr-10 text-k-600 focus:border-primary"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
className="border-gray-c-200 w-full rounded-lg border bg-k-50 p-3 pl-4 pr-10 text-k-600 focus:border-primary"
className="w-full rounded-lg border border-gray-c-200 bg-k-50 p-3 pl-4 pr-10 text-k-600 focus:border-primary"
🧰 Tools
🪛 GitHub Actions: CI

[error] 62-62: Prettier formatting issue. Replace border-gray-c-200 w-full rounded-lg border with w-full rounded-lg border border-gray-c-200.

🤖 Prompt for AI Agents
In `@src/app/university/search/SearchBar.tsx` at line 62, SearchBar.tsx has a
Prettier error due to unordered Tailwind/CSS classes in the className prop; open
the SearchBar component and locate the className string on the element (the
className in SearchBar.tsx) and sort the classes to match the project's
Prettier/Tailwind order used in CI (e.g., group by layout, box-model,
background/border, spacing, typography, state) so the class list becomes
deterministic and CI will pass; update only the className string ordering and
run Prettier to verify.

{...register("searchText")}
/>
<div className="absolute right-3 top-1/2 h-5 w-5 -translate-y-1/2 text-gray-400">
Expand Down
4 changes: 4 additions & 0 deletions src/styles/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,7 @@
.animate-slide-in {
animation: slide-in 0.3s ease-out;
}

:root {
--radius: 8px;
}
2 changes: 2 additions & 0 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ const config: Config = {
},
"gray-c": {
"100": "#ececec",
"200": "#e5e7eb",
"300": "#f9fafb",
},
// 하드코딩된 회색 계열 색상
gray: {
Expand Down
Loading