An interactive Valentine's Day proposal web application built with Astro.js. This playful and romantic web app features an engaging "Will you be my Valentine?" question with interactive buttons, animations, and celebratory effects.
- 💖 Interactive "Yes/No" buttons with playful interactions
- 🎉 Celebratory confetti effects when accepted
- 🎵 Delightful sound effects (music box and confetti sounds)
- 💕 Floating heart animations and emojis
- 📱 Fully responsive design (optimized for mobile devices)
- 🎨 Beautiful gradient background with custom styling
- Astro.js - The web framework for content-driven websites
- Canvas Confetti - For celebratory effects
- TypeScript - For type-safe JavaScript
- CSS3 - For animations and responsive design
- Clone the repository
- Install dependencies:
npm install
- Run the development server:
npm run dev
- Open your browser and navigate to
http://localhost:4321
npm run dev
- Start the development servernpm run build
- Build the production sitenpm run preview
- Preview the production build locally
/
├── public/
│ └── favicon.svg
├── src/
│ ├── assets/
│ │ ├── astro.svg
│ │ ├── background.svg
│ │ ├── confetti.wav
│ │ ├── musicbox.wav
│ │ └── us.png
│ ├── components/
│ │ └── Welcome.astro
│ ├── layouts/
│ │ └── Layout.astro
│ └── pages/
│ └── index.astro
└── package.json
- Interactive Buttons: The "No" button playfully moves away when the user tries to click it
- Progressive Response: The "Yes" button changes its text and triggers celebration effects
- Animations: Includes floating hearts and emojis with varying animation patterns
- Sound Effects: Features both a music box melody and confetti sound effects
- Responsive Design: Optimized for various screen sizes, including specific adjustments for iPhone 14 Pro