import React from 'react';
import { useNavigate } from 'react-router-dom';
import {
Box,
Button,
ButtonProps,
Container,
Paper,
Typography,
Stack,
Card,
CardContent,
CardActions,
} from '@mui/material';
import { styled } from '@mui/material/styles';
import ArrowForwardIcon from '@mui/icons-material/ArrowForward';
import PersonSearchIcon from '@mui/icons-material/PersonSearch';
import WorkHistoryIcon from '@mui/icons-material/WorkHistory';
import QuestionAnswerIcon from '@mui/icons-material/QuestionAnswer';
import DescriptionIcon from '@mui/icons-material/Description';
import professionalConversationPng from './Conversation.png';
import { ComingSoon } from 'components/ui/ComingSoon';
// Placeholder for Testimonials component
const Testimonials = () => {
return (
Testimonials Component (Quotes, Success Stories)
);
};
// Styled components
const HeroSection = styled(Box)(({ theme }) => ({
padding: theme.spacing(8, 0),
backgroundColor: theme.palette.primary.main,
color: theme.palette.primary.contrastText,
[theme.breakpoints.down('md')]: {
padding: theme.spacing(6, 0),
},
}));
interface HeroButtonProps extends ButtonProps {
children?: string;
}
const HeroButton = (props: HeroButtonProps) => {
const { children, onClick, ...rest } = props;
const navigate = useNavigate();
const handleClick = () => {
const path = children?.replace(/ /g, '-').toLocaleLowerCase() || '/';
navigate(path);
};
const HeroStyledButton = styled(Button)(({ theme }) => ({
marginTop: theme.spacing(2),
padding: theme.spacing(1, 3),
fontWeight: 500,
backgroundColor: theme.palette.action.active,
color: theme.palette.background.paper,
'&:hover': {
backgroundColor: theme.palette.action.active,
opacity: 0.9,
},
}));
return
{children}
}
interface ActionButtonProps extends ButtonProps {
children?: string;
}
const ActionButton = (props: ActionButtonProps) => {
const { children, onClick, ...rest } = props;
const navigate = useNavigate();
const handleClick = () => {
const path = children?.replace(/ /g, '-').toLocaleLowerCase() || '/';
navigate(path);
};
return
}
const FeatureIcon = styled(Box)(({ theme }) => ({
backgroundColor: theme.palette.action.active,
color: theme.palette.background.paper,
borderRadius: '50%',
padding: theme.spacing(2),
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
marginBottom: theme.spacing(2),
width: 64,
height: 64,
}));
// Feature Card Component
const FeatureCard = ({
icon,
title,
description
}: {
icon: React.ReactNode;
title: string;
description: string;
}) => {
return (
{icon}
{title}
{description}
}>
Learn more
);
};
const HomePage = () => {
const testimonials = false;
return (
{/* Hero Section */}
Your complete professional story, beyond a single page
Let potential employers discover the depth of your experience through interactive Q&A and tailored resumes
Get Started as Candidate
Recruit Talent
{/* How It Works Section */}
How Backstory Works
For Job Seekers
Backstory helps you tell your complete professional story, highlight your achievements, and showcase your skills beyond what fits on a traditional resume.
1
Upload your complete work history, projects, and achievements
2
Configure your AI assistant to answer questions about your experience
3
Generate targeted resumes based on specific job descriptions
}
>
Create Your Profile
For Employers
Discover candidates with the perfect skills and experience for your positions by engaging in meaningful Q&A to learn more about their background.
1
Search the candidate pool based on skills, experience, and location
2
Ask personalized questions about candidates' experience and skills
3
Generate targeted resumes that match your job requirements
}
>
Start Recruiting
{/* Features Section */}
Key Features
}
title="AI-Powered Search"
description="Find the perfect candidates based on skills, experience, and fit for your specific requirements."
/>
}
title="Complete Backstory"
description="Share your full professional journey beyond the limitations of a traditional resume."
/>
}
title="Interactive Q&A"
description="Ask detailed questions about a candidate's experience and get immediate answers."
/>
}
title="Custom Resumes"
description="Generate tailored resumes optimized for specific job descriptions with one click."
/>
{/* Testimonials Section */}
{testimonials &&
Success Stories
See how Backstory has transformed the hiring process for both candidates and employers.
}
{/* CTA Section */}
Ready to transform your hiring process?
Join Backstory today and discover a better way to connect talent with opportunity.
Sign Up as Candidate
Sign Up as Employer
);
};
export {
HomePage
};