Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions CryptoHackAI-web/components.json
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"
}
88 changes: 88 additions & 0 deletions CryptoHackAI-web/src/app/components/settings.tsx
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 */}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove Comments

<div className="mb-10">
<h1 className="text-3xl font-bold text-gray-900">Profile Settings</h1>
</div>

{/* Form */}
Copy link
Contributor

Choose a reason for hiding this comment

The 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
90 changes: 90 additions & 0 deletions CryptoHackAI-web/src/app/settings/page.tsx
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;
Loading