import {
__experimentalHeading as Heading,
__experimentalSpacer as Spacer,
__experimentalText as Text,
Button,
Card,
CardBody,
CardDivider,
CardFooter,
CardHeader,
} from '@wordpress/components';
import { __ } from '@wordpress/i18n';
import ReactMarkdown from 'react-markdown';
import remarkGfm from 'remark-gfm';
import section1 from '../content/home/section1.md';
import section2 from '../content/home/section2.md';
import { useContext } from "react";
import { PagePropsContext } from '../hooks/usePagePropsContext';
import { NotificationsContext } from "../hooks/useNotificationsContext";
import { ClosableNotice } from "../components/ClosableNotice";
export const Home = ({ handleTabChange }) => {
const { user } = useContext(PagePropsContext);
const { notifications, addNotification } = useContext(NotificationsContext);
return (
<>
{__('Welcome to CodeWP, ' + user.name, 'ai-for-wp')}
{__('Ready to get started?', 'ai-for-wp')}
>
);
};