-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c07f1fe
commit 43904cb
Showing
5 changed files
with
18 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
import { routerPage } from "../signals/RouterPageSignal"; | ||
import { GithubIcon, LinkedinIcon, MailIcon } from 'lucide-preact'; | ||
|
||
export function Home(_: any) { | ||
routerPage.value = "Home"; | ||
|
||
const copyEmailToClipboard = () => { | ||
navigator.clipboard.writeText("[email protected]"); | ||
}; | ||
const ICON_SIZE = 34; | ||
|
||
export function Home() { | ||
routerPage.value = "Home"; | ||
|
||
return ( | ||
<main className="flex flex-col justify-center items-center"> | ||
<main className="flex flex-col justify-center items-center pb-12"> | ||
<section className="w-full pt-10 pb-8 flex flex-col justify-center items-center container max-w-[600px] px-4"> | ||
<div className="container flex flex-col items-center justify-center space-y-4"> | ||
<div className="container flex flex-col items-center justify-center space-y-4 px-4"> | ||
<div className="text-center"> | ||
<h1 className="text-5xl font-bold tracking-tighter pt-6 text-white"> | ||
Hi, I'm Abhishek | ||
</h1> | ||
|
||
<div className="text-gray-300 px-4 pt-2"> | ||
<div className="text-gray-300 px-4 pt-2 text-sm md:text-base lg:text-lg mb-4"> | ||
I'm a Software Developer and Computer Science | ||
student at UC San Diego. In my free time, I am a | ||
Capture the Flag (CTF) player specializing in web | ||
|
@@ -25,23 +24,15 @@ export function Home(_: any) { | |
</div> | ||
<div | ||
className="container space-y-4 flex flex-col items-center bg-[url(https://images.unsplash.com/photo-1706922926159-d32db3419657?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwxfDB8MXxyYW5kb218MHx8fHx8fHx8MTcwOTAxNzc4MQ&ixlib=rb-4.0.3&q=80&w=1080)] bg-[100%_auto] max-w-[60rem] max-h-[30rem] aspect-video rounded-2xl" | ||
alt="placeholder" | ||
></div> | ||
alt="placeholder"> | ||
</div> | ||
</div> | ||
</section> | ||
<hr className="w-5/6 max-w-[480px] my-12"></hr> | ||
|
||
{/* Last thing of main page will be this */} | ||
<section className="w-full pb-8 flex flex-col justify-center items-center container max-w-[600px] px-4"> | ||
<div className="mt-6"> | ||
<a | ||
className="p-2 px-6 border-[1px] border-white rounded-md hover:bg-white hover:text-black transition-colors duration-300 ease-in-out" | ||
href="mailto:[email protected]" | ||
onClick={copyEmailToClipboard} | ||
> | ||
Contact Me | ||
</a> | ||
</div> | ||
|
||
<section className="flex justify-center space-x-8 py-4"> | ||
<a href="//github.com/abhishekg999" target="_blank" rel="noopener noreferrer" className="text-white hover:text-green-500"><GithubIcon size={ICON_SIZE} /></a> | ||
<a href="//linkedin.com/in/abhishekgovindarasu" target="_blank" rel="noopener noreferrer" className="text-white hover:text-green-500"><LinkedinIcon size={ICON_SIZE} /></a> | ||
<a href="mailto:[email protected]" target="_blank" rel="noopener noreferrer" className="text-white hover:text-green-500"><MailIcon size={ICON_SIZE} /></a> | ||
</section> | ||
</main> | ||
); | ||
|