Skip to content
This repository has been archived by the owner on Dec 4, 2024. It is now read-only.

Commit

Permalink
Fixed build by adding rel="noreferrer"
Browse files Browse the repository at this point in the history
  • Loading branch information
ReaperMaga committed May 22, 2022
1 parent 24443a6 commit c8484aa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/about/AboutMeProjectCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const AboutMeProjectCard = ({title, imageUrl, children, url}: AboutMeProjectCard
className="w-full h-64 bg-center bg-cover rounded border-4 shadow cursor-pointer bg-zinc-700 border-zinc-700"
style={{backgroundImage: "url('" + imageUrl + "')"}}>
<div className="w-full h-full bg-transparent transition hover:bg-zinc-600/75">
<a className="w-full h-full" href={url} target="_blank">
<a className="w-full h-full" href={url} target="_blank" rel="noreferrer">
<Transition
show={hovering}
enter="transform transition duration-500"
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/about/AboutMeProjects.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const AboutMeProjects = () => {
wrapper="h2"
className="pl-2 text-4xl uppercase text-zinc-300 font-code text-sky-300"
/>
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4 w-full px-2">
<div className="grid grid-cols-1 md:grid-cols-2 xl:grid-cols-3 gap-4 px-2 w-full">
<AboutMeProjectCard title="MyAnimeApp" imageUrl="projects/myanimeapp.jpeg" url="https://imgur.com/a/1yy39n6">
<div className="py-px px-2 text-gray-300 bg-red-500 rounded-md text-md">Website</div>
</AboutMeProjectCard>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/about/AboutMeText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ const AboutMeText = () => {
</div>

<div className="flex space-x-5">
<a href="https://github.com/reapermaga" target="_blank">
<a href="https://github.com/reapermaga" target="_blank" rel="noreferrer">
<OutlineButton><AiOutlineGithub /></OutlineButton>
</a>

<a href="https://twitter.com/reaper_maga" target="_blank">
<a href="https://twitter.com/reaper_maga" target="_blank" rel="noreferrer">
<OutlineButton><AiOutlineTwitter /></OutlineButton>
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/pages/contact.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Page = observer(() => {
message
}
setLoading(true)
emailjs.send(serviceId, templateId, templateParams, userId).then((response) => {
emailjs.send(serviceId, templateId, templateParams, userId).then(() => {
setResponse("")
setSuccessResponse("Successfully sent")
setLoading(false)
Expand Down

0 comments on commit c8484aa

Please sign in to comment.