autocommit 15-06-2024-17-32
|
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 119 KiB |
|
Before Width: | Height: | Size: 94 KiB After Width: | Height: | Size: 94 KiB |
|
Before Width: | Height: | Size: 105 KiB After Width: | Height: | Size: 105 KiB |
|
Before Width: | Height: | Size: 122 KiB After Width: | Height: | Size: 122 KiB |
|
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
|
|
@ -3,6 +3,11 @@
|
||||||
import React, { useState } from 'react'
|
import React, { useState } from 'react'
|
||||||
import { Box, Container, Paper, Table, Button, TextInput, useMantineTheme, Flex, Image } from '@mantine/core'
|
import { Box, Container, Paper, Table, Button, TextInput, useMantineTheme, Flex, Image } from '@mantine/core'
|
||||||
import Example from './query'
|
import Example from './query'
|
||||||
|
// import { Image as NextImage } from 'next/image'
|
||||||
|
import NextImage from 'next/image';
|
||||||
|
|
||||||
|
import Prawn from "../images/aussietigerprawns.jpg"
|
||||||
|
// import Prawn from "/aussietigerprawns.jpg"
|
||||||
|
|
||||||
interface InventoryItem {
|
interface InventoryItem {
|
||||||
id: number
|
id: number
|
||||||
|
|
@ -103,12 +108,29 @@ export default function InventoryPage() {
|
||||||
gap="md"
|
gap="md"
|
||||||
justify="flex-start"
|
justify="flex-start"
|
||||||
align="flex-start"
|
align="flex-start"
|
||||||
direction="row"
|
direction="column"
|
||||||
wrap="wrap"
|
wrap="wrap"
|
||||||
>
|
>
|
||||||
{/* would fetch the source from axios */}
|
{/* would fetch the source from axios */}
|
||||||
<Image src="x.png" alt="ITEM" />
|
<NextImage src={Prawn} alt="ITEM" />
|
||||||
<Example />
|
<NextImage src={Prawn} alt="ITEM" />
|
||||||
|
<NextImage src={Prawn} alt="ITEM" />
|
||||||
|
<NextImage src={Prawn} alt="ITEM" />
|
||||||
|
<NextImage src={Prawn} alt="ITEM" />
|
||||||
|
<NextImage src={Prawn} alt="ITEM" />
|
||||||
|
<NextImage src={Prawn} alt="ITEM" />
|
||||||
|
<NextImage src={Prawn} alt="ITEM" />
|
||||||
|
<NextImage src={Prawn} alt="ITEM" />
|
||||||
|
<NextImage src={Prawn} alt="ITEM" />
|
||||||
|
{/* <Example /> */}
|
||||||
|
|
||||||
|
{/* <Image component={NextImage} src={Prawn} alt="TIGER PRAWNS" /> */}
|
||||||
|
|
||||||
|
{/* from public import everything .jpg */}
|
||||||
|
|
||||||
|
{/* create an Image for each */}
|
||||||
|
|
||||||
|
{/* <NextImage src="cake.jpg" alt="public/cake" /> */}
|
||||||
</Flex>
|
</Flex>
|
||||||
</Box>
|
</Box>
|
||||||
)
|
)
|
||||||
|
|
|
||||||