Initial frontend draft
This commit is contained in:
parent
1606d1faf0
commit
b6293beeec
21 changed files with 4105 additions and 150 deletions
0
frontend/app/Components/Items/ItemCard.module.scss
Normal file
0
frontend/app/Components/Items/ItemCard.module.scss
Normal file
21
frontend/app/Components/Items/ItemCard.tsx
Normal file
21
frontend/app/Components/Items/ItemCard.tsx
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
import { Card } from "react-bootstrap";
|
||||
import type Item from "~/Models/Item";
|
||||
|
||||
interface Props {
|
||||
item: Item;
|
||||
}
|
||||
|
||||
const ItemCard = ({ item }: Props) => {
|
||||
return (
|
||||
<Card>
|
||||
<Card.Header>
|
||||
<Card.Img />
|
||||
</Card.Header>
|
||||
<Card.Body>
|
||||
<Card.Title>{item.name}</Card.Title>
|
||||
</Card.Body>
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
||||
export default ItemCard;
|
||||
Loading…
Add table
Add a link
Reference in a new issue