Skip to content

Commit b006eda

Browse files
committed
fix: about page external link
1 parent f000ac3 commit b006eda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pages/AboutPage.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import React, { useState, useEffect } from 'react';
22
import ReactMarkdown from 'react-markdown';
33
import { Link } from 'react-router-dom';
4-
import { ArrowLeftIcon, Envelope } from '@phosphor-icons/react';
4+
import { ArrowLeftIcon, ArrowSquareOutIcon, EnvelopeIcon } from '@phosphor-icons/react';
55
import usePageTitle from '../utils/usePageTitle';
66

77
const LinkRenderer = ({ href, children }) => {
88
const isExternal = href.startsWith('http') || href.startsWith('https');
99
return (
1010
<a href={href} className="text-primary-400 hover:text-primary-600 transition-colors inline-flex items-center gap-1" target={isExternal ? "_blank" : undefined} rel={isExternal ? "noopener noreferrer" : undefined}>
11-
{children} {isExternal && <ArrowLeftIcon className="text-xs" />}
11+
{children} {isExternal && <ArrowSquareOutIcon className="text-xs" />}
1212
</a>
1313
);
1414
};
@@ -109,7 +109,7 @@ const AboutPage = () => {
109109
<div className="mt-8">
110110
<h2 className="text-3xl font-semibold tracking-tight text-white mb-4">Contact</h2>
111111
<p className="flex items-center gap-2">
112-
<Envelope className="text-primary-400" /> Feel free to reach out to me at <a href={`mailto:${email}`} className="text-primary-400 hover:text-primary-500 transition-colors">{email}</a>.
112+
<EnvelopeIcon className="text-primary-400" /> Feel free to reach out to me at <a href={`mailto:${email}`} className="text-primary-400 hover:text-primary-500 transition-colors">{email}</a>.
113113
</p>
114114
</div>
115115
)}

0 commit comments

Comments
 (0)