feat: remove ListContainer
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
.section {
|
||||
display: grid;
|
||||
gap: 1rem;
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
import HotelCard from "@/components/HotelReservation/SelectHotel/HotelCard"
|
||||
import { HotelCardData } from "@/components/HotelReservation/SelectHotel/HotelCard/data"
|
||||
import ListContainer from "@/components/MyPages/Blocks/Stays/ListContainer"
|
||||
|
||||
import styles from "./layout.module.css"
|
||||
|
||||
export default function SelectHotelPage() {
|
||||
const hotelData: HotelCardData[] = [
|
||||
@@ -57,12 +58,12 @@ export default function SelectHotelPage() {
|
||||
]
|
||||
|
||||
return (
|
||||
<div>
|
||||
<ListContainer>
|
||||
<main>
|
||||
<section className={styles.section}>
|
||||
{hotelData.map((data) => (
|
||||
<HotelCard key={data.hotel.name} hotel={data.hotel} />
|
||||
))}
|
||||
</ListContainer>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user