diff --git a/src/app/menu-items/menu-items.component.html b/src/app/menu-items/menu-items.component.html
index a6f9825..773b74a 100644
--- a/src/app/menu-items/menu-items.component.html
+++ b/src/app/menu-items/menu-items.component.html
@@ -1 +1,106 @@
-
menu-items works!
+
+
+
+
+
+
+ Item No |
+ Item Name |
+ Preperation Time |
+ Price |
+ Availability Status |
+
+
+
+ 14344 |
+ 8 Pc Hot & Crispy |
+ 15 Min |
+ ₹ 750 |
+
+
+ |
+
+
+
+ 14344 |
+ 8 Pc Hot & Crispy |
+ 15 Min |
+ ₹ 750 |
+
+
+ |
+
+
+
+ 14344 |
+ 8 Pc Hot & Crispy |
+ 15 Min |
+ ₹ 750 |
+
+
+ |
+
+
+
+ 14344 |
+ 8 Pc Hot & Crispy |
+ 15 Min |
+ ₹ 750 |
+
+
+ |
+
+
+
+
+
+
+
+ -
+ Buy 2 Solo Bucket @ ₹ 599
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsum quia, quo dolor tenetur porro amet cumque aspernatur illum culpa veniam quae blanditiis, adipisci delectus dolorem aliquam soluta repellendus pariatur facere.
+
+ Valid till : 2 Days, Hrs: 15:25:20
+
+
+ -
+ Buy 2 Solo Bucket @ ₹ 599
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsum quia, quo dolor tenetur porro amet cumque aspernatur illum culpa veniam quae blanditiis, adipisci delectus dolorem aliquam soluta repellendus pariatur facere.
+
+ Valid till : 2 Days, Hrs: 15:25:20
+
+
+ -
+ Buy 2 Solo Bucket @ ₹ 599
+
+ Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsum quia, quo dolor tenetur porro amet cumque aspernatur illum culpa veniam quae blanditiis, adipisci delectus dolorem aliquam soluta repellendus pariatur facere.
+
+ Valid till : 2 Days, Hrs: 15:25:20
+
+
+
+
diff --git a/src/app/menu-items/menu-items.component.scss b/src/app/menu-items/menu-items.component.scss
index e69de29..608d747 100644
--- a/src/app/menu-items/menu-items.component.scss
+++ b/src/app/menu-items/menu-items.component.scss
@@ -0,0 +1,173 @@
+.container {
+ display: flex;
+ width: 95%;
+ margin-left: auto;
+ align-items: stretch;
+ height: 100%;
+
+ .item-details {
+ width: 65%;
+ margin-right: auto;
+ }
+}
+
+.widget-heading-holder {
+ width: 100%;
+}
+
+.tabs-holder {
+ display: flex;
+ width: auto;
+ border-radius: 20px;
+ overflow: hidden;
+ background-color: white;
+ width: 150px;
+ position: relative;
+
+ &.left {
+ button {
+ &:first-child {
+ color: white;
+ }
+ }
+ }
+
+ &.right {
+ button {
+ &:last-child {
+ color: white;
+ }
+ }
+
+ &::before {
+ transform: translateX(100%);
+ }
+ }
+
+ &::before {
+ content: '';
+ position: absolute;
+ background-color: var(--brand-blue);
+ border-radius: 20px;
+ width: 50%;
+ height: 100%;
+ transition: transform 0.5s;
+ }
+
+ button {
+ position: relative;
+ border-radius: 20px;
+ border: 0;
+ font-size: 14px;
+ height: 35px;
+ width: 50%;
+ background-color: transparent;
+ color: var(--brand-blue);
+ font-weight: 500;
+ transition: color 0.3s;
+ }
+}
+
+
+table {
+ width: 100%;
+ margin: 30px 0;
+ text-align: left;
+
+ th {
+ color: var(--grey);
+ font-size: 14px;
+ font-weight: 500;
+ padding: 10px 0;
+ letter-spacing: 0.5px;
+ }
+
+ td {
+ border-top: 1px solid rgba(#cecece, 0.5);
+ padding: 10px 0;
+ color: var(--dark-grey);
+ font-size: 14px;
+ font-weight: 500;
+ letter-spacing: 1px;
+ line-height: 2;
+ vertical-align: top;
+ width: calc(100% / 5);
+
+ &:nth-child(3) {
+ padding-left: 20px;
+ }
+ }
+}
+
+.subscribed-offers {
+ width: 30%;
+ background-color: white;
+ padding: 30px 30px;
+ list-style: none;
+ height: calc(100vh - 70px);
+ overflow: auto;
+
+ &:hover {
+ &::-webkit-scrollbar {
+ display: block;
+ }
+ }
+
+ &::-webkit-scrollbar {
+ width: 8px;
+ display: none;
+ }
+
+ /* Track */
+ &::-webkit-scrollbar-track {
+ background-color: white;
+ }
+ /* Handle */
+ &::-webkit-scrollbar-thumb {
+ background-color: rgba(black, 0.2);
+ }
+ /* Handle on hover */
+ &::-webkit-scrollbar-thumb:hover {
+ background-color: rgba(black, 0.5);
+ }
+
+ .heading {
+ display: flex;
+ width: 100%;
+ justify-content: space-between;
+ align-items: center;
+ margin-bottom: 20px;
+
+
+ header {
+ font-size: 16px;
+ letter-spacing: 1px;
+ font-weight: 500;
+ }
+
+ a {
+ color: var(--brand-blue);
+ text-decoration: underline;
+ font-size: 14px;
+ }
+ }
+
+ li {
+ padding: 10px 0;
+ border-top: 1px solid #cecece;
+
+ header {
+ margin: 10px 0;
+ font-size: 16px;
+ font-weight: 500;
+ color: var(--dark-grey);
+ }
+
+ p {
+ font-size: 13px;
+ color: var(--grey);
+ line-height: 1.5;
+ letter-spacing: 0.5px;
+ }
+ }
+}
diff --git a/src/app/menu-items/menu-items.component.ts b/src/app/menu-items/menu-items.component.ts
index e517414..9e17fa1 100644
--- a/src/app/menu-items/menu-items.component.ts
+++ b/src/app/menu-items/menu-items.component.ts
@@ -1,15 +1,17 @@
import { Component, OnInit } from '@angular/core';
@Component({
- selector: 'app-menu-items',
- templateUrl: './menu-items.component.html',
- styleUrls: ['./menu-items.component.scss']
+ selector: 'app-menu-items',
+ templateUrl: './menu-items.component.html',
+ styleUrls: ['./menu-items.component.scss']
})
export class MenuItemsComponent implements OnInit {
+ selectedTab: string = 'items';
+ productAvailable: boolean = false;
- constructor() { }
+ constructor() { }
- ngOnInit() {
- }
+ ngOnInit() {
+ }
}
diff --git a/src/app/widgets-holder/widgets-holder.component.html b/src/app/widgets-holder/widgets-holder.component.html
index 995602c..13484f3 100644
--- a/src/app/widgets-holder/widgets-holder.component.html
+++ b/src/app/widgets-holder/widgets-holder.component.html
@@ -43,5 +43,6 @@
diff --git a/src/app/widgets-holder/widgets-holder.component.ts b/src/app/widgets-holder/widgets-holder.component.ts
index 30c0949..b05a8c7 100644
--- a/src/app/widgets-holder/widgets-holder.component.ts
+++ b/src/app/widgets-holder/widgets-holder.component.ts
@@ -6,7 +6,7 @@ import { Component, OnInit } from '@angular/core';
styleUrls: ['./widgets-holder.component.scss']
})
export class WidgetsHolderComponent implements OnInit {
- selected_nav: string = 'orders';
+ selected_nav: string = 'items';
constructor() { }
diff --git a/src/styles.scss b/src/styles.scss
index b129fc1..5cbce88 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -127,3 +127,34 @@ button {
}
}
}
+
+
+.toggle {
+ position: relative;
+ border-radius: 20px;
+ background-color: #cecece;
+ width: 50px;
+ height: 20px;
+ display: flex;
+ align-items: center;
+ margin: 0 auto;
+ transition: background-color 0.4s;
+
+ &.on {
+ background-color: #8cc63f;
+
+ .knob {
+ transform: translateX(calc(50px - 18px));
+ }
+ }
+
+ .knob {
+ width: 16px;
+ height: 16px;
+ border-radius: 50%;
+ background-color: white;
+ position: relative;
+ transition: transform 0.4s;
+ transform: translateX(2px);
+ }
+}