136 lines
6.8 KiB
JavaScript
136 lines
6.8 KiB
JavaScript
(globalThis.TURBOPACK || (globalThis.TURBOPACK = [])).push([typeof document === "object" ? document.currentScript : undefined,
|
|
"[project]/app/not-found.jsx [app-client] (ecmascript)", ((__turbopack_context__) => {
|
|
"use strict";
|
|
|
|
__turbopack_context__.s([
|
|
"default",
|
|
()=>NotFound
|
|
]);
|
|
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/jsx-dev-runtime.js [app-client] (ecmascript)");
|
|
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$compiler$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/dist/compiled/react/compiler-runtime.js [app-client] (ecmascript)");
|
|
var __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$navigation$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__ = __turbopack_context__.i("[project]/node_modules/next/navigation.js [app-client] (ecmascript)");
|
|
;
|
|
var _s = __turbopack_context__.k.signature();
|
|
'use client';
|
|
;
|
|
;
|
|
function NotFound() {
|
|
_s();
|
|
const $ = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$compiler$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["c"])(9);
|
|
if ($[0] !== "a547f568887905c313b6612fb1c4f49309760e6d809bbc8014871612f51621b2") {
|
|
for(let $i = 0; $i < 9; $i += 1){
|
|
$[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
}
|
|
$[0] = "a547f568887905c313b6612fb1c4f49309760e6d809bbc8014871612f51621b2";
|
|
}
|
|
const router = (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$navigation$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRouter"])();
|
|
let t0;
|
|
let t1;
|
|
if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
|
|
t0 = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("h1", {
|
|
className: "text-9xl font-extrabold text-white-500 tracking-widest",
|
|
children: "404"
|
|
}, void 0, false, {
|
|
fileName: "[project]/app/not-found.jsx",
|
|
lineNumber: 17,
|
|
columnNumber: 10
|
|
}, this);
|
|
t1 = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("div", {
|
|
className: "bg-primary-500 px-2 text-sm rounded rotate-12 absolute text-white-500 font-medium",
|
|
children: "صفحه پیدا نشد"
|
|
}, void 0, false, {
|
|
fileName: "[project]/app/not-found.jsx",
|
|
lineNumber: 18,
|
|
columnNumber: 10
|
|
}, this);
|
|
$[1] = t0;
|
|
$[2] = t1;
|
|
} else {
|
|
t0 = $[1];
|
|
t1 = $[2];
|
|
}
|
|
let t2;
|
|
if ($[3] !== router) {
|
|
t2 = ({
|
|
"NotFound[<button>.onClick]": ()=>router.push("/")
|
|
})["NotFound[<button>.onClick]"];
|
|
$[3] = router;
|
|
$[4] = t2;
|
|
} else {
|
|
t2 = $[4];
|
|
}
|
|
let t3;
|
|
let t4;
|
|
if ($[5] === Symbol.for("react.memo_cache_sentinel")) {
|
|
t3 = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", {
|
|
className: "absolute inset-0 transition-transform rounded-full translate-x-0.5 translate-y-0.5 bg-primary-500 group-hover:translate-y-0 group-hover:translate-x-0"
|
|
}, void 0, false, {
|
|
fileName: "[project]/app/not-found.jsx",
|
|
lineNumber: 38,
|
|
columnNumber: 10
|
|
}, this);
|
|
t4 = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("span", {
|
|
className: "relative text-white font-bold text-lg rounded-full block px-8 py-3 bg-gray-900 border-2 border-primary-500 group-hover:bg-primary-500 transition-colors",
|
|
children: "بازگشت"
|
|
}, void 0, false, {
|
|
fileName: "[project]/app/not-found.jsx",
|
|
lineNumber: 39,
|
|
columnNumber: 10
|
|
}, this);
|
|
$[5] = t3;
|
|
$[6] = t4;
|
|
} else {
|
|
t3 = $[5];
|
|
t4 = $[6];
|
|
}
|
|
let t5;
|
|
if ($[7] !== t2) {
|
|
t5 = /*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("main", {
|
|
className: "h-screen w-full flex flex-col justify-center items-center bg-gray-900",
|
|
children: [
|
|
t0,
|
|
t1,
|
|
/*#__PURE__*/ (0, __TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$dist$2f$compiled$2f$react$2f$jsx$2d$dev$2d$runtime$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["jsxDEV"])("button", {
|
|
onClick: t2,
|
|
className: "mt-5 relative inline-block rounded-full text-sm font-medium text-primary-500 group active:text-primary-600 focus:outline-none focus:ring focus:ring-primary-400 transition-all",
|
|
children: [
|
|
t3,
|
|
t4
|
|
]
|
|
}, void 0, true, {
|
|
fileName: "[project]/app/not-found.jsx",
|
|
lineNumber: 48,
|
|
columnNumber: 106
|
|
}, this)
|
|
]
|
|
}, void 0, true, {
|
|
fileName: "[project]/app/not-found.jsx",
|
|
lineNumber: 48,
|
|
columnNumber: 10
|
|
}, this);
|
|
$[7] = t2;
|
|
$[8] = t5;
|
|
} else {
|
|
t5 = $[8];
|
|
}
|
|
return t5;
|
|
}
|
|
_s(NotFound, "fN7XvhJ+p5oE6+Xlo0NJmXpxjC8=", false, function() {
|
|
return [
|
|
__TURBOPACK__imported__module__$5b$project$5d2f$node_modules$2f$next$2f$navigation$2e$js__$5b$app$2d$client$5d$__$28$ecmascript$29$__["useRouter"]
|
|
];
|
|
});
|
|
_c = NotFound;
|
|
var _c;
|
|
__turbopack_context__.k.register(_c, "NotFound");
|
|
if (typeof globalThis.$RefreshHelpers$ === 'object' && globalThis.$RefreshHelpers !== null) {
|
|
__turbopack_context__.k.registerExports(__turbopack_context__.m, globalThis.$RefreshHelpers$);
|
|
}
|
|
}),
|
|
"[project]/node_modules/next/navigation.js [app-client] (ecmascript)", ((__turbopack_context__, module, exports) => {
|
|
|
|
module.exports = __turbopack_context__.r("[project]/node_modules/next/dist/client/components/navigation.js [app-client] (ecmascript)");
|
|
}),
|
|
]);
|
|
|
|
//# sourceMappingURL=_b607e383._.js.map
|