-
Notifications
You must be signed in to change notification settings - Fork 1
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
2332523
commit 77f22db
Showing
10 changed files
with
117 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
/* eslint-disable react-hooks/rules-of-hooks */ | ||
/* eslint-disable @next/next/no-img-element */ | ||
/* eslint-disable jsx-a11y/alt-text */ | ||
export default function BodyConfig() { | ||
return ( | ||
<div className="bg-zinc-900"> | ||
<div class="w-full h-[3vh] text-white pl-4 justify-self-center"> | ||
Skin Tone | ||
</div> | ||
<div class="w-full bg-zinc-900 text-black pl-4"> | ||
<div className="flex bg-zinc-900 m-5 mt-2 gap-x-12"> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<div className="w-[40px] h-[40px] bg-[#E8BEAC]"></div> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<div className="w-[40px] h-[40px] bg-[#c58c85]"></div> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<div className="w-[40px] h-[40px] bg-[#ecbcb4]"></div> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<div className="w-[40px] h-[40px] bg-[#d1a3a4]"></div> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<div className="w-[40px] h-[40px] bg-[#a1665e]"></div> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<div className="w-[40px] h-[40px] bg-[#503335]"></div> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<div className="w-[40px] h-[40px] bg-[#592f2a]"></div> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<div className="w-[40px] h-[40px] bg-[#8D5524]"></div> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<div className="w-[40px] h-[40px] bg-[#C68642]"></div> | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export default function GenderSelect() { | ||
return ( | ||
<div className="bg-zinc-900"> | ||
<div class="w-full h-[3vh] text-white pl-4 justify-self-center"> | ||
Gender Select | ||
</div> | ||
</div> | ||
); | ||
} |
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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* eslint-disable react-hooks/rules-of-hooks */ | ||
/* eslint-disable @next/next/no-img-element */ | ||
/* eslint-disable jsx-a11y/alt-text */ | ||
"use client"; // this is a client component 👈🏽 | ||
import { useRef } from "react"; | ||
import BodyConfig from "../components/BodyConfig"; | ||
import GenderSelect from "../components/genderSelect"; | ||
export default function configChar() { | ||
const pointerRef = useRef(); | ||
return ( | ||
<body | ||
onMouseMove={(e) => { | ||
pointerRef.current.style.left = e.pageX + "px"; | ||
pointerRef.current.style.top = e.pageY + "px"; | ||
}} | ||
className="bg-zinc-900" | ||
> | ||
<div class="w-full bg-gradient-to-r from-green-400 to-blue-500 h-[6vh] text-black pl-4 text-4xl font-black justify-self-center"> | ||
Avatar | ||
</div> | ||
<div class="w-full bg-zinc-900 h-[94vh] text-black pl-4"> | ||
<div className="flex bg-zinc-900 m-5 mt-8 gap-x-12"> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<img src="./body.png" /> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<img src="./hair.png" /> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<img src="./pant.png" /> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<img src="./tshirt.png" /> | ||
</button> | ||
<button className="bg-zinc-700 text-white rounded-md p-2"> | ||
<img src="./shoe.png" /> | ||
</button> | ||
</div> | ||
<BodyConfig /> | ||
<GenderSelect /> | ||
</div> | ||
|
||
<div className="pointer" ref={pointerRef}> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
<span></span> | ||
</div> | ||
</body> | ||
); | ||
} |
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.
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
77f22db
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
z-space – ./
z-space-git-main-adarshnjena.vercel.app
zspace.vercel.app
z-space-adarshnjena.vercel.app