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
1 change: 0 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import Product from "./Pages/ProductPage/ProductPage"
import Login from "./Pages/SignInPage/SignInPage"
import Cart from "./Pages/ShoppingCart/ShoppingCart"
import Account from "./Pages/AccountPage/AccountPage"

import "./GeneralStyles.css";
import "./App.css"
import home from "../src/images/homebutton.png"
Expand Down
27 changes: 9 additions & 18 deletions src/Pages/AccountPage/AccountPage.css
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

.body{
/* height: 500%;
width:500%; */
display: flex;
justify-content: center;
align-items: center;
padding: 100px;
background: linear-gradient(135deg, #71b7e6, #9b59b6);
body
{
background-image:url("../../images/oceanimagedesktop.jpg");
}

.nav {
background-color: grey;
height: 30px;
Expand All @@ -19,7 +13,6 @@
color: white;
margin-right: 2em;
text-decoration: none;

}
.container{
position: fixed;
Expand All @@ -40,23 +33,20 @@
}
.container .title::before{
content: "";
position: absolute;
position: fixed;
left: auto;
bottom: auto;
height: 3px;
width: 30px;
border-radius: 5px;
background: linear-gradient(135deg, #71b7e6, #9b59b6);
background: linear-gradient(135deg, #71b7e6, #314fa1);
}
.content form .user-details{
display: flex;
flex-wrap: wrap;
justify-content: space-between;
margin: 20px 0 12px 0;
}
.positioning{
width: 8em;
}
form .user-details .input-box{
margin-bottom: 15px;
width: calc(100% / 2 - 20px);
Expand Down Expand Up @@ -130,11 +120,11 @@ form .input-box span.details{
letter-spacing: 1px;
cursor: pointer;
transition: all 0.3s ease;
background: linear-gradient(135deg, #71b7e6, #9b59b6);
background: linear-gradient(135deg, #71b7e6, #314fa1);
}
form .button input:hover{
/* transform: scale(0.99); */
background: linear-gradient(-135deg, #71b7e6, #9b59b6);
background: linear-gradient(-135deg, #71b7e6, #314fa1);
}
@media(max-width: 584px){
.container{
Expand All @@ -154,7 +144,8 @@ form .user-details .input-box{
.user-details::-webkit-scrollbar{
width: 5px;
}
}
}

@media(max-width: 459px){
.container .content .category{
flex-direction: column;
Expand Down
44 changes: 44 additions & 0 deletions src/Pages/AccountPage/AccountPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,50 @@ import { useHistory } from "react-router-dom";


function getAccountInformation() {

return (
<body>
<div class="container">
<div class="title">Profile</div>
<div class="content">
<form action="#">
<div class="user-details">
<div class="input-box">
<span class="details"><strong>First Name</strong></span>
<input type="text" required></input>
</div>
<div class="input-box">
<span class="details"><strong>Last Name</strong></span>
<input type="text" required></input>
</div>
<div class="input-box">
<span class="details"><strong>Username</strong></span>
<input type="text" required></input>
</div>
<div class="input-box">
<span class="details"><strong>Email</strong></span>
<input type="text" required></input>
</div>
<div class="input-box">
<span class="details"> <strong>Phone Number</strong></span>
<input type="text" required></input>
</div>
<div class="input-box">
<span class="details"><strong>Address</strong></span>
<input type="text" required></input>
</div>
</div>
<div class="button">
<input type="submit" value="Profile"></input>
</div>
</form>
</div>
</div>
</body>
);

}
=======

return (
<positioning>
Expand Down