Skip to content

Commit

Permalink
feat: SEO Friendly Portfolio! (Finally...)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yefee8 committed Jun 7, 2024
1 parent d43fced commit 4855cfc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 9 deletions.
17 changes: 8 additions & 9 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
"use client";
import Link from "next/link";
import AOS from "aos";
import "aos/dist/aos.css";

import { CgScrollV } from "react-icons/cg";
import { FcBinoculars } from "react-icons/fc";
import { IoMdMail } from "react-icons/io";
Expand All @@ -10,13 +8,9 @@ import { FaLinkedin, FaGithub } from "react-icons/fa6";
import Projects from "@/components/Projects";
import Repostories from "@/components/Repostories";
import Skills from "@/components/Skills";
import UseAos from "@/components/UseAos";

import { useEffect } from "react";
export default function Home() {
useEffect(() => {
AOS.init();
}, []);

return (
<main className="flex flex-col pb-4 items-center">
<div className="flex justify-center gap-4 flex-col items-center w-full h-screen container">
Expand All @@ -35,7 +29,10 @@ export default function Home() {
</div>

<div className="flex gap-2 items-center">
<a href="https://www.linkedin.com/in/yavuz-efe-f%C4%B1nd%C4%B1kl%C4%B1-ab214621a/" target="_blank">
<a
href="https://www.linkedin.com/in/yavuz-efe-f%C4%B1nd%C4%B1kl%C4%B1-ab214621a/"
target="_blank"
>
<FaLinkedin className="text-2xl duration-100 cursor-pointer hover:text-primary focus:text-primary outline-primary" />
</a>
<a href="https://github.com/Yefee8" target="_blank">
Expand Down Expand Up @@ -66,6 +63,8 @@ export default function Home() {
</div>
</Link>
</div>

<UseAos />
</main>
);
}
13 changes: 13 additions & 0 deletions src/components/UseAos.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"use client";
import AOS from "aos";
import "aos/dist/aos.css";

import { useEffect } from "react";

export default function UseAos() {
useEffect(() => {
AOS.init();
}, []);

return <></>;
}

0 comments on commit 4855cfc

Please sign in to comment.