1 line
9.2 KiB
JSON
1 line
9.2 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-menu-button layout-topbar-button\",\n onClick: props.onToggleMenuClick,\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 14,\n columnNumber: 13\n }\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-bars\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 15,\n columnNumber: 17\n }\n })), /*#__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: 23,\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: 24,\n columnNumber: 25\n }\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-calendar\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 25,\n columnNumber: 29\n }\n }), /*#__PURE__*/React.createElement(\"span\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 26,\n columnNumber: 29\n }\n }, \"Events\"))), /*#__PURE__*/React.createElement(\"li\", {\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 29,\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: 30,\n columnNumber: 25\n }\n }, /*#__PURE__*/React.createElement(\"i\", {\n className: \"pi pi-cog\",\n __self: _this,\n __source: {\n fileName: _jsxFileName,\n lineNumber: 31,\n columnNumber: 29\n
|