openTownieMadeThis1
This project is a recreation of the Disneyland Resort landing page, built as a full stack application using Val Town.
├── backend/
│ └── index.ts # Main API entry point using Hono
├── frontend/
│ ├── index.html # Main HTML template
│ ├── style.css # CSS styles
│ └── index.js # JavaScript for frontend functionality
├── shared/
│ └── utils.ts # Shared types and utility functions
└── README.md # This file
- Responsive design that mimics the Disneyland Resort website
- Interactive elements including:
- Date pickers for check-in and check-out
- Guest counters for adults and children
- Hotel selection dropdown
- Accessibility options
- "Find Hotels" button
- API endpoints for:
- Hotel data
- Special offers
- Hero section with promotional content
- Navigation menu and footer
- Backend: Hono.js on Deno (Val Town runtime)
- Frontend: HTML, CSS, and vanilla JavaScript
- Styling: Custom CSS with responsive design
- API: RESTful endpoints for data
- The main entry point is the backend/index.ts file
- The application serves the frontend/index.html file at the root URL
- Static assets are served from the /static route
- API endpoints are available at /api/hotels and /api/offers
To modify this project:
- Edit the HTML in frontend/index.html
- Update styles in frontend/style.css
- Modify JavaScript functionality in frontend/index.js
- Extend the API by adding new endpoints in backend/index.ts
This is a simplified recreation for demonstration purposes. In a production environment, you would want to:
- Add proper authentication
- Implement a real database for hotel and offer data
- Use a more robust date picker library
- Add form validation
- Implement actual booking functionality