Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

153 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Valentine's Day Quiz 2026 ❀️

A white-label, interactive Valentine's Day quiz that generates a personalized love letter based on the recipient's answers. Built with React, Vite, and Tailwind CSS.

Fork it, customize it, deploy to your own Github Pages β€” send it to your loved one!!!

Русский | δΈ­ζ–‡

πŸš€ The "One-Shot Nerd" Setup (Fastest & Coolest)

Use AI to build it for you! Less then 15 minutes to receive a personalized Valentine's Day quiz website on Github Pages!

1. Clone & Install

git clone https://github.com/<your-username>/valentine-2026.git
cd valentine-2026
bun install

2. Summon Your Agent πŸ€–

Tell your AI Agent (like Claude, Cursor or OpenCode):

Ask me 5=10 questions about my partner (names, favorite memories, inside jokes) to customize the Valentine's Day quiz. Wait for my answers, then regenerate the files in config/ with personalized content and run the local dev server.

3. Run Locally

# Start development server
bun run dev

Manual Setup Guide

If you prefer to edit files manually or edit directly on GitHub.

1. Fork & Setup

  1. Fork this repository to your own GitHub account.
  2. (Optional) Edit directly on GitHub: You can edit the config/ files directly in your browser (even on mobile!) without installing anything. This is the easiest way!

2. Personalize

Customize the quiz to fit your relationship. Edit the files in the config/ directory:

  • config/config.ts: Update names (senderName, recipientName), UI text, and messages.
  • config/content.ts: Modify quiz questions, answers, and the love letter segments generated based on their choices.
  • Swap Videos: Add your own videos to public/videos/ and update the references in content.ts.

3. Add Email Notifications (Optional)

Receive the quiz results and the generated love letter directly to your inbox using EmailJS.

  1. Follow the EmailJS Setup Guide to get your Service ID, Template ID, and Public Key.
  2. Create a .env file locally for testing:
    EMAILJS_SERVICE_ID=your_service_id
    EMAILJS_TEMPLATE_ID=your_template_id
    EMAILJS_PUBLIC_KEY=your_public_key
  3. For production, add these as Secrets in your GitHub Repository Settings (Settings > Secrets and variables > Actions).

4. Deploy to GitHub Pages

  1. Go to your repository Settings > Pages.
  2. Under Source, select GitHub Actions.
  3. Push your changes directly to YOUR master branch :)
  4. Wait for the Action to complete. Your unique Valentine's URL will be: https://<your-username>.github.io/valentine-2026/

Features

  • Interactive Quiz: 7 thoughtfully designed questions with multiple question types (Multiple choice, Heart rating, Yes/No, Emoji reaction).
  • Personalized Love Letter: Answers are automatically assembled into a unique love letter.
  • Beautiful Design: 7 unique visual themes with gradient backgrounds and animations.
  • Confetti Celebrations: Animated confetti bursts at key moments.
  • Responsive: Works seamlessly on mobile, tablet, and desktop.
  • Email Integration: Answers sent via EmailJS (optional).

Local Development

# Start development server
bun run dev

# Build for production
bun run build

# Run tests
bun run test

Project Structure

config/
β”œβ”€β”€ config.ts              # White-label configuration (names, text)
└── content.ts             # Questions, answers, letter segments
src/
β”œβ”€β”€ components/            # React components
β”œβ”€β”€ styles/                # Tailwind variants
└── utils/                 # EmailJS, confetti logic
public/                    # Static assets (videos)
email-templates/           # Email templates & setup guides

Technology Stack

  • Runtime: Bun
  • Framework: React 19
  • Build: Vite
  • Styling: Tailwind CSS v4
  • Testing: Vitest

Questions?

For setup issues or customization help, refer to:

About

πŸ’• An interactive Valentine's Day quiz that generates a personalized love letter. Built with React, TypeScript, and Tailwind CSS, featuring 7 romantic questions, beautiful animations, and a playful "runaway button" finale.

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages