dev1/src/components/GettingStarted.js

51 lines
1.9 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import React from 'react';
import { useNavigate } from 'react-router-dom';
import './GettingStarted.css';
function GettingStarted() {
const navigate = useNavigate();
const handleStartInventory = () => {
navigate('/interest-inventory'); // Navigate to InterestInventory when the user clicks "Start Inventory"
};
return (
<div className="getting-started-container">
<h1>Welcome to AptivaAI</h1>
<p>Lets start by getting to know you better. Completing the steps below will help us tailor career recommendations based on your interests.</p>
<div className="steps">
<div className="step">
<span className="step-icon">📄</span>
<div>
<h2>Step 1: Set Up Your Profile</h2>
<p>Add details like your skills, education, and experience to further personalize your recommendations.</p>
<button className="button-link" onClick={() => navigate('/profile')}>Go to Profile</button>
</div>
</div>
<div className="step">
<span className="step-icon">🎯</span>
<div>
<h2>Step 2: Complete the O*Net Interest Inventory</h2>
<p>Discover your career interests by taking the O*Net inventory. This will help us suggest personalized career paths for you.</p>
{/* Start Inventory button */}
<button className="button-link" onClick={handleStartInventory}>Start Inventory</button>
</div>
</div>
</div>
<div className="premium-access">
<h3>Already know your path?</h3>
<p>You can skip ahead and begin planning your milestones now.</p>
<button className="premium-button" onClick={() => navigate('/milestone-tracker')}>
Access Milestone Tracker <span className="premium-label">(Premium)</span>
</button>
</div>
</div>
);
}
export default GettingStarted;