-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1498 from Ansh101112/fgcust
Customer services added
- Loading branch information
Showing
5 changed files
with
912 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Customer Service - Flipkart Clone</title> | ||
<link rel="stylesheet" href="styles.css"> | ||
</head> | ||
<body> | ||
<header id="header-addkart" class="text-center text-secondary fs-4"> | ||
This is Header | ||
</header> | ||
|
||
<section class="hero"> | ||
<div class="container"> | ||
<h2>Customer Service - 24x7 Support</h2> | ||
<p>We are here to help you 24 hours a day, 7 days a week.</p> | ||
</div> | ||
</section> | ||
|
||
<section class="services"> | ||
<div class="container"> | ||
<h2>How can we help you?</h2> | ||
<div class="service-grid"> | ||
<div class="service"> | ||
<h3>Order Status</h3> | ||
<p>Check the status of your order.</p> | ||
<a href="../helpcenter.html"><button>Track Order</button></a> | ||
</div> | ||
<div class="service"> | ||
<h3>Returns</h3> | ||
<p>Return a product easily.</p> | ||
<a href="../helpcenter.html"><button>Initiate Return</button></a> | ||
</div> | ||
<div class="service"> | ||
<h3>Payment Issues</h3> | ||
<p>Resolve your payment-related queries.</p> | ||
<a href="../helpcenter.html"><button>Get Help</button></a> | ||
</div> | ||
<div class="service"> | ||
<h3>Account</h3> | ||
<p>Manage your account settings.</p> | ||
<a href="../dashboard/userdashboard.html"><button>Account Settings</button></a> | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
|
||
|
||
<footer id="footer-addkart" style="background-color: #203a61 !important"></footer> | ||
|
||
<script src="script.js"></script> | ||
</body> | ||
</html> |
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
document.addEventListener("DOMContentLoaded", () => { | ||
[ | ||
{ id: "footer-addkart", url: "../footer/footer.html" }, | ||
{ id: "header-addkart", url: "../header/header.html" }, | ||
].forEach(({ id, url }) => | ||
fetch(url) | ||
.then((res) => res.text()) | ||
.then((data) => (document.getElementById(id).innerHTML = data)) | ||
.catch((err) => console.error(`Error loading ${url}:`, err)) | ||
); | ||
}); |
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 |
---|---|---|
@@ -0,0 +1,125 @@ | ||
* { | ||
margin: 0; | ||
padding: 0; | ||
box-sizing: border-box; | ||
font-family: 'Arial', sans-serif; | ||
} | ||
|
||
body { | ||
background-color: #f9f9f9; | ||
color: #333; | ||
line-height: 1.6; | ||
} | ||
|
||
.container { | ||
width: 80%; | ||
margin: auto; | ||
overflow: hidden; | ||
} | ||
|
||
header { | ||
background: #0073e6; | ||
color: #fff; | ||
padding-top: 30px; | ||
min-height: 70px; | ||
border-bottom: #0073e6 3px solid; | ||
} | ||
|
||
header a { | ||
color: #fff; | ||
text-decoration: none; | ||
text-transform: uppercase; | ||
font-size: 16px; | ||
} | ||
|
||
header ul { | ||
padding: 0; | ||
list-style: none; | ||
} | ||
|
||
header li { | ||
float: left; | ||
display: inline; | ||
padding: 0 20px 0 20px; | ||
} | ||
|
||
header nav { | ||
float: right; | ||
margin-top: 10px; | ||
} | ||
|
||
header .container { | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
} | ||
|
||
.hero { | ||
background: #0073e6; | ||
color: #fff; | ||
padding: 50px 0; | ||
text-align: center; | ||
} | ||
|
||
.hero h2 { | ||
font-size: 36px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
.hero p { | ||
font-size: 18px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.services { | ||
padding: 30px 0; | ||
} | ||
|
||
.services .container h2 { | ||
text-align: center; | ||
margin-bottom: 30px; | ||
} | ||
|
||
.service-grid { | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); | ||
gap: 20px; | ||
} | ||
|
||
.service { | ||
background: #fff; | ||
padding: 20px; | ||
border: 1px solid #ccc; | ||
border-radius: 5px; | ||
text-align: center; | ||
} | ||
|
||
.service h3 { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.service p { | ||
margin-bottom: 20px; | ||
} | ||
|
||
.service button { | ||
background: #0073e6; | ||
color: #fff; | ||
border: none; | ||
padding: 10px 20px; | ||
cursor: pointer; | ||
border-radius: 5px; | ||
text-transform: uppercase; | ||
} | ||
|
||
.service button:hover { | ||
background: #005bb5; | ||
} | ||
|
||
footer { | ||
background: #333; | ||
color: #fff; | ||
text-align: center; | ||
padding: 20px 0; | ||
margin-top: 30px; | ||
} |
Oops, something went wrong.