-
Notifications
You must be signed in to change notification settings - Fork 11
[FEATURE] Profile settings page #20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,21 @@ | ||
| { | ||
| "$schema": "https://ui.shadcn.com/schema.json", | ||
| "style": "new-york", | ||
| "rsc": true, | ||
| "tsx": true, | ||
| "tailwind": { | ||
| "config": "tailwind.config.ts", | ||
| "css": "src/app/globals.css", | ||
| "baseColor": "neutral", | ||
| "cssVariables": true, | ||
| "prefix": "" | ||
| }, | ||
| "aliases": { | ||
| "components": "@/components", | ||
| "utils": "@/lib/utils", | ||
| "ui": "@/components/ui", | ||
| "lib": "@/lib", | ||
| "hooks": "@/hooks" | ||
| }, | ||
| "iconLibrary": "lucide" | ||
| } |
This file contains hidden or 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,88 @@ | ||
| import React from 'react' | ||
|
|
||
| const settingsScreen = () => { | ||
| return ( | ||
| <div className='bg-[#B4AB9A]'> | ||
| <div className="min-h-screen w-full p-4 flex items-start justify-center"> | ||
| <div className="fixed top-[194px] left-[353px] w-[641px] h-[790px] rounded-[60px] bg-white shadow-[0_0_40px_rgba(0,0,0,0.08)]"> | ||
| <div className="p-12 h-full flex flex-col"> | ||
| {/* Header */} | ||
| <div className="mb-10"> | ||
| <h1 className="text-3xl font-bold text-gray-900">Profile Settings</h1> | ||
| </div> | ||
|
|
||
| {/* Form */} | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove Comments |
||
| <form className="flex-1 flex flex-col gap-8"> | ||
| <div className="space-y-2"> | ||
| <label htmlFor="name" className="block text-sm font-medium text-gray-700"> | ||
| Full Name | ||
| </label> | ||
| <input | ||
| type="text" | ||
| id="name" | ||
| className="w-full h-12 px-4 rounded-lg border border-gray-300 text-gray-900 text-lg | ||
| focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent | ||
| transition-all duration-200" | ||
| placeholder="Enter your full name" | ||
| /> | ||
| </div> | ||
|
|
||
| <div className="space-y-2"> | ||
| <label htmlFor="email" className="block text-sm font-medium text-gray-700"> | ||
| Email Address | ||
| </label> | ||
| <input | ||
| type="email" | ||
| id="email" | ||
| className="w-full h-12 px-4 rounded-lg border border-gray-300 text-gray-900 text-lg | ||
| focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent | ||
| transition-all duration-200" | ||
| placeholder="Enter your email" | ||
| /> | ||
| </div> | ||
|
|
||
| <div className="space-y-2"> | ||
| <label htmlFor="username" className="block text-sm font-medium text-gray-700"> | ||
| Username | ||
| </label> | ||
| <input | ||
| type="text" | ||
| id="username" | ||
| className="w-full h-12 px-4 rounded-lg border border-gray-300 text-gray-900 text-lg | ||
| focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent | ||
| transition-all duration-200" | ||
| placeholder="Choose a username" | ||
| /> | ||
| </div> | ||
|
|
||
| <div className="space-y-2"> | ||
| <label htmlFor="bio" className="block text-sm font-medium text-gray-700"> | ||
| Bio | ||
| </label> | ||
| <input | ||
| type="text" | ||
| id="bio" | ||
| className="w-full h-12 px-4 rounded-lg border border-gray-300 text-gray-900 text-lg | ||
| focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent | ||
| transition-all duration-200" | ||
| placeholder="Tell us about yourself" | ||
| /> | ||
| </div> | ||
|
|
||
| <button | ||
| type="submit" | ||
| className="mt-auto w-full h-12 bg-blue-500 text-white rounded-lg text-lg font-medium | ||
| hover:bg-blue-600 active:bg-blue-700 transition-colors duration-200 | ||
| focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2" | ||
| > | ||
| Save Changes | ||
| </button> | ||
| </form> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| ) | ||
| } | ||
|
|
||
| export default settingsScreen | ||
This file contains hidden or 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,90 @@ | ||
| import React from 'react'; | ||
|
|
||
| const SettingsScreen = () => { | ||
| return ( | ||
| <div className="bg-[#B4AB9A] min-h-screen flex items-center justify-center p-4"> | ||
| <div className="w-full max-w-lg sm:w-3/6 rounded-[40px] sm:rounded-[60px] bg-[#f8fafc] shadow-[0_0_40px_rgba(0,0,0,0.08)] mt-10 mb-10"> | ||
| <div className="p-6 sm:p-12 h-full flex flex-col"> | ||
|
|
||
| <div className="mb-6 sm:mb-10"> | ||
| <h1 className="text-2xl sm:text-4xl flex justify-center font-bold text-gray-900"> | ||
| Profile Settings | ||
| </h1> | ||
| </div> | ||
|
|
||
|
|
||
| <div className="lg:w-9/12 sm:w-7/12 mx-auto rounded-[20px] border bg-white p-5"> | ||
| <form className="flex-1 flex flex-col gap-6 sm:gap-8"> | ||
| <div className="space-y-2"> | ||
| <label htmlFor="name" className="block text-sm font-medium text-gray-700"> | ||
| Name | ||
| </label> | ||
| <input | ||
| type="text" | ||
| id="name" | ||
| className="w-full h-12 px-4 rounded-lg border border-gray-300 text-gray-900 text-lg | ||
| focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent | ||
| transition-all duration-200" | ||
| placeholder="Enter your name" | ||
| /> | ||
| </div> | ||
|
|
||
| <div className="space-y-2"> | ||
| <label htmlFor="resume" className="block text-sm font-medium text-gray-700"> | ||
| Resume | ||
| </label> | ||
| <input | ||
| type="email" | ||
| id="email" | ||
| className="w-full h-12 px-4 rounded-lg border border-gray-300 text-gray-900 text-lg | ||
| focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent | ||
| transition-all duration-200" | ||
| placeholder="Enter your email" | ||
| /> | ||
| </div> | ||
|
|
||
| <div className="space-y-2"> | ||
| <label htmlFor="website" className="block text-sm font-medium text-gray-700"> | ||
| Personal Website | ||
| </label> | ||
| <input | ||
| type="text" | ||
| id="website" | ||
| className="w-full h-12 px-4 rounded-lg border border-gray-300 text-gray-900 text-lg | ||
| focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent | ||
| transition-all duration-200" | ||
| placeholder="Enter your website" | ||
| /> | ||
| </div> | ||
|
|
||
| <div className="space-y-2"> | ||
| <label htmlFor="git" className="block text-sm font-medium text-gray-700"> | ||
| Github | ||
| </label> | ||
| <input | ||
| type="text" | ||
| id="git" | ||
| className="w-full h-12 px-4 rounded-lg border border-gray-300 text-gray-900 text-lg | ||
| focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent | ||
| transition-all duration-200" | ||
| placeholder="Enter your Github" | ||
| /> | ||
| </div> | ||
|
|
||
| <button | ||
| type="submit" | ||
| className="mt-auto w-full h-12 bg-black text-white rounded-lg text-lg font-medium | ||
| active:bg-black transition-colors duration-200 focus:outline-none focus:ring-2 | ||
| focus:ring-blue-500 focus:ring-offset-2" | ||
| > | ||
| Save Changes | ||
| </button> | ||
| </form> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| ); | ||
| }; | ||
|
|
||
| export default SettingsScreen; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Remove Comments