Skip to content

Commit

Permalink
fix: 과제 폴더구조 수정 및 라우팅 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
hamo-o committed Aug 20, 2024
1 parent 342e5f3 commit c711b77
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const Assignments = ({ params }: { params: { id: string } }) => {
const headerStyle = css({
width: "100%",
display: "flex",
alignItems: "top",
justifyContent: "space-between",
});

Expand Down
16 changes: 0 additions & 16 deletions apps/admin/app/studies/[study]/assignments/[id]/layout.tsx

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { css } from "@styled-system/css";
import { Flex, styled } from "@styled-system/jsx";
import { Text } from "@wow-class/ui";
import Link from "next/link";
import Button from "wowds-ui/Button";

const Assignments = ({ params }: { params: { id: string } }) => {
Expand All @@ -14,9 +15,11 @@ const Assignments = ({ params }: { params: { id: string } }) => {
<Button size="sm" variant="outline">
과제 휴강처리
</Button>
<Button size="sm" variant="outline">
수정
</Button>
<Link href={`${params.id}/edit`}>
<Button size="sm" variant="outline">
수정
</Button>
</Link>
</Flex>
</styled.header>
<Flex direction="column" gap="4rem">
Expand Down
5 changes: 0 additions & 5 deletions apps/admin/app/studies/[study]/assignments/default.tsx

This file was deleted.

0 comments on commit c711b77

Please sign in to comment.