27 lines
709 B
TypeScript
27 lines
709 B
TypeScript
import {Link} from "../router/Link";
|
|
import {ROUTES} from "../router/Route";
|
|
import ResumePdf from "../img/resume.pdf";
|
|
import {motion} from "motion/react";
|
|
import {Path} from "../router/router";
|
|
|
|
export function Links() {
|
|
|
|
return <div className="links">
|
|
<Link href="/" className="name">
|
|
<motion.h1>Tymur Arsentiev</motion.h1>
|
|
</Link>
|
|
{
|
|
ROUTES.map(([path, name]) =>
|
|
<Link key={path} href={path}>
|
|
<h3>{name}</h3>
|
|
</Link>
|
|
)
|
|
}
|
|
<Link key={ResumePdf} href={ResumePdf} target="_blank">
|
|
<h3>Resume</h3>
|
|
</Link>
|
|
<Link key="Github" href={"https://github.com/tymur999" as Path} target="_blank">
|
|
<h3>GitHub</h3>
|
|
</Link>
|
|
</div>
|
|
} |