Skip to content

Commit

Permalink
feat: 의과 본진 페이지 및 공통 레이아웃
Browse files Browse the repository at this point in the history
  • Loading branch information
eeseung committed Jan 8, 2025
1 parent bc1eb21 commit db3ed7c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const Header = () => {
const filePath = `/src/assets/mdx${location.pathname.split('/').slice(0, 3).join('/')}.mdx`;

return (
<header className="flex h-16 items-center justify-between pr-4 shadow-[0_0_0_1px_hsl(var(--border))] group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12">
<header className="flex h-16 shrink-0 items-center justify-between pr-4 shadow-[0_0_0_1px_hsl(var(--border))] group-has-[[data-collapsible=icon]]/sidebar-wrapper:h-12">
<div className="flex items-center gap-2 px-4">
<SidebarTrigger className="-ml-1" />
<Separator orientation="vertical" className="mr-2 h-4" />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Layout = () => {
return (
<SidebarProvider>
<AppSidebar />
<main className="flex flex-1 flex-col">
<main className="flex min-h-svh flex-1 flex-col">
<Header />
<Outlet />
</main>
Expand Down
10 changes: 9 additions & 1 deletion frontend/src/pages/m/DiagnosisPage.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
import React from 'react';
import { Separator } from '@freemed-kit/ui';
import PatientList from '@/features/shared/patient/list/PatientList';

const DiagnosisPage: React.FC = () => {
return <></>;
return (
<div className="mx-auto flex h-full w-full max-w-7xl">
<PatientList />
<Separator orientation="vertical" />
<div className="flex w-full flex-col gap-y-2 p-4"></div>
</div>
);
};

export default DiagnosisPage;

0 comments on commit db3ed7c

Please sign in to comment.