PageSourceSearch

https://hardhat-nextjs-starter-dashboard.vercel.app/_next/static/chunks/pages/index-cd6ea5a4cb06d83b.js

js hardhat-nextjs-starter-dashboard.vercel.app collected 2026-10-03 07:03:06 UTC 9,051 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[405],{48312:function(e,s,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return r(30441)}])},98895:function(e,s,r){"use strict";r.d(s,{Z:function(){return R}});var n=r(85893),a=r(67294),i=r(41782),t=r(57556),l=r(54638),c=r(12450),d=r(80943),o=r(24635),h=r(37106);function x(e,s){return s.checkActive?s.checkActive(e,s):(null===s||void 0===s?void 0:s.exact)?e==(null===s||void 0===s?void 0:s.href):!!(null===s||void 0===s?void 0:s.href)&&0===e.indexOf(s.href)}var m=[{name:"Dashboard",href:"/",icon:i.Z,current:!0,exact:!0},{name:"Theme Preview",href:"/themePreview",icon:t.Z,current:!1},{name:"404",href:"/404",icon:l.Z,current:!1},{name:"500",href:"/500",icon:c.Z,current:!1}],u=[{name:"Docs",href:"#",icon:d.Z},{name:"Settings",href:"#",icon:o.Z}],f=[{name:"GitHub",href:"https://github.com/JonnysCode/hardhat-nextjs-starter-dashboard",icon:h.VnC},{name:"Twitter",href:"https://github.com/JonnysCode/hardhat-nextjs-starter-dashboard",icon:h.JOw},{name:"Discord",href:"https://github.com/JonnysCode/hardhat-nextjs-starter-dashboard",icon:h.dWL},{name:"Medium",href:"https://github.com/JonnysCode/hardhat-nextjs-starter-dashboard",icon:h.lDb}],j=[{name:"About",href:"#"},{name:"Privacy",href:"#"},{name:"Terms",href:"#"}];var v=m,b=a.createContext({isSidebarOpen:!1,scrollY:{id:null,position:0},closeSidebar:function(){},toggleSidebar:function(){},saveScroll:function(e){}}),p=function(e){var s=e.children,r=(0,a.useState)(!1),i=r[0],t=r[1],l=(0,a.useMemo)((function(){return{id:null,position:0}}),[]),c=(0,a.useCallback)((function(){return JSON.parse(localStorage.getItem("sidebarScrollY")||JSON.stringify(l))}),[l]),d=(0,a.useState)(l),o=d[0],h=d[1];(0,a.useEffect)((function(){localStorage.setItem("sidebarScrollY",JSON.stringify(o))}),[o]),(0,a.useEffect)((function(){var e,s,r=c(),n=r.id,a=r.position;null===(e=document.getElementById(n))||void 0===e||e.scrollTo(0,a),i&&(null===(s=document.getElementById(n))||void 0===s||s.scrollTo(0,a))}),[o,c]);var x={isSidebarOpen:i,scrollY:o,toggleSidebar:function(){t(!i)},closeSidebar:function(){t(!1)},saveScroll:function(e){var s=(null===e||void 0===e?void 0:e.id)||null,r=(null===e||void 0===e?void 0:e.scrollTop)||0;h({id:s,position:r})}};return(0,n.jsx)(b.Provider,{value:x,children:s})},N=b,y=r(41799),g=r(69396);function w(e){return(0,n.jsx)("div",(0,g.Z)((0,y.Z)({},e),{children:(0,n.jsxs)("div",{className:"mx-4 my-8 flex flex-shrink-0 flex-row items-center gap-1 ",children:[(0,n.jsx)("div",{className:"flex",children:(0,n.jsx)(h.pzU,{className:"h-14 w-14 text-secondary"})}),(0,n.jsx)("div",{className:"flex",children:(0,n.jsx)("h1",{className:"text-3xl font-bold",children:"Pacman"})})]})}))}var k=r(41664),S=r.n(k),C=r(52275),_=r.n(C),E=r(86010),O=function(){return(0,n.jsxs)("div",{className:"rounded-box m-2 bg-base-200 p-4",children:[(0,n.jsx)("div",{className:(0,E.default)(_().hide,"mx-4 flex flex-row justify-center text-center"),children:j.map((function(e){return(0,n.jsxs)("div",{className:"flex flex-row",children:[(0,n.jsx)(S(),{href:e.href,children:(0,n.jsx)("a",{className:"text-xs opacity-60 hover:opacity-90",children:e.name})}),(0,n.jsx)("div",{className:"mx-2 text-xs leading-4 opacity-50",children:"\u2022"})]},e.name)}))}),(0,n.jsx)("div",{className:"mt-4 flex justify-center",children:f.map((function(e){return(0,n.jsx)(S(),{href:e.href,children:(0,n.jsx)("a",{className:"space-x-4",children:(0,n.jsx)(e.icon,{className:"mx-2 h-4 w-4 flex-shrink-0 opacity-50 hover:opacity-90","aria-hidden":"true"})})},e.name)}))})]})},T=r(11163),Z=function(e){var s=e.navigation,r=e.linkClicked,a=e.className,i=(0,T.useRouter)().pathname;return(0,n.jsx)("ul",{className:(0,E.default)("menu",a),children:s.map((function(e){return(0,n.jsx)("li",{className:(0,E.default)(x(i,e)?"bordered text-primary":"opacity-75"),children:(0,n.jsx)(S(),{href:e.href,children:(0,n.jsxs)("a",{className:"text-sm font-semibold",onClick:r,children:[(0,n.jsx)(e.icon,{className:"mr-2 h-6 w-6","aria-hidden":"true"}),e.name]})},e.name)},e.name)}))})};function J(e){var s=e.children,r=(0,a.useRef)(null),i=(0,a.useContext)(N).saveScroll,t=function(){i(r.current)};return(0,n.jsxs)("div",{className:"drawer-mobile drawer",children:[(0,n.jsx)("input",{id:"my-drawer-2",type:"checkbox",className:"drawer-toggle"}),(0,n.jsx)("div",{className:"drawer-content flex flex-col justify-center",children:s}),(0,n.jsxs)("div",{className:"drawer-side",children:[(0,n.jsx)("label",{htmlFor:"my-drawer-2",className:"drawer-button drawer-overlay z-10 backdrop-blur-md"}),(0,n.jsx)("div",{className:"menu z-0 w-72 p-3 pr-5 text-base-content",children:(0,n.jsxs)("div",{className:"card h-full bg-base-100 shadow-xl",children:[(0,n.jsx)(w,{}
1),(0,n.jsx)(Z,{navigation:v,linkClicked:t,className:"flex-grow"}),(0,n.jsx)(Z,{navigation:u,linkClicked:t,className:"mb-4"}),(0,n.jsx)(O,{})]})})]})]})}var D=r(60586),I=r(66430),P=function(){for(var e=arguments.length,s=new Array(e),r=0;r<e;r++)s[r]=arguments[r];return(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:"flex items-center",children:(0,n.jsxs)("label",{htmlFor:"my-drawer-2",className:"btn btn-square drawer-button btn-ghost lg:hidden",children:[(0,n.jsx)("span",{className:"sr-only",children:"Open sidebar"}),(0,n.jsx)(I.Z,{className:"h-7 w-7","aria-hidden":"true"})]})})})},z=r(5152),H=r.n(z)()((function(){return r.e(755).then(r.bind(r,60755))}),{loadableGenerated:{webpack:function(){return[60755]}},ssr:!1}),A=function(e){var s=e.title;return(0,n.jsx)("div",{className:"navbar sticky top-0 z-50 bg-base-200 bg-opacity-30 p-4 backdrop-blur-md",children:(0,n.jsxs)("div",{className:"flex flex-grow justify-between gap-3",children:[(0,n.jsxs)("div",{className:"flex flex-row gap-3",children:[(0,n.jsx)("div",{className:"flex lg:hidden",children:(0,n.jsx)(P,{})}),(0,n.jsx)("div",{className:"flex flex-auto items-center",children:(0,n.jsx)("h1",{className:"text-md align-middle font-bold leading-none text-primary sm:text-2xl",children:s})})]}),(0,n.jsxs)("div",{className:"flex flex-auto items-center justify-end gap-3",children:[(0,n.jsx)(H,{className:"pt-1"}),(0,n.jsx)(D.NL,{})]})]})})},R=function(e){var s=e.title,r=e.children,a=e.className;return(0,n.jsx)(p,{children:(0,n.jsx)("div",{className:(0,E.default)(a,"bg-base-200"),children:(0,n.jsx)(J,{children:(0,n.jsxs)("div",{className:"flex min-h-screen flex-col",children:[(0,n.jsx)(A,{title:s}),(0,n.jsx)("div",{className:"mx-4 mb-4 block flex-grow",children:r})]})})})})}},30441:function(e,s,r){"use strict";r.r(s);var n=r(85893),a=r(98895),i=r(2593),t=r(9008),l=r.n(t),c=r(5286);s.default=function(){var e=(0,c.pQ)({request:{to:"0xce4a9990251944b625c11d2f4a28b38197aa29e1",value:i.O$.from("10000000000000000")}}),s=(e.data,e.isIdle,e.isError,e.isLoading,e.isSuccess,e.sendTransaction);return(0,n.jsxs)(a.Z,{children:[(0,n.jsxs)(l(),{children:[(0,n.jsx)("title",{children:"Dashboard Home"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsxs)("main",{className:"flex-grow items-center justify-center py-10 px-20 text-center",children:[(0,n.jsxs)("h1",{className:"my-10 text-6xl font-bold",children:[(0,n.jsx)("span",{className:"text-secondary",children:"Web3"})," starter template"]}),(0,n.jsx)("div",{className:"mx-auto max-w-xl",children:(0,n.jsxs)("ul",{className:"list-outside list-disc text-left text-xl",children:[(0,n.jsx)("li",{children:"Only OpenSource libraries used"}),(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{className:"text-primary hover:underline",href:"https://nextjs.org",children:"NextJS"})," ","for fast server-rendered websites"]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{className:"text-primary hover:underline",href:"https://hardhat.org/",children:"Hardhat"})," ","for Ethereum based smart contract development"]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{className:"text-primary hover:underline",href:"https://tailwindcss.com/",children:"Tailwind CSS"})," ","for simple styling"]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{className:"text-primary hover:underline",href:"https://daisyui.com/",children:"DaisyUI"})," ","component library and themeing system"]}),(0,n.jsxs)("li",{children:["Wallet connection with"," ",(0,n.jsx)("a",{className:"text-primary hover:underline",href:"https://www.rainbowkit.com/",children:"RainbowKit"})," ","with full DaisyUI themeing"]}),(0,n.jsxs)("li",{children:[(0,n.jsx)("a",{className:"text-primary hover:underline",href:"https://wagmi.sh/",children:"Wagmi"})," ","React hooks for Ethereum"]})]})}),(0,n.jsxs)("div",{className:"m-8 flex-row gap-6",children:[(0,n.jsx)("a",{className:"btn btn-secondary m-3",href:"https://github.com/JonnysCode/hardhat-nextjs-starter-dashboard",children:"Star it on GitHub"}),(0,n.jsx)("div",{className:"btn btn-primary m-3",onClick:function(){return s()},children:(0,n.jsx)("p",{children:"Donate some ETH"})})]})]})]})}},52275:function(e){e.exports={hide:"SidebarFooter_hide__cbtVz"}},9008:function(e,s,r){e.exports=r(5443)}},function(e){e.O(0,[907,896,774,888,179],(function(){return s=48312,e(e.s=s);var s}));var s=e.O();_N_E=s}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.