Skip to content

Commit

Permalink
Merge pull request #352 from boostcampwm-2024/bug-fe-#351
Browse files Browse the repository at this point in the history
배포 버전에 대한 임시적인 오류 처리
  • Loading branch information
yewonJin authored Dec 2, 2024
2 parents 9f686c8 + 9a95a88 commit 6b84896
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 11 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Octodocs</title>
</head>
Expand Down
18 changes: 18 additions & 0 deletions apps/frontend/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ interface WorkspaceNavProps {
}

export function WorkspaceNav({ workspaceTitle }: WorkspaceNavProps) {
// 빌드 에러 해결을 위한 임시 코드.
console.log(workspaceTitle);
return (
<div className="flex flex-row items-center justify-center gap-2">
<h1 className="text-md font-semibold">{workspaceTitle}</h1>
<h1 className="text-md font-semibold">{"환영합니다 👋🏻"}</h1>
</div>
);
}
23 changes: 14 additions & 9 deletions apps/frontend/src/features/workspace/ui/ShareTool/SharePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,20 @@ export function SharePanel() {

return (
<div className="w-full">
<div className="flex w-full items-center gap-2 p-1">
<div className="flex-row text-sm text-slate-400">공개 범위</div>
<div className="flex items-center space-x-2">
<Switch
checked={isPublic}
onChange={setIsPublic}
CheckedIcon={Globe2}
UncheckedIcon={Lock}
/>
<div className="flex w-full flex-row justify-between p-1">
<div className="flex flex-row items-center gap-2">
<div className="flex-row text-sm text-slate-400">공개 범위</div>
<div className="flex items-center space-x-2">
<Switch
checked={isPublic}
onChange={setIsPublic}
CheckedIcon={Globe2}
UncheckedIcon={Lock}
/>
</div>
</div>
<div className="select-none flex-row text-sm text-slate-400">
🚧 수정 중입니다.
</div>
</div>
<div
Expand Down

0 comments on commit 6b84896

Please sign in to comment.