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 HotelCard from "@/components/HotelReservation/SelectHotel/HotelCard"
|
||||||
import { HotelCardData } from "@/components/HotelReservation/SelectHotel/HotelCard/data"
|
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() {
|
export default function SelectHotelPage() {
|
||||||
const hotelData: HotelCardData[] = [
|
const hotelData: HotelCardData[] = [
|
||||||
@@ -57,12 +58,12 @@ export default function SelectHotelPage() {
|
|||||||
]
|
]
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<main>
|
||||||
<ListContainer>
|
<section className={styles.section}>
|
||||||
{hotelData.map((data) => (
|
{hotelData.map((data) => (
|
||||||
<HotelCard key={data.hotel.name} hotel={data.hotel} />
|
<HotelCard key={data.hotel.name} hotel={data.hotel} />
|
||||||
))}
|
))}
|
||||||
</ListContainer>
|
</section>
|
||||||
</div>
|
</main>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user