| 1 | import Transition from "@/components/transition"; |
| 2 | import Link from "next/link |
| 3 | import { AiOutlineRight, AiOutlineMail |
| 4 | import { FiGithub } |
| 5 | import styles from "./page.module.css |
| 6 | import clsx from "clsx |
| 7 | import { Projects } |
| 8 | |
| 9 | export const metadata = |
| 10 | title: "Gurpal Singh | PhantomKnight287", |
| 11 | description: "I am a Full Stack Web Developer from India.", |
| 12 | openGraph: { |
| 13 | title: "Gurpal Singh | PhantomKnight287", |
| 14 | description: "I am a Full Stack Web Developer from India.", |
| 15 | // @ts-ignore |
| 16 | type: "website", |
| 17 | url: "https://phantomknight287.github.io/", |
| 18 | site_name: "Gurpal Singh | PhantomKnight287", |
| 19 | images: [ |
| 20 | { |
| 21 | url: "https://avatars.githubusercontent.com/u/76196237", |
| 22 | width: 50, |
| 23 | height: 50, |
| 24 | alt: "PhantomKnight287", |
| 25 | }, |
| 26 | ], |
| 27 | }, |
| 28 | twitter: { |
| 29 | site: "@PhantomKnight287", |
| 30 | title: "Gurpal Singh | PhantomKnight287", |
| 31 | description: "I am a Full Stack Web Developer from India.", |
| 32 | card: "summary_large_image", |
| 33 | creator: "gurpalsingh287", |
| 34 | images: [ |
| 35 | { |
| 36 | url: "https://avatars.githubusercontent.com/u/76196237", |
| 37 | width: 50, |
| 38 | height: 50, |
| 39 | }, |
| 40 | ], |
| 41 | }, |
| 42 | }; |
| 43 | |
| 44 | export default function Home |
| 45 | return ( |
| 46 | <main className="min-h-screen pt-10 container items-center justify-center flex-col |
| 47 | <div className="content-center items-center flex flex-none flex-col flex-nowrap gap-2.5 h-min justify-center overflow-visible relative w-full px-4 py-0 |
| 48 | <div className="container max-w-[512px] flex flex-row |
| 49 | <img |
| 50 | src="https://avatars.githubusercontent.com/u/76196237" |
| 51 | alt="PhantomKnigh287" |
| 52 | width={44} |
| 53 | height={44} |
| 54 | className="rounded-full" |
| 55 | /> |
| 56 | <div className="flex flex-col ml-2 |
| 57 | <h1 className="text-base font-bold text-white |
| 58 | <span className="text-sm text-gray-400 |
| 59 | </div> |
| 60 | </div> |
| 61 | </div> |
| 62 | <div className="flex mt-10 flex-col max-w-[512px] mx-auto p-5 lg:p-0 |
| 63 | <div className="container |
| 64 | <h1 className="text-xl font-bold text-gray-400 |
| 65 | I make |
| 66 | <Transition /> |
| 67 | </h1> |
| 68 | <p className="mt-5 text-xl text-gray-400 |
| 69 | I'm Gurpal Singh, an 18 year old developer living in India. I |
| 70 | am a self-taught developer who loves to code and make things. |
| 71 | </p> |
| 72 | </div> |
| 73 | <div className="flex items-start mt-5 w-full justify-start flex-col |
| 74 | <div className="flex flex-row items-center justify-start |
| 75 | <div className="aspect-square flex-none h-[10px] overflow-hidden relative w-2.5 will-change-transform bg-green-500 rounded-full |
| 76 | <div className="flex flex-col justify-start shrink-0 opacity-100 ml-2 |
| 77 | <p className="text-white |
| 78 | </div> |
| 79 | </div> |
| 80 | <br /> |
| 81 | <div className="flex flex-row mt-3 gap-3 |
| 82 | <a |
| 83 | href="https://github.com/phantomknight287" |
| 84 | target="_blank" |
| 85 | rel="noopener noreferrer" |
| 86 | className="flex flex-row items-center justify-start gap-2.5 |
| 87 | text-gray-400 hover:text-gray-300 transition duration-300 ease-in-out |
| 88 | bg-gray-800 hover:bg-gray-700 rounded-md px-3 py-2.5 |
| 89 | " |
| 90 | > |
| 91 | <FiGithub className=" |
| 92 | </a> |
| 93 | <a |
| 94 | href="mailto:phantomknight287@proton.me" |
| 95 | target="_blank" |
| 96 | rel="noopener noreferrer" |
| 97 | className="flex flex-row items-center justify-start gap-2.5 |
| 98 | text-gray-400 hover:text-gray-300 transition duration-300 ease-in-out |
| 99 | bg-gray-800 hover:bg-gray-700 rounded-md px-3 py-2.5 |
| 100 | " |
| 101 | > |
| 102 | <AiOutlineMail className=" |
| 103 | </a> |
| 104 | </div> |
| 105 | </div> |
| 106 | <div className="w-full h-[1px] |
| 107 | <div className="mt-5 |
| 108 | <h1 className="text-2xl text-white mt-5 mb-5 |
| 109 | <div className="flex flex-col |
| 110 | {Projects.map(( |
| 111 | <a |
| 112 | className="proj group" |
| 113 | key={project.name |
| 114 | href={project.href |
| 115 | target="_blank" |
| 116 | rel="noopener noreferrer" |
| 117 | > |
| 118 | <article className="flex flex-row gap-0 items-center justify-between lg:justify-center mt-3 mb-3 w-full |
| 119 | <div className="flex flex-col justify-start opacity-100 flex-none shrink-0 h-auto relative whitespace-pre w-auto mr-3 |
| 120 | <h1 className="text-lg font-medium leading-[1.3em] text-left text-gray-300 group-hover:text-white |
| 121 | {project.name} |
| 122 | </h1> |
| 123 | </div> |
| 124 | <div className="w-full border-y border-gray-700 rounded-2 transition duration-110 opacity-80 group-hover:border-white |
| 125 | <AiOutlineRight |
| 126 | className="text-gray-400 transition-all duration-[110ms] group-hover:text-white" |
| 127 | size={20} |
| 128 | /> |
| 129 | </article> |
| 130 | </a> |
| 131 | ))} |
| 132 | </div> |
| 133 | </div> |
| 134 | </div> |
| 135 | </main> |
| 136 | ); |
| 137 | } |