import React, { useEffect } from 'react';
import { HomeOutlined } from '@ant-design/icons';
import { Result, Button } from 'antd';
import { Link } from 'gatsby';
import SEO from '../components/Seo';
const NotFoundPage: React.FC = () => {
useEffect(() => {
if (window.location.pathname.startsWith('/404')) {
return;
}
const { gtag } = window;
gtag?.('event', 'report', {
event_category: '404',
event_label: window.location.href,
});
}, []);
return (
<>
}>
Back Home
}
/>
>
);
};
export default NotFoundPage;