Files
assetx/.next/static/webpack/app/page.8e888f2655c17e25.hot-update.js

22 lines
21 KiB
JavaScript
Raw Normal View History

2026-01-26 17:44:27 +08:00
"use strict";
/*
* ATTENTION: An "eval-source-map" devtool has been used.
* This devtool is neither made for production nor for readable output files.
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
* or disable the default devtool with "devtool: false".
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
*/
self["webpackHotUpdate_N_E"]("app/page",{
/***/ "(app-pages-browser)/./components/Sidebar.tsx":
/*!********************************!*\
!*** ./components/Sidebar.tsx ***!
\********************************/
/***/ ((module, __webpack_exports__, __webpack_require__) => {
eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ Sidebar)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(app-pages-browser)/./node_modules/next/dist/compiled/react/jsx-dev-runtime.js\");\n/* harmony import */ var next_image__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/image */ \"(app-pages-browser)/./node_modules/next/dist/api/image.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! react */ \"(app-pages-browser)/./node_modules/next/dist/compiled/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_2___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__);\n/* harmony import */ var _NavItem__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ./NavItem */ \"(app-pages-browser)/./components/NavItem.tsx\");\n/* harmony import */ var _contexts_AppContext__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! @/contexts/AppContext */ \"(app-pages-browser)/./contexts/AppContext.tsx\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \nvar _s = $RefreshSig$();\n\n\n\n\nfunction Sidebar() {\n _s();\n const { t } = (0,_contexts_AppContext__WEBPACK_IMPORTED_MODULE_4__.useApp)();\n const [activeItem, setActiveItem] = (0,react__WEBPACK_IMPORTED_MODULE_2__.useState)(\"Assets\");\n const navigationItems = [\n {\n icon: \"/icon-assets.svg\",\n label: t(\"nav.assets\"),\n key: \"Assets\",\n path: \"/\"\n },\n {\n icon: \"/icon-alp.svg\",\n label: t(\"nav.alp\"),\n key: \"ALP\",\n path: \"/alp\"\n },\n {\n icon: \"/icon-swap.svg\",\n label: t(\"nav.swap\"),\n key: \"Swap\",\n path: \"/swap\"\n },\n {\n icon: \"/icon-lending.svg\",\n label: t(\"nav.lending\"),\n key: \"Lending\",\n path: \"/lending\"\n },\n {\n icon: \"/icon-transparency.svg\",\n label: t(\"nav.transparency\"),\n key: \"Transparency\",\n path: \"/transparency\"\n },\n {\n icon: \"/icon-ecosystem.svg\",\n label: t(\"nav.ecosystem\"),\n key: \"Ecosystem\",\n path: \"/ecosystem\"\n },\n {\n icon: \"/icon-points.svg\",\n label: t(\"nav.points\"),\n key: \"Points\",\n path: \"/points\"\n }\n ];\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"aside\", {\n className: \"fixed left-0 top-0 bg-bg-surface dark:bg-gray-800 border-r border-border-normal dark:border-gray-700 flex flex-col items-center px-6 py-8 gap-8 h-screen w-[222px] overflow-y-auto\",\n children: [\n /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(\"div\", {\n className: \"w-full h-10\",\n children: /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_image__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n src: \"/logo.svg\",\n alt: \"ASSETX Logo\",\n width: 174,\n height: 40,\n className: \"w-full h-full\"\n }, void 0, false, {\n fileName: \"/home/coder/myprojects/asset-dashboard-next/components/Sidebar.tsx\",\n lineNumber: 26,\n columnNumber: 9\n }, this)\n }, void 0, false, {\n fileName: \"/home/coder/myprojects/asset-dashboard-next/components/Sidebar.tsx\",\n lineNumber: 25,\n columnNumber: 7\n }, this),\n /*#__PURE__*/
/***/ })
});