-
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
aeaa74a
commit f3cc861
Showing
12 changed files
with
150 additions
and
25 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,29 +1,108 @@ | ||
"use client"; | ||
|
||
import { syncopate } from "@/fonts"; | ||
import { syncopate, caveat, rockSalt } from "@/fonts"; | ||
import Image from "next/image"; | ||
import { IProject, PROJECTS } from "@/constants"; | ||
import { IProject, PROJECTS, IProjectCategory } from "@/constants"; | ||
import Link from "next/link"; | ||
import { motion, useScroll, useTransform, MotionValue } from "framer-motion"; | ||
import { useRef, useState } from "react"; | ||
import { useRef, useState, useEffect } from "react"; | ||
import { FaReact } from "react-icons/fa"; | ||
import { useGSAP } from "@gsap/react"; | ||
import { gsap } from "gsap"; | ||
import { Typewriter } from "react-simple-typewriter"; | ||
import { TfiLinkedin } from "react-icons/tfi"; | ||
import { MdEmail } from "react-icons/md"; | ||
|
||
export default function HomePage() { | ||
const name = "Apoorva"; | ||
const myRoles = ["3D Artist", "XR Designer", "UX Specialist"]; | ||
|
||
// const featuredProjects: Record<IProjectCategory, IProject | undefined> = { | ||
// "3D": PROJECTS.find((project) => project.category === "3D"), | ||
// "UX/XR": PROJECTS.find((project) => project.category === "UX/XR"), | ||
// Graphics: PROJECTS.find((project) => project.category === "Graphics"), | ||
// }; | ||
|
||
// const renderFeaturedProjects = () => { | ||
// return Object.values(featuredProjects).map((project, index) => { | ||
// if (!project) return null; | ||
// return <div key={index} className=""></div>; | ||
// }); | ||
// }; | ||
|
||
return ( | ||
<main className=""> | ||
<section className="px-2 mt-32"> | ||
<h1 | ||
className={`${syncopate.className} text-5xl md:text-8xl text-center`} | ||
> | ||
Apoorva Kumari | ||
</h1> | ||
<p | ||
className={`${syncopate.className} text-xm sm:text-md md:text-xl text-gray-100 text-center mt-4 md:mt-6`} | ||
> | ||
3D Artist | XR Designer | UX Specialist | ||
</p> | ||
<section className="flex md:flex-row flex-col gap-32 md:gap-8 px-12 pt-24 min-h-[calc(90vh-56px)]"> | ||
<div className="flex-1 md:mt-24 space-y-6"> | ||
<span className="text-xl text-gray-300">Hey there, It's</span> | ||
<h1 className={`text-6xl font-bold ${syncopate.className}`}> | ||
{name} | ||
</h1> | ||
<h3 className={`text-2xl text-gray-200 ${rockSalt.className}`}> | ||
<Typewriter | ||
cursor | ||
cursorBlinking | ||
delaySpeed={1000} | ||
deleteSpeed={25} | ||
loop={0} | ||
typeSpeed={75} | ||
words={myRoles} | ||
/> | ||
</h3> | ||
<div> | ||
<Link | ||
href="/contact" | ||
className="underline underline-offset-4 text-sm" | ||
> | ||
Get in touch -> | ||
</Link> | ||
</div> | ||
</div> | ||
<div className="flex-1 relative"> | ||
<Image | ||
src="/assets/girl.png" | ||
alt="Girl Image" | ||
width={400} | ||
height={400} | ||
className="rounded-full shadow-2xl" | ||
/> | ||
<motion.div className="absolute -top-8 -left-20 md:-top-16 md:-left-20 animate-float"> | ||
<Image | ||
src="/assets/controller.png" | ||
alt="Controller Image" | ||
width={230} | ||
height={230} | ||
/> | ||
</motion.div> | ||
<motion.div className="absolute -top-16 -right-8 md:-top-24 md:-right-8 animate-float"> | ||
<Image | ||
src="/assets/cup.png" | ||
alt="Cup Image" | ||
width={250} | ||
height={250} | ||
/> | ||
</motion.div> | ||
<motion.div className="absolute top-20 -right-16 md:top-20 md:-right-36 animate-float"> | ||
<Image | ||
src="/assets/vr.png" | ||
alt="VR Image" | ||
width={200} | ||
height={200} | ||
/> | ||
</motion.div> | ||
</div> | ||
</section> | ||
<div className="h-96"></div> | ||
|
||
{/* <section className="flex justify-center"> | ||
<p className="text-gray-200 text-center max-w-2xl"> | ||
🎨 As a 3D Artist, XR Designer, and UX Specialist, I dive into the | ||
realm of immersive experiences with fervor! I thrive on crafting | ||
interactive wonders that defy the limits of technology, sculpting | ||
worlds where imagination knows no bounds. 🚀 | ||
</p> | ||
</section> */} | ||
|
||
{/* <section className="px-12 py-24">{renderFeaturedProjects()}</section> */} | ||
</main> | ||
); | ||
} |
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,6 +1,16 @@ | ||
import { Syncopate } from "next/font/google"; | ||
import { Syncopate, Caveat, Rock_Salt } from "next/font/google"; | ||
|
||
export const syncopate = Syncopate({ | ||
weight: "700", | ||
subsets: ["latin"], | ||
}); | ||
|
||
export const caveat = Caveat({ | ||
weight: "400", | ||
subsets: ["latin"], | ||
}); | ||
|
||
export const rockSalt = Rock_Salt({ | ||
weight: "400", | ||
subsets: ["latin"], | ||
}); |
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