nyx-dashboard/.next/static/chunks/pages/index-60b9da01a8071a5f781c.js
2021-06-20 22:01:27 +08:00

1 line
No EOL
2.6 KiB
JavaScript

(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{2127:function(n,e,s){"use strict";s.d(e,{Z:function(){return N}});var a=s(5893),o=s(7294),r=s(1120),t=s(2122),i=s(1253),l=(s(5697),s(6010)),c=s(9895),d=s(8786),m=o.forwardRef((function(n,e){var s=n.classes,a=n.className,r=n.raised,d=void 0!==r&&r,m=(0,i.Z)(n,["classes","className","raised"]);return o.createElement(c.Z,(0,t.Z)({className:(0,l.Z)(s.root,a),elevation:d?8:1,ref:e},m))})),u=(0,d.Z)({root:{overflow:"hidden"}},{name:"MuiCard"})(m),f=o.forwardRef((function(n,e){var s=n.disableSpacing,a=void 0!==s&&s,r=n.classes,c=n.className,d=(0,i.Z)(n,["disableSpacing","classes","className"]);return o.createElement("div",(0,t.Z)({className:(0,l.Z)(r.root,c,!a&&r.spacing),ref:e},d))})),h=(0,d.Z)({root:{display:"flex",alignItems:"center",padding:8},spacing:{"& > :not(:first-child)":{marginLeft:8}}},{name:"MuiCardActions"})(f),p=o.forwardRef((function(n,e){var s=n.classes,a=n.className,r=n.component,c=void 0===r?"div":r,d=(0,i.Z)(n,["classes","className","component"]);return o.createElement(c,(0,t.Z)({className:(0,l.Z)(s.root,a),ref:e},d))})),Z=(0,d.Z)({root:{padding:16,"&:last-child":{paddingBottom:24}}},{name:"MuiCardContent"})(p),v=s(282),x=s(2318),C=(s(1664),(0,r.Z)({root:{minWidth:275},bullet:{display:"inline-block",margin:"0 2px",transform:"scale(0.8)"},title:{fontSize:14},pos:{marginBottom:12}}));function N(n){var e=C();return(0,a.jsx)("a",{href:n.link,children:(0,a.jsxs)(u,{className:e.root,style:{background:"#1F1B24"},children:[(0,a.jsxs)(Z,{children:[(0,a.jsx)(x.Z,{variant:"h5",component:"h2",children:n.title}),(0,a.jsx)(x.Z,{variant:"body2",component:"p",children:n.children})]}),(0,a.jsx)(h,{children:(0,a.jsx)(v.Z,{size:"small",children:"Learn More"})})]})})}},6124:function(n,e,s){"use strict";s.r(e),s.d(e,{default:function(){return r}});var a=s(5893),o=s(2127);function r(){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("h1",{children:"Welcome User!"}),(0,a.jsxs)("div",{className:"grid",children:[(0,a.jsx)(o.Z,{title:"Commands",link:"/controlpanel/commands",children:"Command controls"}),(0,a.jsx)(o.Z,{title:"Commands",link:"/controlpanel/commands",children:"Command controls"}),(0,a.jsx)(o.Z,{title:"Commands",link:"/controlpanel/commands",children:"Command controls"}),(0,a.jsx)(o.Z,{title:"Commands",link:"/controlpanel/commands",children:"Command controls"}),(0,a.jsx)(o.Z,{title:"Commands",link:"/controlpanel/commands",children:"Command controls"})]})]})}},8581:function(n,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return s(6124)}])}},function(n){n.O(0,[774,888,179],(function(){return e=8581,n(n.s=e);var e}));var e=n.O();_N_E=e}]);