Skip to content

TomMirfin/Zen-Hotel

Repository files navigation

Zen-Hotel

Tech Stack: React, Tailwind, Framer Motion, React Router

This project is a mock website for a ficticious hotel - but one I would like to stay at!

23/9/23

Where am I up to?

I have pushed this project further along than I oringinally should have, however this is the project so far:

Structure:

The landing page structure is now in place this includes

NavBar

The NavBar Connects to a check availability section which will then take the user to the type of room for the event they are looking for.

Functionality and room page creation still to be done.

First Section

The first title page is a video showing the inside of the hotel

Second Section

The second section shows a list of the facilities that are provided by the hotel. These images are rendered dynamically from my inages folder. When the user hovers over the image, an overlay appears with the name of the facility e.g. A spa image with render the text spa on mouse enter.

{/* First Image */}
<ImageWithHoverOverlay image={IMAGES.image1} overlayContent={"EAT"} />
 {/* Second Image */}
<ImageWithHoverOverlay image={IMAGES.image2} overlayContent={"SPA"} />

{/* Third Image */}
<ImageWithHoverOverlay
image={IMAGES.image3}
overlayContent={"WEDDINGS"}
/>
</div>

Third Section

The third section is rendered using the same component as the second but lists a range of Restaurants.

TO DO

Create the rooms Model menu for each Restaurant Create pages for the facilities

02/10/23

Updates

A lot has changed since my last commit

  • The page items/rooms are now rendered dynamically from a js file while holds an array of objects containing all of the information for each room
  • Nav bar has been redesigned to include react router & all Routes are now defined in the main.jsx file.
  • Paththing is completed from check availability -> All Rooms -> Selected Room This i has been done using the id: of the room and filtered as so:
  const { id } = useParams();
  const room = RoomData.find((room) => room.id === parseInt(id));

It was also my first time implementing usePararms in React

To Do

-Complete Selected Rooms page carousel and displaying the selected room. -Complete the booking page to allow the user to complete a booking -Spa Pages -Restaurant menu modoles

3/10/23

Quick update on SelectedPage with Carousel for images //Not final Images

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published