move components from /app

This commit is contained in:
vchikalkin 2024-12-08 20:12:52 +03:00
parent 92300596f5
commit 1d1ee41552
5 changed files with 20 additions and 3 deletions

View File

@ -1,6 +1,6 @@
import { About } from './components/about'; import { About } from '@/components/about';
import { Person } from './components/person'; import { Person } from '@/components/person';
import { Work } from './components/work'; import { Work } from '@/components/work';
export default function HomePage() { export default function HomePage() {
return ( return (

17
components/skills.tsx Normal file
View File

@ -0,0 +1,17 @@
import { useTranslations } from 'next-intl';
export function About() {
const t = useTranslations('Skills');
return (
<section id="skills">
<div className="flex min-h-0 flex-col gap-y-3">
<h2 className="text-xl font-bold">Skills</h2>
<div className="flex flex-wrap gap-1">
{DATA.skills.map((skill, id) => (
<Badge key={skill}>{skill}</Badge>
))}
</div>
</div>
</section>
);
}