mirror of
https://github.com/r-freeman/portfolio.git
synced 2024-11-22 19:05:41 +00:00
Added InlineLink component and updated homepage
This commit is contained in:
parent
90edf48a7d
commit
1436145603
10
src/components/InlineLink.tsx
Normal file
10
src/components/InlineLink.tsx
Normal file
@ -0,0 +1,10 @@
|
||||
import {ReactNode} from 'react'
|
||||
import Link from 'next/link'
|
||||
|
||||
export function InlineLink({href, children}: { href: string, children: ReactNode }) {
|
||||
return (
|
||||
<Link href={href} className="transition hover:text-indigo-500 dark:hover:text-indigo-400">
|
||||
{children}
|
||||
</Link>
|
||||
)
|
||||
}
|
@ -11,6 +11,7 @@ import {
|
||||
LinkedInIcon,
|
||||
TwitterIcon
|
||||
} from '@/components/SocialIcons'
|
||||
import {InlineLink} from '@/components/InlineLink';
|
||||
import {formatDate} from '@/lib/formatDate'
|
||||
import {generateRssFeed} from '@/lib/generateRssFeed'
|
||||
import {generateSitemap} from '@/lib/generateSitemap'
|
||||
@ -229,9 +230,10 @@ export default function Home({articles}: { articles: Article[] }) {
|
||||
</h1>
|
||||
<p className="mt-6 text-base text-zinc-600 dark:text-zinc-400">
|
||||
Hi. I'm Ryan, a software engineer based in Dublin, Ireland. I'm currently working in the
|
||||
aviation industry for Aer Lingus. I am passionate about personal growth and progressing in my career.
|
||||
This is my personal website where you can learn more about me, read
|
||||
articles I've written and see projects I've worked on.
|
||||
aviation industry for Aer Lingus. I am passionate about personal growth and progressing in my career. This
|
||||
is my personal website where you can <InlineLink href="/about">learn more about
|
||||
me</InlineLink>, <InlineLink href="/writing">read articles I've written</InlineLink> and <InlineLink
|
||||
href="/projects">see projects I've worked on</InlineLink>.
|
||||
</p>
|
||||
<div className="mt-6 flex gap-6">
|
||||
<SocialLink
|
||||
|
Loading…
Reference in New Issue
Block a user