added oilInfo component

This commit is contained in:
2025-11-02 15:24:52 +08:00
parent c4181b48b1
commit 63ba11891f
2 changed files with 55 additions and 0 deletions

View File

@@ -0,0 +1,53 @@
import { Box, Stack, Image, Flex, Text, SimpleGrid } from '@chakra-ui/react'
function OilInfo() {
return (
<Box
position="relative"
w="100%"
bgColor="#FFFBD3"
zIndex={3}
overflow="hidden"
justifyItems={'center'}
>
<SimpleGrid
columns={{ base: 1, sm: 1, md: 2 }}
p={{ base: 10, sm: 20, md: 20 }}
w={{ base: '100%', sm: '100%', md: '100%', lg: '70%', xl: '60%' }}
h={'auto'}
gap={{ base: 10, md: 0 }}
justifyItems={'center'}
alignItems={'center'}
>
<Box
justifyItems={'center'}
alignItems={'center'}
>
<Image
src='/images/cookmethods.webp'
alt='cooking methods'
w={{ base: '100%', sm: '90%', md: '85%' }}
/>
</Box>
<Box
justifyItems={'center'}
alignItems={'center'}
>
<Image
src='/images/new/recipe_button.webp'
w={{ base: '100%', sm: '90%', md: '85%' }}
/>
</Box>
</SimpleGrid >
</Box >
)
}
export default OilInfo;