diff --git a/src/components/Web/Artifact/Artifact.stories.tsx b/src/components/Web/Artifact/Artifact.stories.tsx index ac511a4..1b5bf62 100644 --- a/src/components/Web/Artifact/Artifact.stories.tsx +++ b/src/components/Web/Artifact/Artifact.stories.tsx @@ -12,7 +12,7 @@ export default { argTypes: {}, } as Meta; -const Template: StoryObj = { +export const Template: StoryObj = { args: { id: "b949c1c7-9132-4315-8d3e-476e5066c3de", title: "日清のやつ", diff --git a/src/components/Web/Artifact/Artifact.tsx b/src/components/Web/Artifact/Artifact.tsx index 8800aae..c0b248c 100644 --- a/src/components/Web/Artifact/Artifact.tsx +++ b/src/components/Web/Artifact/Artifact.tsx @@ -1,11 +1,18 @@ import Date from "@/components/Common/Date/Date"; import { getCategory } from "@/libs/getCategory"; import { Work } from "@/types/common"; -import { Box, Button, Stack, Typography, useMediaQuery } from "@mui/material"; -import Image from "next/image"; +import { + Box, + Button, + Card, + CardContent, + CardMedia, + Stack, + Typography, + useMediaQuery, +} from "@mui/material"; import { WorkTags } from "../Tags/WorkTags"; import { UserCard } from "../User/UserCard"; - export const Artifact = ({ id, title, @@ -20,70 +27,59 @@ export const Artifact = ({ const category = getCategory(tags); const isSmall = useMediaQuery("(min-width:600px)"); return ( - + + + + + + + ); };