Skip to content

prakashcodex/startup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌌 Mission Billionaire Premium Netlify Landing Page

Welcome to the production-ready, ready-to-deploy Mission Billionaire repository! This is an ultra-premium, high-converting, mobile-first dark-themed landing page designed to attract and enroll ambitious student founders, freelancers, creators, and entrepreneurs into an elite accountability ecosystem.


🛠️ Technology Stack & Visuals

  • Frontend Core: Semantic HTML5, CSS Grid/Flexbox layouts.
  • Styling: Tailwind CSS Loaded via Play CDN with a highly tailored custom configuration for custom colors (#030712, #06b6d4, #8b5cf6, #10b981), glassmorphism effects, custom loading screens, and neon accent filters.
  • Micro-Animations: Custom CSS glow animations, dynamic SVG indicator rotates, and numerical counters.
  • Form Submissions: AJAX submission powered by Netlify Forms.
  • Security & APIs: Secure distribution of community access links and gift download paths via a serverless Netlify Function (netlify/functions/get-links.js).
  • Interactive Dashboards: Client-side referral management system backed by LocalStorage, featuring an interactive Sandbox Simulator Button for immediate local review.
  • Success Burst: Premium canvas-confetti blast triggers upon successful application submissions.

📂 Directory Structure

CODEXDIGITALACADEMY/
├── netlify.toml                # Netlify deployment and redirection configuration
├── index.html                  # Main premium landing page (SPA-like dynamic views)
├── README.md                   # Detailed setup, customization, and Netlify deployment instructions
├── netlify/
│   └── functions/
│       └── get-links.js        # Netlify Function to securely fetch community & gift URLs

🚀 Key Interactive Systems

1. Zero-Friction AJAX Submissions & SPA Transition

Instead of redirecting users away to a generic success page (which breaks flow and significantly drops referral engagement), the form uses fetch to POST to / using application/x-www-form-urlencoded. Upon positive response:

  • Fades out the input elements.
  • Smoothly fades in the Success & Referral Dashboard Container.
  • Triggers a beautiful custom confetti shower.

2. Secure Link Distribution via Netlify Functions

Invites and download links are hidden behind serverless environment variables so scrapers cannot scrape them directly from public frontend HTML:

  • The page fetches data from /api/get-links.
  • Netlify Functions securely fetch variables COMMUNITY_LINK and GIFT_LINK on the server and return them to the client.
  • Safe Fallbacks: If environment variables are empty or not configured, the function gracefully returns ready-to-use premium invite fallbacks, ensuring everything runs perfectly out-of-the-box.

3. Ambassador Referral System Dashboard

  • Unique Generator: Registers client credentials and computes a unique ID e.g. MISSION-ROHAN512 dynamically on submission.
  • Clipboard Utility: Incorporates a one-click copy button, parsing window.location.origin for the referral parameter (?ref=MISSION-ROHAN512).
  • Pipeline Unlocks: Rewards are systematically locked and automatically unlock (visualized by a dynamic neon progress bar and status switches) at 5, 10, 15, and 20 referrals.
  • Simulator Sandbox: A special testing panel allowing administrators and users to click +1 Simulated Referral to immediately preview progress bar updates, unlocked statuses, and celebratory micro-confetti triggers.

💾 Local Development Setup

Since this is a lightweight serverless-ready static site, you can view the landing page directly by spinning up a local server.

  1. Option A: Live Server (VS Code / Standard Static Host)

    • Simply open index.html via your local web browser, or run a basic static file server (e.g., Python: python -m http.server 8000 or Node's http-server).
    • Note: Locally, serverless functions are not available directly unless you use Option B. The page will gracefully fall back to default premium WhatsApp & Google Drive download links.
  2. Option B: Netlify CLI (Recommended for full local simulation)

    • Install Netlify CLI globally:
      npm install -g netlify-cli
    • Start the local development server with full serverless function proxies:
      netlify dev
    • Access the live proxy on http://localhost:8888. All serverless redirects (/api/get-links) will operate perfectly!

☁️ Netlify Production Deployment (Step-by-Step)

Deploy this project to production in under 2 minutes:

Step 1: Push Code to Git

Initialize a repository and push this project directory to GitHub, GitLab, or Bitbucket.

git init
git add .
git commit -m "feat: initial commit of Mission Billionaire landing page"
# Push to your remote repo...

Step 2: Create a Netlify Site

  1. Log in to your Netlify Dashboard.
  2. Click Add new site -> Import an existing project.
  3. Select your Git provider and choose this repository.
  4. Leave build settings default:
    • Build Command: Leave blank
    • Publish directory: .
    • Functions directory: netlify/functions (Netlify auto-detects this via netlify.toml).
  5. Click Deploy Site.

Step 3: Add Secure Environment Variables

To override default fallback URLs with your actual community group link and Monk Mode handbook file:

  1. Navigate to Site configuration -> Environment variables in Netlify.
  2. Click Add a variable and create:
    • COMMUNITY_LINK: Your actual WhatsApp group, Discord, or Telegram invitation link (e.g., https://chat.whatsapp.com/your-actual-invite-code).
    • GIFT_LINK: Your cloud file download URL (e.g., https://drive.google.com/file/d/your-actual-monk-mode-id/view).
  3. Trigger a redeploy or save, and your live forms will securely fetch these production values!

Step 4: Access Form Submissions

  • Your applications are captured automatically! Go to the Forms tab in your Netlify site dashboard to view, export (CSV), and process all submissions from incoming applicants.

🎨 Future Visual & Content Customization

  • Styling Config: Search for tailwind.config in <head> inside index.html to adjust the custom typography font-families or swap colors like #030712 (base obsidian background) or #06b6d4 (neon cyan accents) to match your custom branding rules.
  • Monk Mode Duration: Search for mb_countdown_expiry in the JavaScript script block inside index.html. The countdown is set to a rolling, high-converting 24-hour cycle per user browser session, but can be updated to a fixed date-time easily.
  • SVG Vector Assets: All inline SVG icons are embedded directly inside the markup to maintain ultra-fast page speeds, avoiding extra HTTP request delays and eliminating cumulative layout shifts (CLS). Feel free to customize or replace SVG paths within benefits cards or pillars.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors