-
Notifications
You must be signed in to change notification settings - Fork 513
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 #929 from PrabhjotBajwa/smallbranch
<Added Notification page inside 3 dots under navbar section>
- Loading branch information
Showing
3 changed files
with
132 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
body { | ||
background-color: #f8f9fa; | ||
} | ||
|
||
.navbar { | ||
background-color: #2874f0; | ||
} | ||
|
||
.navbar-brand { | ||
color: #fff; | ||
} | ||
|
||
.nav-link { | ||
color: #fff !important; | ||
} | ||
|
||
.card { | ||
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); | ||
border-radius: 8px; | ||
} | ||
|
||
.bg-gradient { | ||
background: linear-gradient(45deg, #2874f0, #1e90ff); | ||
animation: gradientAnimation 5s ease infinite; | ||
} | ||
|
||
@keyframes gradientAnimation { | ||
0% { background-position: 0% 50%; } | ||
50% { background-position: 100% 50%; } | ||
100% { background-position: 0% 50%; } | ||
} | ||
|
||
.text-white { | ||
color: #fff !important; | ||
} | ||
|
||
.custom-control-input:checked ~ .custom-control-label::before { | ||
background-color: #2874f0; | ||
} | ||
|
||
.btn-primary { | ||
background-color: #2874f0; | ||
border-color: #2874f0; | ||
transition: background-color 0.3s ease, box-shadow 0.3s ease; | ||
} | ||
|
||
.btn-primary:hover { | ||
background-color: #1e90ff; | ||
box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3); | ||
} | ||
|
||
.container { | ||
max-width: 600px; | ||
} | ||
|
||
.card-body { | ||
padding: 2rem; | ||
} | ||
|
||
|
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,71 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>Flipkart Notification Preferences</title> | ||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"> | ||
<link rel="stylesheet" href="notification.css"> | ||
</head> | ||
<body> | ||
|
||
<div class="container mt-5 wider-card"> | ||
<div class="card"> | ||
<div class="card-header bg-gradient text-white"> | ||
<h3>Notification Preferences</h3> | ||
</div> | ||
<div class="card-body"> | ||
<form> | ||
<div class="form-group"> | ||
<label>Email Notifications</label> | ||
<div class="custom-control custom-switch"> | ||
<input type="checkbox" class="custom-control-input" id="emailNotifications"> | ||
<label class="custom-control-label" for="emailNotifications">Enable</label> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label>SMS Notifications</label> | ||
<div class="custom-control custom-switch"> | ||
<input type="checkbox" class="custom-control-input" id="smsNotifications"> | ||
<label class="custom-control-label" for="smsNotifications">Enable</label> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label>Push Notifications</label> | ||
<div class="custom-control custom-switch"> | ||
<input type="checkbox" class="custom-control-input" id="pushNotifications"> | ||
<label class="custom-control-label" for="pushNotifications">Enable</label> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label>Order Updates</label> | ||
<div class="custom-control custom-switch"> | ||
<input type="checkbox" class="custom-control-input" id="orderUpdates"> | ||
<label class="custom-control-label" for="orderUpdates">Enable</label> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label>Promotional Offers</label> | ||
<div class="custom-control custom-switch"> | ||
<input type="checkbox" class="custom-control-input" id="promoOffers"> | ||
<label class="custom-control-label" for="promoOffers">Enable</label> | ||
</div> | ||
</div> | ||
<div class="form-group"> | ||
<label>Feedback Requests</label> | ||
<div class="custom-control custom-switch"> | ||
<input type="checkbox" class="custom-control-input" id="feedbackRequests"> | ||
<label class="custom-control-label" for="feedbackRequests">Enable</label> | ||
</div> | ||
</div> | ||
<button type="submit" class="btn btn-primary">Save Preferences</button> | ||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"></script> | ||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script> | ||
</body> | ||
</html> |