Skip to content

Latest commit

 

History

History
130 lines (108 loc) · 4.49 KB

File metadata and controls

130 lines (108 loc) · 4.49 KB

Pregnancy Status GitHub Page - Project Plan

Project Overview

Create a simple GitHub Pages website to display the current pregnancy status, eliminating the need for friends and family to call for updates. The page will feature a progress bar with 4 status levels and a cute baby boy theme.

Technical Infrastructure

Hosting & Deployment

  • Platform: GitHub Pages (free, simple, reliable)
  • Repository: Create a new public repository (e.g., pregnancy-status)
  • Domain: Will be accessible at https://yourusername.github.io/pregnancy-status/
  • Deployment: Automatic deployment from main branch (no GitHub Actions needed for basic setup)

Technology Stack

  • Frontend: Pure HTML, CSS, and JavaScript (no frameworks needed for simplicity)
  • Styling: CSS3 with custom baby boy theme
  • Updates: Edit a single JSON file or HTML content to change status

UI Design & Features

Status Progress Bar

  1. Nothing new (Step 1/4) - Default state
  2. In Labor (Step 2/4) - Yellow/orange indicator
  3. In the delivery room (Step 3/4) - Blue indicator
  4. Gave birth (Step 4/4) - Green/celebration indicator

Visual Design

  • Theme: Baby boy colors (soft blues, whites, light pastels)
  • Background: Subtle baby-themed patterns (clouds, stars, or baby items)
  • Typography: Clean, readable fonts
  • Icons: Baby-related icons for each status
  • Mobile-friendly: Responsive design for phone viewing

File Structure

pregnancy-status/
├── index.html          # Main page
├── styles.css          # Styling and baby theme
├── script.js           # Status management logic
├── status.json         # Current status data (easy to edit)
└── assets/             # Images and icons
    ├── baby-bg.png     # Background image
    └── icons/          # Status icons

Implementation Plan

Phase 1: Basic Setup (30 minutes)

  1. Create GitHub repository
  2. Set up basic HTML structure
  3. Implement progress bar CSS
  4. Add baby boy color scheme

Phase 2: Core Functionality (30 minutes)

  1. Create status management system
  2. Add JavaScript for dynamic updates
  3. Implement responsive design
  4. Add baby-themed styling

Phase 3: Easy Update System (15 minutes)

  1. Create status.json file for easy status changes
  2. Document how to update status
  3. Test deployment workflow

How to Update Status

Method 1: Edit JSON file (Recommended)

  1. Go to repository on GitHub
  2. Edit status.json file
  3. Change currentStatus value (1-4)
  4. Commit changes
  5. Page updates automatically in ~1-2 minutes

Method 2: GitHub Web Interface

  1. Navigate to repository
  2. Click pencil icon on status.json
  3. Update status number
  4. Write commit message
  5. Commit directly to main branch

Status Configuration

{
  "currentStatus": 1,
  "lastUpdated": "2025-08-19T10:30:00Z",
  "statuses": {
    "1": "Nothing new - All is well! 😊",
    "2": "In Labor - It's starting! 🤱",
    "3": "In the delivery room - Almost there! 👶",
    "4": "Gave birth - Welcome to the world! 🎉"
  }
}

Additional Features (Optional)

  • Last updated timestamp
  • Estimated due date countdown
  • Simple message field for additional notes
  • Confetti animation when status reaches "Gave birth"
  • Automatic social media sharing button

Deployment Steps

  1. Create GitHub repository named pregnancy-status
  2. Upload all files to repository
  3. Go to repository Settings → Pages
  4. Set source to "Deploy from a branch"
  5. Select "main" branch and "/ (root)" folder
  6. Save settings
  7. Site will be available at https://yourusername.github.io/pregnancy-status/

Maintenance

  • Status updates: Edit status.json file via GitHub web interface
  • Content changes: Edit HTML file for text modifications
  • Design updates: Modify CSS file for visual changes
  • No server maintenance required - GitHub Pages handles hosting

Benefits

  • Zero cost - Completely free hosting
  • Always available - GitHub's reliable infrastructure
  • Easy updates - No technical knowledge needed after setup
  • Mobile friendly - Works on all devices
  • Shareable - Single URL to share with everyone
  • No phone calls - Friends/family can check anytime

Timeline

  • Setup: 1 hour total development time
  • Go live: Immediate after pushing to GitHub
  • Updates: 30 seconds to change status

This plan provides a simple, elegant solution that requires minimal technical knowledge to maintain while providing a beautiful, functional status page for family and friends.