Skip to content

Commit

Permalink
Merge pull request #46 from DushanSenadheera/edit-profile
Browse files Browse the repository at this point in the history
add edit profile
  • Loading branch information
DushanSenadheera authored Jan 6, 2024
2 parents 64928e9 + e3d7ced commit 7ab6a1b
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 2 deletions.
7 changes: 5 additions & 2 deletions client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ import Admin_Upcoming from "./pages/Admin/Admin_UpcomingMovie";
import Admin_Logout from "./pages/Admin/Admin_Logout";
import Payment from "./pages/Payment";
import { Seatbooking } from "./pages/Seatbooking/Seatbooking";
import Description from './pages/Description'
import Profile from './pages/Profile/Profile'
import Description from './pages/Description';
import Profile from './pages/Profile/Profile';
import Profile_Edit from './pages/Profile/Profile-Edit';


function App() {
return (
Expand All @@ -31,6 +33,7 @@ function App() {
<Route path="/payment" element={<Payment />} />
<Route path="/description" element={<Description/>} />
<Route path="/profile" element={<Profile/>} />
<Route path="/profile-edit" element={<Profile_Edit/>} />

</Routes>

Expand Down
40 changes: 40 additions & 0 deletions client/src/pages/Profile/Profile-Edit.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
import './Layout.css'

function Profile() {
return (
<div className="bg">
<div className="sign-in">
<div className="sign-in-form">
<h1>Edit Profile</h1>
<form>
<div className="name">
<input type="text" name="fname" value="Ashan" placeholder="First Name" disabled />
<input type="text" name="lname" value="Herath" placeholder="Last Name" disabled />
</div>
<br />
<input type="email" name="email" value="ashandimanthalk@gmail.com" placeholder="Email" disabled />
<br />
<input type="tel" name="mobile" value="0713112927" placeholder="Mobile" />
</form>
<div className='btns'>
<a href="">
<input type="submit" value="Update Profile" className="sign-in-btn" />
</a>
<br />
<a href="">
<input type="submit" value="Change Password" className="del-acc-btn" />
</a>
<br />
<a href="">
<input type="submit" value="Delete Account" className="del-acc-btn" />
</a>
</div>
</div>
</div>
)

</div>
)
}

export default Profile

0 comments on commit 7ab6a1b

Please sign in to comment.