An open API service indexing awesome lists of open source software.

https://github.com/taurusilver7/trivago


https://github.com/taurusilver7/trivago

Last synced: over 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Trivago

> A modern Travel Agency Web App built using React JS, Tailwindcss & Vite configuration.

![Trivago Travel Agency](https://www.linkpicture.com/q/Screenshot-95_1.png)

## Scripts

```bash
npm create vite@latest
#and
yarn install (install basic dependencies)
# and
yarn dev
# and
npm install -D tailwindcss postcss autoprefixer (add tailwind & postcss to the project)
# and
npx tailwindcss init -p (initiate tailwindcss & add tailwind postcss configuration to the project.)
```

## Build

Refactor the starter template in the project & add TailwindCSS template to the build.

Add the required fonts to the build & apply a layer to the base to set some ground rules on the page layout.

Create Navbar, Hero & Footer components. Create a data file to save the home-page template information. Extract the hero information to the hero section & populate the component.

Add custom screen layout in `tailwind.config.js` and adjust the image layout in the hero section.

Populate the hero section and the Navbar section. Minify the nav menus to the large screen resolution. Create a Popup component to expand the menu button in smaller screens.