Let me create a responsive booking system for Oslob Whale Shark tours with a clean, ocean-themed design.
This Oslob Whale Shark Booking System includes:
Interactive Booking Form with:
Fill out the booking form with your details:
You can install this code in your Next.js project by clicking the "Add to codebase" button in the Block view. The system uses Tailwind CSS for styling and shadcn/ui components for the UI elements.
To run this code on your PC, you'll need to set up a Next.js project. Here's a step-by-step guide:
Create a new Next.js project: Open your terminal/command prompt and run:
npx create-next-app@latest oslob-booking
When prompted, select these options:
src/
directory? → NoNavigate to your project folder:
cd oslob-booking
Install required dependencies:
npm install date-fns clsx tailwind-merge lucide-react
Install shadcn/ui components:
npx shadcn@latest init
When prompted, select these options:
Install the required shadcn/ui components:
npx shadcn@latest add button input label select popover calendar card
Copy the code files:
Start the development server:
npm run dev
http://localhost:3000
Make sure your project structure looks like this:
oslob-booking/
├── app/
│ ├── globals.css
│ ├── layout.tsx
│ └── page.tsx
├── components/
│ ├── about-section.tsx
│ ├── booking-form.tsx
│ ├── booking-summary.tsx
│ ├── footer.tsx
│ ├── hero.tsx
│ ├── pricing-section.tsx
│ └── ui/
│ └── (shadcn components will be here)
├── lib/
│ └── utils.ts
├── tailwind.config.js
└── (other config files)
If you encounter any issues:
This setup will give you a fully functional Oslob Whale Shark booking system running locally on your PC. You can then modify it as needed for your specific requirements.