diff --git a/.build.hash b/.build.hash index f2dad3a..ec7a2d8 100644 --- a/.build.hash +++ b/.build.hash @@ -1 +1 @@ -506c4d11372627a92e39ee44d85a809d000a0840-006fe5ea7fd8cb46290bcd0cf210f88f2ec04061-e9eccd451b778829eb2f2c9752c670b707e1268b +ec484f55e8a48bee6d0e6223d06b815335ea5e74-006fe5ea7fd8cb46290bcd0cf210f88f2ec04061-e9eccd451b778829eb2f2c9752c670b707e1268b diff --git a/nginx.conf b/nginx.conf index e961e7b..9ee05a9 100644 --- a/nginx.conf +++ b/nginx.conf @@ -89,9 +89,9 @@ http { root /usr/share/nginx/html; index index.html; - # Redirect only the bare root to /signin (avoid booting shell at '/') + # Redirect bare root to public home page location = / { - return 302 /signin$is_args$args; + return 302 /home$is_args$args; } location / { # First try the exact file, then directory with index.html, then directory/, then fallback diff --git a/src/App.js b/src/App.js index f236c21..8d7c7b7 100644 --- a/src/App.js +++ b/src/App.js @@ -50,6 +50,7 @@ import Verify from './components/Verify.js'; import { initNetObserver } from './utils/net.js'; import PrivacyPolicy from './components/PrivacyPolicy.js'; import TermsOfService from './components/TermsOfService.js'; +import HomePage from './components/HomePage.js'; @@ -229,7 +230,8 @@ if (loggingOut) return; location.pathname === '/signup' || location.pathname === '/forgot-password' || location.pathname === '/privacy' || - location.pathname === '/terms' + location.pathname === '/terms' || + location.pathname === '/home' ) { try { localStorage.removeItem('id'); } catch {} setIsAuthenticated(false); @@ -257,7 +259,7 @@ if (loggingOut) return; clearToken(); setIsAuthenticated(false); setUser(null); - // Only kick to /signin if you’re not already on a public page + // Only kick to /signin if you're not already on a public page const p = location.pathname; const onPublic = p === '/signin' || @@ -266,7 +268,8 @@ if (loggingOut) return; p.startsWith('/reset-password') || p === '/paywall' || p === '/privacy' || - p === '/terms'; + p === '/terms' || + p === '/home'; if (!onPublic) navigate('/signin?session=expired', { replace: true }); } finally { if (!cancelled) setIsLoading(false); @@ -804,10 +807,13 @@ const cancelLogout = () => { {/* MAIN CONTENT */}
+ {/* Public Home Page */} + } /> + {/* Default */} } + element={} /> } /> diff --git a/src/components/HomePage.js b/src/components/HomePage.js new file mode 100644 index 0000000..34be35c --- /dev/null +++ b/src/components/HomePage.js @@ -0,0 +1,647 @@ +import React from 'react'; +import { useNavigate } from 'react-router-dom'; +import { Button } from './ui/button.js'; +import { cn } from '../utils/cn.js'; + +export default function HomePage() { + const navigate = useNavigate(); + + return ( +
+ {/* Hero Section */} +
+
+

+ Plan Your Career with{' '} + Confidence +

+

+ Evidence-based career guidance powered by official U.S. government data. + Discover careers, plan your education, chart your roadmap, and prepare for + retirement—all in one platform. +

+
+ + +
+

+ Free forever · No credit card required · Full access to career planning tools +

+
+
+ + {/* Trust Indicators - Comprehensive Data Sources */} +
+
+

+ Built on Official U.S. Government Data—Not Guesswork +

+
+
+
Bureau of Labor Statistics (BLS)
+

Complete SOC career database—the federal standard for career classification. Regional & national salary data across all percentiles (10/25/50/75/90).

+
+
+
O*NET Database
+

Occupational Information Network from U.S. Department of Labor. Validated RIASEC interest assessments, detailed job descriptions, tasks, and skills requirements.

+
+
+
IPEDS Education Data
+

Integrated Postsecondary Education Data System. Complete CIP code listings, tuition costs (in-state/out-of-state), and program credentials nationwide.

+
+
+
State Labor Market Agencies
+

Economic projections by state and nationally. Employment growth forecasts, base year vs. projected job counts, and annual openings estimates.

+
+
+
Classification Systems
+

Standard Occupational Classification (SOC) codes and Classification of Instructional Programs (CIP) codes—linking careers to educational pathways.

+
+
+
Google Maps Geolocation
+

Distance calculations to schools, driving times, and regional cost-of-living context for career and education planning.

+
+
+

+ AptivaAI uses the same authoritative data sources that career counselors, government agencies, and educational institutions rely on—delivered in an integrated, easy-to-use platform. +

+
+
+ + {/* Four Pillars Section */} +
+
+
+

+ Your Complete Career Journey +

+

+ From discovery to retirement, AptivaAI guides you through every stage + of your professional life. +

+
+ +
+ {/* Planning */} +
+
+
+ + + +
+
+

+ 1. Planning Your Career +

+

+ Discover careers that match your interests with our science-backed + 60-question Interest Inventory based on the RIASEC model. +

+
    +
  • + + + + Complete career database - every professional career tracked by the U.S. government +
  • +
  • + + + + Regional and national salary data from Bureau of Labor Statistics +
  • +
  • + + + + Compare careers across 6 dimensions: interests, meaning, stability, growth, balance, recognition +
  • +
+
+
+
+ + {/* Preparing */} +
+
+
+ + + +
+
+

+ 2. Preparing & Upskilling +

+

+ Find the right educational path with comprehensive school and program data + from the Integrated Postsecondary Education Data System. +

+
    +
  • + + + + Search educational programs by career or CIP code +
  • +
  • + + + + Real tuition costs and distance calculations to schools +
  • +
  • + + + + Education loan repayment calculator +
  • +
+
+
+
+ + {/* Enhancing */} +
+
+
+ + + +
+
+
+

+ 3. Enhancing Your Career +

+ + PREMIUM + +
+

+ Chart your career trajectory with AI-powered guidance and financial + projections that show the impact of every decision. +

+
    +
  • + + + + AI Career Coach powered by GPT-4o for personalized milestone recommendations +
  • +
  • + + + + 20+ year financial projections modeling salary, expenses, savings, and debt +
  • +
  • + + + + Resume optimizer tailored to specific job descriptions (2-5/week) +
  • +
+
+
+
+ + {/* Retirement */} +
+
+
+ + + +
+
+
+

+ 4. Retirement Planning +

+ + PREMIUM + +
+

+ Model different retirement scenarios and see which strategies get you + to your goals. Currently in beta. +

+
    +
  • + + + + Compare up to 2 retirement scenarios side-by-side +
  • +
  • + + + + Model contribution strategies, loan payoffs, and savings growth +
  • +
  • + + + + AI Retirement Advisor for strategy suggestions +
  • +
+
+
+
+
+
+
+ + {/* Why AptivaAI - Competitive Advantages */} +
+
+
+

+ Why Choose AptivaAI? +

+

+ We combine the best of government data, financial modeling, and AI + to give you career guidance you can trust. +

+
+ +
+
+
+ + + +
+

Evidence-Based

+

+ Built on validated RIASEC career assessment and official federal data—not + guesswork or algorithms trained on biased samples. +

+
+ +
+
+ + + +
+

Integrated

+

+ Career discovery, education planning, financial projections, and AI coaching + in one seamless platform—no more juggling multiple tools. +

+
+ +
+
+ + + +
+

Affordable

+

+ Premium features start at just $4.99/month—less than a coffee per week. + Free tier includes comprehensive career exploration tools. +

+
+
+
+
+ + {/* Pricing Preview */} +
+
+
+

+ Simple, Transparent Pricing +

+

+ Start free, upgrade when you need advanced planning tools +

+
+ +
+ {/* Free */} +
+

Free

+
+ $0 + /forever +
+
    +
  • + + + + Interest Inventory assessment +
  • +
  • + + + + 800+ career profiles with salary data +
  • +
  • + + + + Career comparison tool +
  • +
  • + + + + Educational programs search +
  • +
  • + + + + Loan repayment calculator +
  • +
  • + + + + Basic support chatbot +
  • +
+ +
+ + {/* Premium */} +
+
+ + RECOMMENDED + +
+

Premium

+
+ $24 + /month +

or $240/year (save 17%)

+
+

Everything in Free, plus:

+
    +
  • + + + + AI Career Coach powered by GPT-4o +
  • +
  • + + + + Career Roadmap with milestone tracking +
  • +
  • + + + + 20+ year financial projections +
  • +
  • + + + + Multiple career scenarios & comparisons +
  • +
  • + + + + Retirement planner (beta) +
  • +
  • + + + + AI Resume optimizer (2 per week) +
  • +
  • + + + + Career & college profile management +
  • +
+ +
+
+
+
+ + {/* How It Works */} +
+
+
+

+ How AptivaAI Works +

+

+ Get started in minutes with our simple, guided process +

+
+ +
+
+
+ 1 +
+
+

Take the Interest Inventory

+

+ Complete our 60-question assessment based on the proven RIASEC career model. + Takes about 10-15 minutes and provides scientifically-backed career matches. +

+
+
+ +
+
+ 2 +
+
+

Explore Career Options

+

+ Review personalized career suggestions with real salary data, job outlook, + and educational requirements. Compare careers side-by-side to find your best fit. +

+
+
+ +
+
+ 3 +
+
+

Plan Your Education

+

+ Find schools and programs that match your target career. See real tuition costs, + distances, and calculate student loan repayment scenarios. +

+
+
+ +
+
+ 4 +
+
+

+ Chart Your Roadmap (Premium) +

+

+ Create a detailed career roadmap with milestones, financial projections, and + AI-powered guidance. See exactly how each decision impacts your financial future. +

+
+
+
+
+
+ + + {/* FAQ Section */} +
+
+
+

+ Frequently Asked Questions +

+
+ +
+
+

+ How is AptivaAI different from free career sites like O*NET? +

+

+ While O*NET provides excellent career data, AptivaAI integrates that data with + financial planning, education search, AI coaching, and personalized roadmaps. + We turn raw career information into actionable plans with real financial projections. +

+
+ +
+

+ Is the financial advice accurate? +

+

+ Our projections model YOUR specific situation based on assumptions you control. + Salary data comes directly from the Bureau of Labor Statistics. However, projections + are educational tools, not guarantees. We're not registered investment advisors— + consult a financial professional for personalized advice. +

+
+ +
+

+ What's included in the free tier? +

+

+ You get full access to the Interest Inventory, Career Explorer with 800+ careers, + salary data, career comparison tools, educational program search, and loan + repayment calculator. That's enough to make informed career and education decisions. +

+
+ +
+

+ Can I cancel my Premium subscription anytime? +

+

+ Yes! Cancel anytime through your account settings with no penalties. Your + subscription remains active until the end of your billing period. +

+
+ +
+

+ Does AptivaAI help me find jobs or apply? +

+

+ No, we focus on career planning and financial modeling, not job search or + applications. Think of us as your career strategy tool—complementary to + job boards like LinkedIn or Indeed. +

+
+ +
+

+ How does the AI Career Coach work? +

+

+ Our AI Coach uses GPT-4o and has context about your career profile, financial + situation, and goals. It provides personalized milestone recommendations, answers + career planning questions, and helps you think through major decisions. Premium feature. +

+
+
+
+
+ + {/* Final CTA */} +
+
+

+ Ready to Take Control of Your Career? +

+

+ Create your free account in minutes. Start with career discovery tools, + then upgrade to Premium ($24/month) when you're ready for AI coaching + and financial planning. +

+
+ + +
+

+ No credit card required · Upgrade anytime +

+
+
+
+ ); +}