Spaces:
Sleeping
Sleeping
File size: 1,627 Bytes
22c310d fab48db 22c310d fab48db 22c310d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 |
import { Container, Col, Row } from 'react-bootstrap';
import StoreItem from '../molecules/StoreItem';
function StoreSection() {
const stores = [
{ storeName: 'Store 1', address: 'Address 1', imageSrc: '/placeholder2.jpg' },
{ storeName: 'Store 2', address: 'Address 2', imageSrc: '/placeholder2.jpg' },
{ storeName: 'Store 3', address: 'Address 3', imageSrc: '/placeholder2.jpg' },
];
return (
<Container id="store" className="text-center justify-content-center align-items-center my-5">
<h1 className='mb-5'>Các chi nhánh</h1>
<Row className="align-items-center">
<Col xs={12} md={4} className="d-flex justify-content-center align-items-center">
Đây là các chi nhánh đang mở, chưa mở, sắp mở và có thể là sẽ không mở
</Col>
<Col xs={12} md={8}>
<Container>
<Row xs={1} md={2} xl={3} className="g-4">
{Array.from(stores).map((store, idx) => (
<Col key={idx}>
<StoreItem storeName={store.storeName}
address={store.address}
imageSrc={store.imageSrc}>
</StoreItem>
</Col>
))}
</Row>
</Container>
</Col>
</Row>
</Container>
);
}
export default StoreSection; |