Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Corporate information page #1506

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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
276 changes: 276 additions & 0 deletions pages/Cancellation_and_Returns/index.html

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions pages/Cancellation_and_Returns/script.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// to apply styling to the first paragraph that is immediately followed by a ul element

document.querySelectorAll('p + ul').forEach(ul => {
ul.previousElementSibling.classList.add('highlight');
});
209 changes: 209 additions & 0 deletions pages/Cancellation_and_Returns/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,209 @@
* {
box-sizing: border-box;
padding: 0;
margin: 0;
font-family: Arial, Helvetica, sans-serif;
font-weight: 400;
/* border: 1px solid red; */
}

body {
background-color: #f1f3f6;
}

nav {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
padding: 8px 5%;
background-color: #2874F0;
}

.nav-left {
display: flex;
align-items: center;
gap: 20px;
}

input {
width: 40vw;
padding: 10px;
}

button {
padding: 10px 20px;
width: 150px;
color: rgb(75, 75, 255);
background-color: white;
font-weight: 600;
border: none;
}

.search {
position: relative;
}

i {
position: absolute;
top: 30%;
right: 0;
color: rgb(75, 75, 255);
height: 100%;
width: 30px;

}

#footer-inner-container
{
display: flex;
justify-content: space-between;
align-items: center;
color: rgb(113, 113, 113);
font-size: 13px;
font-family: sans-serif;
padding: 1em 3em;
background-color: white;
height: 4rem;
}
#tnc-container
{
display: flex;
justify-content: center;
align-items: center;
}
#tnc-container > div
{
margin-right: 0.5em;
}
#tnc-container > div a
{
text-decoration: none;
color: rgb(113, 113, 113);
}
#bullet-point
{
height: 4px;
width: 4px;
background-color: rgb(113, 113, 113);
border-radius: 50%;
}

#logo-footer
{
height: 3.125rem;
}

main
{
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 2rem 5%;
}

main > div > a::after
{
content: " | ";
}

main > div > a:last-of-type::after
{
content: "";
}

p
{
margin: 1rem 0rem;
}

p > strong
{
font-weight: 700;
}

ul
{
padding: 1rem;
}

li
{
margin: 1rem 0rem;
}

.highlight
{
color: #2874F0;
font-weight: 700;
font-style: italic;
}

a:visited, a:link
{
text-decoration: none;
color: black;
}
a:hover, a:active
{
color: #2455f4;
text-decoration: underline;
}

#order-cancellation-and-return-policy
{
margin: 3rem auto;
text-decoration: underline;
}

h1
{
margin: 2rem 0rem;
}

h2
{
margin: 2rem 0rem;
}

table, tr, th, td
{
border: 1px solid black;
border-collapse: collapse;
}

td, th
{
padding: 10px;
}

@media screen and (max-width : 890px) {

input {
width: 40vw;
padding: 5px;
font-size: 12px;
}

nav button {
padding: 5px;
width: 100px;
font-size: 12px;
}

.nav-left {
gap: 10px;
}
}

@media screen and (max-width : 670px) {
nav img {
height: 20px;
}

input,
nav button {
font-size: 8px;
}

}
Binary file added pages/Corporate_Information/corp-info_image.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
55 changes: 55 additions & 0 deletions pages/Corporate_Information/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="./style.css">
<title>Flipkart - Corporate Information</title>
</head>
<body>
<nav>
<div class="nav-left">
<a class="navbar-brand" href="https://flipkart-clone-seven-azure.vercel.app/">
<img src="../../img/flipcartlogo.PNG" width=auto height="40" title="Flipkart" alt="Flipkart" />
</a>
<div class="search">
<input type="search" placeholder="Search for products, brands and more...">
<i class="fa fa-search" aria-hidden="true"></i>
</div>
</div>
<a href="../account/login-signup.html"><button>Login</button></a>
</nav>
<main>
<img src="./corp-info_image.jpeg" alt="corporate-building-image">
<div>
<h1>Corporate Information</h1>
<ul>
<li>
<a href="#">Corporate Social Responsibility Policy</a>
</li>
<li>
<a href="#">Annual Returns</a>
</li>
<li>
<a href="#">Director's Information</a>
</li>
</ul>
</div>
</main>
<footer>
<div id="footer-inner-container">
<div><img id="logo-footer" src="./images/flipkart_logo.png" alt="flipkart_seller_hub_logo"></div>
<div><p>&copy; 2023 Flipkart. All Rights Reserved</p></div>
<div id="tnc-container">
<div>
<a href="sell_online.html">Privacy Policy</a>
</div>
<div id="bullet-point"></div>
<div>
<a href="sell_online.html">Terms Of Use</a>
</div>
</div>
</div>
</footer>
</body>
</html>
Loading
Loading