@@ -6,7 +6,7 @@ export const dashboardSchema: DashboardSchema = {
66 widgets : [
77 {
88 id : "w1" ,
9- layout : { w : 1 , h : 1 } ,
9+ layout : { x : 0 , y : 0 , w : 1 , h : 1 } ,
1010 component : {
1111 type : "card" ,
1212 props : { title : "Total Revenue" } ,
@@ -17,7 +17,7 @@ export const dashboardSchema: DashboardSchema = {
1717 } ,
1818 {
1919 id : "w2" ,
20- layout : { w : 1 , h : 1 } ,
20+ layout : { x : 1 , y : 0 , w : 1 , h : 1 } ,
2121 component : {
2222 type : "card" ,
2323 props : { title : "Active Leads" } ,
@@ -28,7 +28,7 @@ export const dashboardSchema: DashboardSchema = {
2828 } ,
2929 {
3030 id : "w3" ,
31- layout : { w : 1 , h : 1 } ,
31+ layout : { x : 2 , y : 0 , w : 1 , h : 1 } ,
3232 component : {
3333 type : "card" ,
3434 props : { title : "Open Deals" } ,
@@ -39,7 +39,7 @@ export const dashboardSchema: DashboardSchema = {
3939 } ,
4040 {
4141 id : "w4" ,
42- layout : { w : 2 , h : 2 } ,
42+ layout : { x : 0 , y : 1 , w : 2 , h : 2 } ,
4343 title : "Sales Pipeline" ,
4444 component : {
4545 type : "widget:bar" ,
@@ -56,7 +56,7 @@ export const dashboardSchema: DashboardSchema = {
5656 } ,
5757 {
5858 id : "w5" ,
59- layout : { w : 1 , h : 2 } ,
59+ layout : { x : 2 , y : 1 , w : 1 , h : 2 } ,
6060 title : "Recent Activity" ,
6161 component : {
6262 type : "widget:text" ,
0 commit comments