-
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
Showing
27 changed files
with
1,888 additions
and
1,463 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,16 +2,20 @@ | |
|
||
import { useState } from 'react' | ||
import { motion } from 'framer-motion' | ||
import { User, Mail, Key, Save } from 'lucide-react' | ||
import { Input } from "@/components/ui/input" | ||
// import { User, Mail, Key, Save } from 'lucide-react' | ||
import { User, Mail, Key } from 'lucide-react' | ||
/* import { Input } from "@/components/ui/input" | ||
import { Button } from "@/components/ui/button" | ||
import { Label } from "@/components/ui/label" | ||
import { WavyBackground } from '@/components/ui/wavy-background' | ||
import { WavyBackground } from '../../components/ui/wavy-background' */ | ||
|
||
export default function AccountPage() { | ||
const [name, setName] = useState('John Doe') | ||
const [email, setEmail] = useState('[email protected]') | ||
const [password, setPassword] = useState('') | ||
// const [name, setName] = useState('John Doe') | ||
const name = useState('John Doe') | ||
// const [email, setEmail] = useState('[email protected]') | ||
const email = useState('[email protected]') | ||
// const [password, setPassword] = useState('') | ||
const password = useState('') | ||
|
||
const handleSubmit = (e: React.FormEvent) => { | ||
e.preventDefault() | ||
|
@@ -21,7 +25,7 @@ export default function AccountPage() { | |
|
||
return ( | ||
<div className="min-h-screen flex items-center justify-center bg-gray-900 p-4"> | ||
<WavyBackground className="absolute inset-0" /> | ||
{/*<WavyBackground className="absolute inset-0" />*/} | ||
<motion.div | ||
initial={{ opacity: 0, y: -20 }} | ||
animate={{ opacity: 1, y: 0 }} | ||
|
@@ -33,49 +37,49 @@ export default function AccountPage() { | |
</h2> | ||
<form onSubmit={handleSubmit} className="space-y-4"> | ||
<div className="space-y-2"> | ||
<Label htmlFor="name" className="text-gray-300">Name</Label> | ||
{/*<Label htmlFor="name" className="text-gray-300">Name</Label>*/} | ||
<div className="relative"> | ||
<Input | ||
{/*<Input | ||
id="name" | ||
type="text" | ||
value={name} | ||
onChange={(e) => setName(e.target.value)} | ||
className="pl-10 rounded-full bg-gray-700 text-white placeholder-gray-400" | ||
required | ||
/> | ||
/>*/} | ||
<User className="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400" size={18} /> | ||
</div> | ||
</div> | ||
<div className="space-y-2"> | ||
<Label htmlFor="email" className="text-gray-300">Email</Label> | ||
{/*<Label htmlFor="email" className="text-gray-300">Email</Label>*/} | ||
<div className="relative"> | ||
<Input | ||
{/*<Input | ||
id="email" | ||
type="email" | ||
value={email} | ||
onChange={(e) => setEmail(e.target.value)} | ||
className="pl-10 rounded-full bg-gray-700 text-white placeholder-gray-400" | ||
required | ||
/> | ||
/>*/} | ||
<Mail className="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400" size={18} /> | ||
</div> | ||
</div> | ||
<div className="space-y-2"> | ||
<Label htmlFor="password" className="text-gray-300">New Password (leave blank to keep current)</Label> | ||
{/*<Label htmlFor="password" className="text-gray-300">New Password (leave blank to keep current)</Label>*/} | ||
<div className="relative"> | ||
<Input | ||
{/*<Input | ||
id="password" | ||
type="password" | ||
value={password} | ||
onChange={(e) => setPassword(e.target.value)} | ||
className="pl-10 rounded-full bg-gray-700 text-white placeholder-gray-400" | ||
/> | ||
/>*/} | ||
<Key className="absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400" size={18} /> | ||
</div> | ||
</div> | ||
<Button type="submit" className="w-full rounded-full bg-gradient-to-r from-blue-500 to-purple-600 text-white"> | ||
{/*<Button type="submit" className="w-full rounded-full bg-gradient-to-r from-blue-500 to-purple-600 text-white"> | ||
Save Changes <Save className="ml-2" size={18} /> | ||
</Button> | ||
</Button>*/} | ||
</form> | ||
</motion.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
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
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
Oops, something went wrong.