katoikia-app/web-ui/web-react/node_modules/.cache/babel-loader/ccf78752327c09c334315faee72...

1 line
6.3 KiB
JSON

{"ast":null,"code":"var _this = this,\n _jsxFileName = \"/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/src/AppTopbar.js\";\n\nimport React from 'react';\nimport { Link } from 'react-router-dom';\nimport classNames from 'classnames';\nexport var AppTopbar = function AppTopbar(props) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"layout-topbar\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 8,\n columnNumber: 9\n }\n }, /*#__PURE__*/React.createElement(Link, {\n to: \"/\",\n className: \"layout-topbar-logo\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 9,\n columnNumber: 13\n }\n }, /*#__PURE__*/React.createElement(\"img\", {\n src: props.layoutColorMode === 'light' ? 'assets/layout/images/logo-dark.svg' : 'assets/layout/images/logo-white.svg',\n alt: \"logo\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 10,\n columnNumber: 17\n }\n }), /*#__PURE__*/React.createElement(\"span\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 11,\n columnNumber: 17\n }\n }, \"KATOIKIA\")), /*#__PURE__*/React.createElement(\"button\", {\n type: \"button\",\n className: \"p-link layout-topbar-menu-button layout-topbar-button\",\n onClick: props.onMobileTopbarMenuClick,\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 18,\n columnNumber: 13\n }\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-ellipsis-v\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 19,\n columnNumber: 17\n }\n })), /*#__PURE__*/React.createElement(\"ul\", {\n className: classNames(\"layout-topbar-menu lg:flex origin-top\", {\n 'layout-topbar-menu-mobile-active': props.mobileTopbarMenuActive\n }),\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 22,\n columnNumber: 17\n }\n }, /*#__PURE__*/React.createElement(\"li\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 35,\n columnNumber: 21\n }\n }, /*#__PURE__*/React.createElement(\"button\", {\n className: \"p-link layout-topbar-button\",\n onClick: props.onMobileSubTopbarMenuClick,\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 36,\n columnNumber: 25\n }\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-user\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 37,\n columnNumber: 29\n }\n }), /*#__PURE__*/React.createElement(\"span\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 38,\n columnNumber: 29\n }\n }, \"Profile\")))));\n};","map":{"version":3,"names":["React","Link","classNames","AppTopbar","props","layoutColorMode","onMobileTopbarMenuClick","mobileTopbarMenuActive","onMobileSubTopbarMenuClick"],"sources":["/Users/paolasanchez/Desktop/Pry4/Katoikia/katoikia-app/web-ui/sakai-react/src/AppTopbar.js"],"sourcesContent":["import React from 'react';\nimport { Link } from 'react-router-dom';\nimport classNames from 'classnames';\n\nexport const AppTopbar = (props) => {\n\n return (\n <div className=\"layout-topbar\">\n <Link to=\"/\" className=\"layout-topbar-logo\">\n <img src={props.layoutColorMode === 'light' ? 'assets/layout/images/logo-dark.svg' : 'assets/layout/images/logo-white.svg'} alt=\"logo\"/>\n <span>KATOIKIA</span>\n </Link>\n\n {/* <button type=\"button\" className=\"p-link layout-menu-button layout-topbar-button\" onClick={props.onToggleMenuClick}>\n <i className=\"pi pi-bars\"/>\n </button> */}\n\n <button type=\"button\" className=\"p-link layout-topbar-menu-button layout-topbar-button\" onClick={props.onMobileTopbarMenuClick}>\n <i className=\"pi pi-ellipsis-v\" />\n </button>\n\n <ul className={classNames(\"layout-topbar-menu lg:flex origin-top\", {'layout-topbar-menu-mobile-active': props.mobileTopbarMenuActive })}>\n {/* <li>\n <button className=\"p-link layout-topbar-button\" onClick={props.onMobileSubTopbarMenuClick}>\n <i className=\"pi pi-calendar\"/>\n <span>Events</span>\n </button>\n </li> */}\n {/* <li>\n <button className=\"p-link layout-topbar-button\" onClick={props.onMobileSubTopbarMenuClick}>\n <i className=\"pi pi-cog\"/>\n <span>Settings</span>\n </button>\n </li> */}\n <li>\n <button className=\"p-link layout-topbar-button\" onClick={props.onMobileSubTopbarMenuClick}>\n <i className=\"pi pi-user\"/>\n <span>Profile</span>\n </button>\n </li>\n </ul>\n </div>\n );\n}\n"],"mappings":";;;AAAA,OAAOA,KAAP,MAAmB,OAAnB;AACA,SAASC,IAAT,QAAqB,kBAArB;AACA,OAAOC,UAAP,MAAuB,YAAvB;AAEA,OAAO,IAAMC,SAAS,GAAG,SAAZA,SAAY,CAACC,KAAD,EAAW;EAEhC,oBACI;IAAK,SAAS,EAAC,eAAf;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,gBACI,oBAAC,IAAD;IAAM,EAAE,EAAC,GAAT;IAAa,SAAS,EAAC,oBAAvB;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,gBACI;IAAK,GAAG,EAAEA,KAAK,CAACC,eAAN,KAA0B,OAA1B,GAAoC,oCAApC,GAA2E,qCAArF;IAA4H,GAAG,EAAC,MAAhI;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,EADJ,eAEI;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,cAFJ,CADJ,eAUI;IAAQ,IAAI,EAAC,QAAb;IAAsB,SAAS,EAAC,uDAAhC;IAAwF,OAAO,EAAED,KAAK,CAACE,uBAAvG;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,gBACI;IAAG,SAAS,EAAC,kBAAb;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,EADJ,CAVJ,eAcQ;IAAI,SAAS,EAAEJ,UAAU,CAAC,uCAAD,EAA0C;MAAC,oCAAoCE,KAAK,CAACG;IAA3C,CAA1C,CAAzB;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,gBAaI;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,gBACI;IAAQ,SAAS,EAAC,6BAAlB;IAAgD,OAAO,EAAEH,KAAK,CAACI,0BAA/D;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,gBACI;IAAG,SAAS,EAAC,YAAb;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,EADJ,eAEI;IAAA;IAAA;MAAA;MAAA;MAAA;IAAA;EAAA,aAFJ,CADJ,CAbJ,CAdR,CADJ;AAqCH,CAvCM"},"metadata":{},"sourceType":"module"}