move components from /app
This commit is contained in:
parent
92300596f5
commit
1d1ee41552
@ -1,6 +1,6 @@
|
||||
import { About } from './components/about';
|
||||
import { Person } from './components/person';
|
||||
import { Work } from './components/work';
|
||||
import { About } from '@/components/about';
|
||||
import { Person } from '@/components/person';
|
||||
import { Work } from '@/components/work';
|
||||
|
||||
export default function HomePage() {
|
||||
return (
|
||||
|
||||
17
components/skills.tsx
Normal file
17
components/skills.tsx
Normal 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>
|
||||
);
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user