Professional hotel linen services in Morocco. Quality bedding, towels, and hospitality textiles for hotels and resorts.
Visit the live site: https://ayman.github.io/hotel-linen-casa-express
This project is built with:
- Vite - Fast build tool and dev server
- TypeScript - Type-safe JavaScript
- React 18 - Modern React with hooks
- shadcn/ui - Beautiful, accessible UI components
- Tailwind CSS - Utility-first CSS framework
- React Router - Client-side routing
- Node.js 18+ and npm
# Clone the repository
git clone https://github.com/ayman/hotel-linen-casa-express.git
cd hotel-linen-casa-express
# Install dependencies
npm install
# Start development server
npm run devThe app will be available at http://localhost:8080
npm run buildThe built files will be in the dist/ directory.
This project is configured for automatic deployment to GitHub Pages.
- Push to main branch: The GitHub Actions workflow will automatically build and deploy your site
- Check Actions tab: Go to your repo's Actions tab to monitor deployment progress
- Wait for deployment: It may take a few minutes for changes to appear
If you need to deploy manually:
npm run deployThis will build the project and push it to the gh-pages branch.
The project is configured with:
- Base path:
/hotel-linen-casa-express/(matches your repo name) - Build output:
dist/directory - GitHub Actions: Automatic build and deploy on push to main
src/
├── components/ # Reusable UI components
│ ├── ui/ # shadcn/ui components
│ ├── Header.tsx # Site header
│ ├── Hero.tsx # Hero section
│ ├── Services.tsx # Services showcase
│ └── ...
├── pages/ # Page components
├── hooks/ # Custom React hooks
├── lib/ # Utility functions
└── assets/ # Images and static assets
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLintnpm run deploy- Deploy to GitHub Pages
- Modify
tailwind.config.tsfor Tailwind CSS configuration - Update
src/index.cssfor global styles - Component-specific styles are co-located with components
- Update component content in
src/components/ - Modify page content in
src/pages/ - Update meta information in
index.html
- Check that the base path in
vite.config.tsmatches your repository name - Ensure GitHub Pages is enabled in your repository settings
- Verify the deployment branch is set to
gh-pages - Check the Actions tab for build errors
- Ensure all dependencies are installed:
npm install - Check for TypeScript errors:
npm run lint - Verify Node.js version compatibility
This project is open source and available under the MIT License.