Skip to content

Commit

Permalink
Merge pull request #18 from rezafikkri/minor
Browse files Browse the repository at this point in the history
Improve navbar menu, abou page, home page and readme
  • Loading branch information
rezafikkri authored Jun 27, 2024
2 parents 092008e + c9794d9 commit 1a86ad4
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 37 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# My Personal Websitee

Build using, [Next.js](https://nextjs.org), [Tailwind Css](https://tailwindcss.com) and [Highlght.js](https://highlightjs.org/).
26 changes: 26 additions & 0 deletions components/about/contact.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import Link from "next/link";

export default function Contact() {
return (
<div className="flex gap-2">
<Link href="https://github.com/rezafikkri" className="border-2 border-gray-500 rounded-lg px-2.5 py-1.5 opacity-65 hover:opacity-100 duration-100">
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="17" height="17" viewBox="0 0 16 16"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>
</Link>
<Link href="https://twitter.com/fikkrireza" className="border-2 border-gray-500 rounded-lg px-2.5 py-1.5 opacity-65 hover:opacity-100 duration-100">
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="17" height="17" viewBox="0 0 16 16"><path d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865l8.875 11.633Z"/></svg>
</Link>
<Link href="https://www.linkedin.com/in/reza-sariful-fikri/" className="border-2 border-gray-500 rounded-lg px-2.5 py-1.5 opacity-65 hover:opacity-100 duration-100">
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="17" height="17" viewBox="0 0 16 16"><path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z"/></svg>
</Link>
<Link href="https://web.facebook.com/reza.sariful.fikri" className="border-2 border-gray-500 rounded-lg px-2.5 py-1.5 opacity-65 hover:opacity-100 duration-100">
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="17" height="17" viewBox="0 0 16 16"><path d="M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z"/></svg>
</Link>
<Link href="https://youtube.com/@rezafikkri" className="border-2 border-gray-500 rounded-lg px-2.5 py-1.5 opacity-65 hover:opacity-100 duration-100">
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="17" height="17" viewBox="0 0 16 16"><path d="M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z"/></svg>
</Link>
<Link href="mailto:[email protected]" className="border-2 border-gray-500 rounded-lg px-2.5 py-1.5 opacity-65 hover:opacity-100 duration-100">
<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" width="17" height="17" viewBox="0 0 16 16"><path d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414zM0 4.697v7.104l5.803-3.558zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586zm3.436-.586L16 11.801V4.697z"/></svg>
</Link>
</div>
);
}
24 changes: 4 additions & 20 deletions components/about/profile.jsx
Original file line number Diff line number Diff line change
@@ -1,28 +1,12 @@
import Link from "next/link";
import Contact from "./contact";

export default function SocialMedia() {
export default function Profile() {
return (
<section className="mt-12">
<div className="rounded-full inline-block border-4 border-gray-600">
<div className="rounded-full inline-block border-4 border-gray-600 mb-5">
<img src="/rezas.jpg" height={150} width={150} alt="Photo Profile" className="rounded-full" loading="lazy" decoding="async" />
</div>
<div className="flex gap-2 mt-5">
<Link href="https://github.com/rezafikkri" className="border-2 border-gray-500 hover:border-ajwa-blue rounded-lg px-2.5 py-1.5">
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 16 16"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.012 8.012 0 0 0 16 8c0-4.42-3.58-8-8-8z"/></svg>
</Link>
<Link href="https://twitter.com/fikkrireza" className="border-2 border-gray-500 hover:border-ajwa-blue rounded-lg px-2.5 py-1.5">
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 16 16"><path d="M12.6.75h2.454l-5.36 6.142L16 15.25h-4.937l-3.867-5.07-4.425 5.07H.316l5.733-6.57L0 .75h5.063l3.495 4.633L12.601.75Zm-.86 13.028h1.36L4.323 2.145H2.865l8.875 11.633Z"/></svg>
</Link>
<Link href="https://www.linkedin.com/in/reza-sariful-fikri/" className="border-2 border-gray-500 hover:border-ajwa-blue rounded-lg px-2.5 py-1.5">
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 16 16"><path d="M0 1.146C0 .513.526 0 1.175 0h13.65C15.474 0 16 .513 16 1.146v13.708c0 .633-.526 1.146-1.175 1.146H1.175C.526 16 0 15.487 0 14.854V1.146zm4.943 12.248V6.169H2.542v7.225h2.401zm-1.2-8.212c.837 0 1.358-.554 1.358-1.248-.015-.709-.52-1.248-1.342-1.248-.822 0-1.359.54-1.359 1.248 0 .694.521 1.248 1.327 1.248h.016zm4.908 8.212V9.359c0-.216.016-.432.08-.586.173-.431.568-.878 1.232-.878.869 0 1.216.662 1.216 1.634v3.865h2.401V9.25c0-2.22-1.184-3.252-2.764-3.252-1.274 0-1.845.7-2.165 1.193v.025h-.016a5.54 5.54 0 0 1 .016-.025V6.169h-2.4c.03.678 0 7.225 0 7.225h2.4z"/></svg>
</Link>
<Link href="https://web.facebook.com/reza.sariful.fikri" className="border-2 border-gray-500 hover:border-ajwa-blue rounded-lg px-2.5 py-1.5">
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 16 16"><path d="M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951z"/></svg>
</Link>
<Link href="https://youtube.com/@rezafikkri" className="border-2 border-gray-500 hover:border-ajwa-blue rounded-lg px-2.5 py-1.5">
<svg xmlns="http://www.w3.org/2000/svg" width="17" height="17" viewBox="0 0 16 16"><path d="M8.051 1.999h.089c.822.003 4.987.033 6.11.335a2.01 2.01 0 0 1 1.415 1.42c.101.38.172.883.22 1.402l.01.104.022.26.008.104c.065.914.073 1.77.074 1.957v.075c-.001.194-.01 1.108-.082 2.06l-.008.105-.009.104c-.05.572-.124 1.14-.235 1.558a2.01 2.01 0 0 1-1.415 1.42c-1.16.312-5.569.334-6.18.335h-.142c-.309 0-1.587-.006-2.927-.052l-.17-.006-.087-.004-.171-.007-.171-.007c-1.11-.049-2.167-.128-2.654-.26a2.01 2.01 0 0 1-1.415-1.419c-.111-.417-.185-.986-.235-1.558L.09 9.82l-.008-.104A31 31 0 0 1 0 7.68v-.123c.002-.215.01-.958.064-1.778l.007-.103.003-.052.008-.104.022-.26.01-.104c.048-.519.119-1.023.22-1.402a2.01 2.01 0 0 1 1.415-1.42c.487-.13 1.544-.21 2.654-.26l.17-.007.172-.006.086-.003.171-.007A100 100 0 0 1 7.858 2zM6.4 5.209v4.818l4.157-2.408z"/></svg>
</Link>
</div>
<Contact />
</section>
);
}
2 changes: 1 addition & 1 deletion components/about/skill.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Skill() {
<h3 className="text-gray-500 mt-5">Dasar</h3>
<p className="mt-1 text-lg">Lua - Electron - Linux - MongoDB - Redis - RabbitMQ - Webpack - GIMP - Inkscape - Kdenlive - Python</p>

<Link href="/CV Reza SF.pdf" download target="_blank" className="mt-5 inline-block no-underline bg-white hover:bg-gray-100 border border-gray-200 px-4 py-2 rounded-lg">
<Link href="/CV Reza SF.pdf" download target="_blank" className="mt-9 inline-block no-underline bg-white hover:bg-gray-100 border border-gray-200 px-4 py-2 rounded-lg">
<span className="mr-1.5">Unduh CV</span>
<svg className="inline-block align-baseline" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 16 16"><path d="M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"/><path d="M7.646 11.854a.5.5 0 0 0 .708 0l3-3a.5.5 0 0 0-.708-.708L8.5 10.293V1.5a.5.5 0 0 0-1 0v8.793L5.354 8.146a.5.5 0 1 0-.708.708l3 3z"/></svg>
</Link>
Expand Down
4 changes: 3 additions & 1 deletion components/home/home-header.jsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import Link from "next/link";
import Contact from "../about/contact";

export default function HomeHeader() {
return (
<header className="mt-24 text-gray-800">
<h1 className="text-5xl font-bold text-gray-900">Halo, Saya Reza!</h1>
<p className="mt-7 text-xl">Ini adalah website pribadi saya.</p>
<p className="mt-7 text-xl">Dalam website ini saya <Link href="/blogs">menulis</Link> mengenai programming, khususnya di bidang pengembangan web, menggunakan bahasa PHP dan JavaScript dan hal-hal umum seputar teknologi. Selain itu saya juga suka membuat aplikasi <Link href="/projects">open-source</Link>.</p>
<p className="mt-7 text-xl mb-9">Dalam website ini saya <Link href="/blogs">menulis</Link> mengenai programming, khususnya di bidang pengembangan web, menggunakan bahasa PHP dan JavaScript dan hal-hal umum seputar teknologi. Selain itu saya juga suka membuat aplikasi <Link href="/projects">open-source</Link>.</p>
<Contact />
</header>
);
}
19 changes: 4 additions & 15 deletions components/layout/nav.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ export default function Nav() {
return (
<nav className="text-gray-700 font-medium">
<ul>
<li className="inline-block pr-8">
<Link
href="/about"
className={`hover:text-ajwa-blue no-underline ${activeLink('/about', pathName)}`}
>
Tentang
</Link>
</li>
<li className="inline-block pr-8">
<Link
href="/blogs"
Expand All @@ -34,15 +26,12 @@ export default function Nav() {
Projek
</Link>
</li>
<li className="inline-block">
<li className="inline-block pr-8">
<Link
href="https://github.com/rezafikkri"
className="group hover:text-ajwa-blue no-underline"
rel="noopener noreferrer"
target="_blank"
href="/about"
className={`hover:text-ajwa-blue no-underline ${activeLink('/about', pathName)}`}
>
<span className="mr-1.5">Github</span>
<svg xmlns="http://www.w3.org/2000/svg" width="13" height="13" className="inline-block align-baseline stroke-gray-700 group-hover:stroke-ajwa-blue" viewBox="0 0 16 16"><path fillRule="evenodd" d="M8.636 3.5a.5.5 0 0 0-.5-.5H1.5A1.5 1.5 0 0 0 0 4.5v10A1.5 1.5 0 0 0 1.5 16h10a1.5 1.5 0 0 0 1.5-1.5V7.864a.5.5 0 0 0-1 0V14.5a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h6.636a.5.5 0 0 0 .5-.5z"/><path fillRule="evenodd" d="M16 .5a.5.5 0 0 0-.5-.5h-5a.5.5 0 0 0 0 1h3.793L6.146 9.146a.5.5 0 1 0 .708.708L15 1.707V5.5a.5.5 0 0 0 1 0v-5z"/></svg>
Tentang
</Link>
</li>
</ul>
Expand Down

0 comments on commit 1a86ad4

Please sign in to comment.