NotFound.jsx
vibe_coding/src/pages/NotFound.jsx
import { Link } from 'react-router-dom';
import { useTranslation } from 'react-i18next';
export default function NotFound() {
const { t } = useTranslation();
return (
<section className="page-head" style={{ minHeight: '60vh' }}>
<span className="eyebrow">404</span>
<h1>{t('notFound.title')}</h1>
<p>{t('notFound.subtitle')}</p>
<div style={{ marginTop: 32 }}>
<Link to="/" className="btn">
{t('notFound.back')}
</Link>
</div>
</section>
);
}
Artigos relacionados
App.jsx
App.jsx — javascript source code from the vibe coding learning materials (vibe_coding/src/App.jsx).
Ler artigo →Footer.jsx
Footer.jsx — javascript source code from the vibe coding learning materials (vibe_coding/src/components/Footer.jsx).
Ler artigo →LanguageSwitcher.jsx
LanguageSwitcher.jsx — javascript source code from the vibe coding learning materials (vibe_coding/src/components/LanguageSwitcher.jsx).
Ler artigo →Navbar.jsx
Navbar.jsx — javascript source code from the vibe coding learning materials (vibe_coding/src/components/Navbar.jsx).
Ler artigo →ProjectCard.jsx
ProjectCard.jsx — javascript source code from the vibe coding learning materials (vibe_coding/src/components/ProjectCard.jsx).
Ler artigo →ScrollToTop.jsx
ScrollToTop.jsx — javascript source code from the vibe coding learning materials (vibe_coding/src/components/ScrollToTop.jsx).
Ler artigo →