diff --git a/src/components/InlineLink.tsx b/src/components/InlineLink.tsx new file mode 100644 index 0000000..420a54f --- /dev/null +++ b/src/components/InlineLink.tsx @@ -0,0 +1,10 @@ +import {ReactNode} from 'react' +import Link from 'next/link' + +export function InlineLink({href, children}: { href: string, children: ReactNode }) { + return ( + + {children} + + ) +} \ No newline at end of file diff --git a/src/pages/index.tsx b/src/pages/index.tsx index 59e9b66..02c5776 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -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[] }) {

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 learn more about + me, read articles I've written and see projects I've worked on.