1 line
32 KiB
JavaScript
1 line
32 KiB
JavaScript
exports.id=652,exports.ids=[652],exports.modules={3482:()=>{},5767:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var r=s(60687),i=s(85814),a=s.n(i);let n=({href:e,...t})=>{let s=e&&e.startsWith("/"),i=e&&e.startsWith("#");return s?(0,r.jsx)(a(),{className:"break-words",href:e,...t}):i?(0,r.jsx)("a",{className:"break-words",href:e,...t}):(0,r.jsx)("a",{className:"break-words",target:"_blank",rel:"noopener noreferrer",href:e,...t})}},8354:(e,t,s)=>{"use strict";s.d(t,{ThemeProviders:()=>l});var r=s(60687),i=s(59804),a=s(93137),n=s.n(a);function l({children:e}){return(0,r.jsx)(i.N,{attribute:"class",defaultTheme:n().theme,enableSystem:!0,children:e})}},12712:(e,t,s)=>{"use strict";s.d(t,{default:()=>x});var r=s(60687),i=s(43210),a=s(59804),n=s(48252),l=s(3366),o=s(96228);let c=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"group:hover:text-gray-100 h-6 w-6",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M10 2a1 1 0 011 1v1a1 1 0 11-2 0V3a1 1 0 011-1zm4 8a4 4 0 11-8 0 4 4 0 018 0zm-.464 4.95l.707.707a1 1 0 001.414-1.414l-.707-.707a1 1 0 00-1.414 1.414zm2.12-10.607a1 1 0 010 1.414l-.706.707a1 1 0 11-1.414-1.414l.707-.707a1 1 0 011.414 0zM17 11a1 1 0 100-2h-1a1 1 0 100 2h1zm-7 4a1 1 0 011 1v1a1 1 0 11-2 0v-1a1 1 0 011-1zM5.05 6.464A1 1 0 106.465 5.05l-.708-.707a1 1 0 00-1.414 1.414l.707.707zm1.414 8.486l-.707.707a1 1 0 01-1.414-1.414l.707-.707a1 1 0 011.414 1.414zM4 11a1 1 0 100-2H3a1 1 0 000 2h1z",clipRule:"evenodd"})}),d=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"group:hover:text-gray-100 h-6 w-6",children:(0,r.jsx)("path",{d:"M17.293 13.293A8 8 0 016.707 2.707a8.001 8.001 0 1010.586 10.586z"})}),h=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"group:hover:text-gray-100 h-6 w-6",children:[(0,r.jsx)("rect",{x:"3",y:"3",width:"14",height:"10",rx:"2",ry:"2"}),(0,r.jsx)("line",{x1:"7",y1:"17",x2:"13",y2:"17"}),(0,r.jsx)("line",{x1:"10",y1:"13",x2:"10",y2:"17"})]}),m=()=>(0,r.jsx)("svg",{className:"h-6 w-6"}),x=()=>{let[e,t]=(0,i.useState)(!1),{theme:s,setTheme:x,resolvedTheme:p}=(0,a.D)();return(0,i.useEffect)(()=>t(!0),[]),(0,r.jsx)("div",{className:"flex items-center",children:(0,r.jsxs)(n.W1,{as:"div",className:"relative inline-block text-left",children:[(0,r.jsx)("div",{className:"hover:text-primary-500 dark:hover:text-primary-400 flex items-center justify-center",children:(0,r.jsx)(n.IU,{"aria-label":"Theme switcher",children:e?"dark"===p?(0,r.jsx)(d,{}):(0,r.jsx)(c,{}):(0,r.jsx)(m,{})})}),(0,r.jsx)(l.e,{as:i.Fragment,enter:"transition ease-out duration-100",enterFrom:"transform opacity-0 scale-95",enterTo:"transform opacity-100 scale-100",leave:"transition ease-in duration-75",leaveFrom:"transform opacity-100 scale-100",leaveTo:"transform opacity-0 scale-95",children:(0,r.jsx)(n.c,{className:"ring-opacity-5 absolute right-0 z-50 mt-2 w-32 origin-top-right divide-y divide-gray-100 rounded-md bg-white shadow-lg ring-1 ring-black focus:outline-hidden dark:bg-gray-800",children:(0,r.jsx)(o.z6,{value:s,onChange:x,children:(0,r.jsxs)("div",{className:"p-1",children:[(0,r.jsx)(o.sx,{value:"light",children:(0,r.jsx)(n.Dr,{children:({focus:e})=>(0,r.jsxs)("button",{className:`${e?"bg-primary-600 text-white":""} group flex w-full items-center rounded-md px-2 py-2 text-sm`,children:[(0,r.jsx)("div",{className:"mr-2",children:(0,r.jsx)(c,{})}),"Light"]})})}),(0,r.jsx)(o.sx,{value:"dark",children:(0,r.jsx)(n.Dr,{children:({focus:e})=>(0,r.jsxs)("button",{className:`${e?"bg-primary-600 text-white":""} group flex w-full items-center rounded-md px-2 py-2 text-sm`,children:[(0,r.jsx)("div",{className:"mr-2",children:(0,r.jsx)(d,{})}),"Dark"]})})}),(0,r.jsx)(o.sx,{value:"system",children:(0,r.jsx)(n.Dr,{children:({focus:e})=>(0,r.jsxs)("button",{className:`${e?"bg-primary-600 text-white":""} group flex w-full items-center rounded-md px-2 py-2 text-sm`,children:[(0,r.jsx)("div",{className:"mr-2",children:(0,r.jsx)(h,{})}),"System"]})})})]})})})})]})})}},14646:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,4536,23))},15270:(e,t,s)=>{"use strict";s.d(t,{default:()=>r});let r=(0,s(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/e2hang/website/tailwind-nextjs-starter-blog-main/components/ThemeSwitch.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/e2hang/website/tailwind-nextjs-starter-blog-main/components/ThemeSwitch.tsx","default")},15668:(e,t,s)=>{"use strict";s.d(t,{ThemeProviders:()=>r});let r=(0,s(12907).registerClientReference)(function(){throw Error("Attempted to call ThemeProviders() from the server but ThemeProviders is on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/e2hang/website/tailwind-nextjs-starter-blog-main/app/theme-providers.tsx","ThemeProviders")},16939:e=>{"use strict";e.exports={title:"Next.js Starter Blog",author:"Tails Azimuth",headerTitle:"TailwindBlog",description:"A blog created with Next.js and Tailwind.css",language:"en-us",theme:"system",siteUrl:"https://tailwind-nextjs-starter-blog.vercel.app",siteRepo:"https://github.com/timlrx/tailwind-nextjs-starter-blog",siteLogo:`${process.env.BASE_PATH||""}/static/images/logo.png`,socialBanner:`${process.env.BASE_PATH||""}/static/images/twitter-card.png`,mastodon:"https://mastodon.social/@mastodonuser",email:"address@yoursite.com",github:"https://github.com",x:"https://twitter.com/x",facebook:"https://facebook.com",youtube:"https://youtube.com",linkedin:"https://www.linkedin.com",threads:"https://www.threads.net",instagram:"https://www.instagram.com",medium:"https://medium.com",bluesky:"https://bsky.app/",locale:"en-US",stickyNav:!1,analytics:{umamiAnalytics:{umamiWebsiteId:process.env.NEXT_UMAMI_ID}},newsletter:{provider:"buttondown"},comments:{provider:"giscus",giscusConfig:{repo:process.env.NEXT_PUBLIC_GISCUS_REPO,repositoryId:process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,category:process.env.NEXT_PUBLIC_GISCUS_CATEGORY,categoryId:process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,mapping:"pathname",reactions:"1",metadata:"0",theme:"light",darkTheme:"transparent_dark",themeURL:"",lang:"en"}},search:{provider:"kbar",kbarConfig:{searchDocumentsPath:`${process.env.BASE_PATH||""}/search.json`}}}},23432:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,86346,23)),Promise.resolve().then(s.t.bind(s,27924,23)),Promise.resolve().then(s.t.bind(s,35656,23)),Promise.resolve().then(s.t.bind(s,40099,23)),Promise.resolve().then(s.t.bind(s,38243,23)),Promise.resolve().then(s.t.bind(s,28827,23)),Promise.resolve().then(s.t.bind(s,62763,23)),Promise.resolve().then(s.t.bind(s,97173,23))},26853:(e,t,s)=>{"use strict";s.d(t,{A:()=>n});var r=s(37413),i=s(4536),a=s.n(i);let n=({href:e,...t})=>{let s=e&&e.startsWith("/"),i=e&&e.startsWith("#");return s?(0,r.jsx)(a(),{className:"break-words",href:e,...t}):i?(0,r.jsx)("a",{className:"break-words",href:e,...t}):(0,r.jsx)("a",{className:"break-words",target:"_blank",rel:"noopener noreferrer",href:e,...t})}},31303:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>_,metadata:()=>k});var r=s(37413);s(3482),s(83112),s(33879);var i=s(34905),a=s.n(i),n=s(10497),l=s(35303),o=s(16939),c=s.n(o);let d=[{href:"/",title:"Home"},{href:"/blog",title:"Blog"},{href:"/tags",title:"Tags"},{href:"/projects",title:"Projects"},{href:"/about",title:"About"}];var h=s(77921),m=s(26853),x=s(92692),p=s(15270),g=s(8244),u=s(32878);let v=()=>{if(c().search&&("algolia"===c().search.provider||"kbar"===c().search.provider)){let e="algolia"===c().search.provider?g.AlgoliaButton:u.KBarButton;return(0,r.jsx)(e,{"aria-label":"Search",children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor",className:"hover:text-primary-500 dark:hover:text-primary-400 h-6 w-6 text-gray-900 dark:text-gray-100",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})})})}},f=()=>{let e="flex items-center w-full bg-white dark:bg-gray-950 justify-between py-10";return c().stickyNav&&(e+=" sticky top-0 z-50"),(0,r.jsxs)("header",{className:e,children:[(0,r.jsx)(m.A,{href:"/","aria-label":c().headerTitle,children:(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("div",{className:"mr-3",children:(0,r.jsx)(h.default,{})}),"string"==typeof c().headerTitle?(0,r.jsx)("div",{className:"hidden h-6 text-2xl font-semibold sm:block",children:c().headerTitle}):c().headerTitle]})}),(0,r.jsxs)("div",{className:"flex items-center space-x-4 leading-5 sm:-mr-6 sm:space-x-6",children:[(0,r.jsx)("div",{className:"no-scrollbar hidden max-w-40 items-center gap-x-4 overflow-x-auto sm:flex md:max-w-72 lg:max-w-96",children:d.filter(e=>"/"!==e.href).map(e=>(0,r.jsx)(m.A,{href:e.href,className:"hover:text-primary-500 dark:hover:text-primary-400 m-1 font-medium text-gray-900 dark:text-gray-100",children:e.title},e.title))}),(0,r.jsx)(v,{}),(0,r.jsx)(p.default,{}),(0,r.jsx)(x.default,{})]})]})};var w=s(60683),b=s(41703);function j(){return(0,r.jsx)("footer",{children:(0,r.jsxs)("div",{className:"mt-16 flex flex-col items-center",children:[(0,r.jsxs)("div",{className:"mb-3 flex space-x-4",children:[(0,r.jsx)(b.A,{kind:"mail",href:`mailto:${c().email}`,size:6}),(0,r.jsx)(b.A,{kind:"github",href:c().github,size:6}),(0,r.jsx)(b.A,{kind:"facebook",href:c().facebook,size:6}),(0,r.jsx)(b.A,{kind:"youtube",href:c().youtube,size:6}),(0,r.jsx)(b.A,{kind:"linkedin",href:c().linkedin,size:6}),(0,r.jsx)(b.A,{kind:"twitter",href:c().twitter,size:6}),(0,r.jsx)(b.A,{kind:"bluesky",href:c().bluesky,size:6}),(0,r.jsx)(b.A,{kind:"x",href:c().x,size:6}),(0,r.jsx)(b.A,{kind:"instagram",href:c().instagram,size:6}),(0,r.jsx)(b.A,{kind:"threads",href:c().threads,size:6}),(0,r.jsx)(b.A,{kind:"medium",href:c().medium,size:6})]}),(0,r.jsxs)("div",{className:"mb-2 flex space-x-2 text-sm text-gray-500 dark:text-gray-400",children:[(0,r.jsx)("div",{children:c().author}),(0,r.jsx)("div",{children:` • `}),(0,r.jsx)("div",{children:`\xa9 ${new Date().getFullYear()}`}),(0,r.jsx)("div",{children:` • `}),(0,r.jsx)(m.A,{href:"/",children:c().title})]}),(0,r.jsx)("div",{className:"mb-8 text-sm text-gray-500 dark:text-gray-400",children:(0,r.jsx)(m.A,{href:"https://github.com/timlrx/tailwind-nextjs-starter-blog",children:"Tailwind Nextjs Theme"})})]})})}var y=s(15668);let k={metadataBase:new URL(c().siteUrl),title:{default:c().title,template:`%s | ${c().title}`},description:c().description,openGraph:{title:c().title,description:c().description,url:"./",siteName:c().title,images:[c().socialBanner],locale:"en_US",type:"website"},alternates:{canonical:"./",types:{"application/rss+xml":`${c().siteUrl}/feed.xml`}},robots:{index:!0,follow:!0,googleBot:{index:!0,follow:!0,"max-video-preview":-1,"max-image-preview":"large","max-snippet":-1}},twitter:{title:c().title,card:"summary_large_image",images:[c().socialBanner]}};function _({children:e}){let t=process.env.BASE_PATH||"";return(0,r.jsxs)("html",{lang:c().language,className:`${a().variable} scroll-smooth`,suppressHydrationWarning:!0,children:[(0,r.jsx)("link",{rel:"apple-touch-icon",sizes:"76x76",href:`${t}/static/favicons/apple-touch-icon.png`}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:`${t}/static/favicons/favicon-32x32.png`}),(0,r.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:`${t}/static/favicons/favicon-16x16.png`}),(0,r.jsx)("link",{rel:"manifest",href:`${t}/static/favicons/site.webmanifest`}),(0,r.jsx)("link",{rel:"mask-icon",href:`${t}/static/favicons/safari-pinned-tab.svg`,color:"#5bbad5"}),(0,r.jsx)("meta",{name:"msapplication-TileColor",content:"#000000"}),(0,r.jsx)("meta",{name:"theme-color",media:"(prefers-color-scheme: light)",content:"#fff"}),(0,r.jsx)("meta",{name:"theme-color",media:"(prefers-color-scheme: dark)",content:"#000"}),(0,r.jsx)("link",{rel:"alternate",type:"application/rss+xml",href:`${t}/feed.xml`}),(0,r.jsx)("body",{className:"bg-white pl-[calc(100vw-100%)] text-black antialiased dark:bg-gray-950 dark:text-white",children:(0,r.jsxs)(y.ThemeProviders,{children:[(0,r.jsx)(n.j0,{analyticsConfig:c().analytics}),(0,r.jsxs)(w.A,{children:[(0,r.jsxs)(l.Y,{searchConfig:c().search,children:[(0,r.jsx)(f,{}),(0,r.jsx)("main",{className:"mb-auto",children:e})]}),(0,r.jsx)(j,{})]})]})})]})}},37499:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,16444,23)),Promise.resolve().then(s.t.bind(s,16042,23)),Promise.resolve().then(s.t.bind(s,88170,23)),Promise.resolve().then(s.t.bind(s,49477,23)),Promise.resolve().then(s.t.bind(s,29345,23)),Promise.resolve().then(s.t.bind(s,12089,23)),Promise.resolve().then(s.t.bind(s,46577,23)),Promise.resolve().then(s.t.bind(s,31307,23))},38206:(e,t,s)=>{Promise.resolve().then(s.t.bind(s,85814,23))},41703:(e,t,s)=>{"use strict";s.d(t,{A:()=>a});var r=s(37413);let i={mail:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",...e,children:[(0,r.jsx)("title",{children:"Mail"}),(0,r.jsx)("path",{d:"M2.003 5.884L10 9.882l7.997-3.998A2 2 0 0016 4H4a2 2 0 00-1.997 1.884z"}),(0,r.jsx)("path",{d:"M18 8.118l-8 4-8-4V14a2 2 0 002 2h12a2 2 0 002-2V8.118z"})]})},github:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"GitHub"}),(0,r.jsx)("path",{d:"M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.42.36.81 1.096.81 2.22 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12"})]})},facebook:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"Facebook"}),(0,r.jsx)("path",{d:"M24 12.073c0-6.627-5.373-12-12-12s-12 5.373-12 12c0 5.99 4.388 10.954 10.125 11.854v-8.385H7.078v-3.47h3.047V9.43c0-3.007 1.792-4.669 4.533-4.669 1.312 0 2.686.235 2.686.235v2.953H15.83c-1.491 0-1.956.925-1.956 1.874v2.25h3.328l-.532 3.47h-2.796v8.385C19.612 23.027 24 18.062 24 12.073z"})]})},youtube:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"Youtube"}),(0,r.jsx)("path",{d:"M23.499 6.203a3.008 3.008 0 00-2.089-2.089c-1.87-.501-9.4-.501-9.4-.501s-7.509-.01-9.399.501a3.008 3.008 0 00-2.088 2.09A31.258 31.26 0 000 12.01a31.258 31.26 0 00.523 5.785 3.008 3.008 0 002.088 2.089c1.869.502 9.4.502 9.4.502s7.508 0 9.399-.502a3.008 3.008 0 002.089-2.09 31.258 31.26 0 00.5-5.784 31.258 31.26 0 00-.5-5.808zm-13.891 9.4V8.407l6.266 3.604z"})]})},linkedin:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"Linkedin"}),(0,r.jsx)("path",{d:"M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 01-2.063-2.065 2.064 2.064 0 112.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"})]})},twitter:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"Twitter"}),(0,r.jsx)("path",{d:"M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z"})]})},x:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"X"}),(0,r.jsx)("path",{d:"M18.901 1.153h3.68l-8.04 9.19L24 22.846h-7.406l-5.8-7.584-6.638 7.584H.474l8.6-9.83L0 1.154h7.594l5.243 6.932ZM17.61 20.644h2.039L6.486 3.24H4.298Z"})]})},mastodon:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"Mastodon"}),(0,r.jsx)("path",{d:"M23.268 5.313c-.35-2.578-2.617-4.61-5.304-5.004C17.51.242 15.792 0 11.813 0h-.03c-3.98 0-4.835.242-5.288.309C3.882.692 1.496 2.518.917 5.127.64 6.412.61 7.837.661 9.143c.074 1.874.088 3.745.26 5.611.118 1.24.325 2.47.62 3.68.55 2.237 2.777 4.098 4.96 4.857 2.336.792 4.849.923 7.256.38.265-.061.527-.132.786-.213.585-.184 1.27-.39 1.774-.753a.057.057 0 0 0 .023-.043v-1.809a.052.052 0 0 0-.02-.041.053.053 0 0 0-.046-.01 20.282 20.282 0 0 1-4.709.545c-2.73 0-3.463-1.284-3.674-1.818a5.593 5.593 0 0 1-.319-1.433.053.053 0 0 1 .066-.054c1.517.363 3.072.546 4.632.546.376 0 .75 0 1.125-.01 1.57-.044 3.224-.124 4.768-.422.038-.008.077-.015.11-.024 2.435-.464 4.753-1.92 4.989-5.604.008-.145.03-1.52.03-1.67.002-.512.167-3.63-.024-5.545zm-3.748 9.195h-2.561V8.29c0-1.309-.55-1.976-1.67-1.976-1.23 0-1.846.79-1.846 2.35v3.403h-2.546V8.663c0-1.56-.617-2.35-1.848-2.35-1.112 0-1.668.668-1.67 1.977v6.218H4.822V8.102c0-1.31.337-2.35 1.011-3.12.696-.77 1.608-1.164 2.74-1.164 1.311 0 2.302.5 2.962 1.498l.638 1.06.638-1.06c.66-.999 1.65-1.498 2.96-1.498 1.13 0 2.043.395 2.74 1.164.675.77 1.012 1.81 1.012 3.12z"})]})},threads:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"Threads"}),(0,r.jsx)("path",{d:"M12.186 24h-.007c-3.581-.024-6.334-1.205-8.184-3.509C2.35 18.44 1.5 15.586 1.472 12.01v-.017c.03-3.579.879-6.43 2.525-8.482C5.845 1.205 8.6.024 12.18 0h.014c2.746.02 5.043.725 6.826 2.098 1.677 1.29 2.858 3.13 3.509 5.467l-2.04.569c-1.104-3.96-3.898-5.984-8.304-6.015-2.91.022-5.11.936-6.54 2.717C4.307 6.504 3.616 8.914 3.589 12c.027 3.086.718 5.496 2.057 7.164 1.43 1.783 3.631 2.698 6.54 2.717 2.623-.02 4.358-.631 5.8-2.045 1.647-1.613 1.618-3.593 1.09-4.798-.31-.71-.873-1.3-1.634-1.75-.192 1.352-.622 2.446-1.284 3.272-.886 1.102-2.14 1.704-3.73 1.79-1.202.065-2.361-.218-3.259-.801-1.063-.689-1.685-1.74-1.752-2.964-.065-1.19.408-2.285 1.33-3.082.88-.76 2.119-1.207 3.583-1.291a13.853 13.853 0 0 1 3.02.142c-.126-.742-.375-1.332-.75-1.757-.513-.586-1.308-.883-2.359-.89h-.029c-.844 0-1.992.232-2.721 1.32L7.734 7.847c.98-1.454 2.568-2.256 4.478-2.256h.044c3.194.02 5.097 1.975 5.287 5.388.108.046.216.094.321.142 1.49.7 2.58 1.761 3.154 3.07.797 1.82.871 4.79-1.548 7.158-1.85 1.81-4.094 2.628-7.277 2.65Zm1.003-11.69c-.242 0-.487.007-.739.021-1.836.103-2.98.946-2.916 2.143.067 1.256 1.452 1.839 2.784 1.767 1.224-.065 2.818-.543 3.086-3.71a10.5 10.5 0 0 0-2.215-.221z"})]})},instagram:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"Instagram"}),(0,r.jsx)("path",{d:"M12 0C8.74 0 8.333.015 7.053.072 5.775.132 4.905.333 4.14.63c-.789.306-1.459.717-2.126 1.384S.935 3.35.63 4.14C.333 4.905.131 5.775.072 7.053.012 8.333 0 8.74 0 12s.015 3.667.072 4.947c.06 1.277.261 2.148.558 2.913.306.788.717 1.459 1.384 2.126.667.666 1.336 1.079 2.126 1.384.766.296 1.636.499 2.913.558C8.333 23.988 8.74 24 12 24s3.667-.015 4.947-.072c1.277-.06 2.148-.262 2.913-.558.788-.306 1.459-.718 2.126-1.384.666-.667 1.079-1.335 1.384-2.126.296-.765.499-1.636.558-2.913.06-1.28.072-1.687.072-4.947s-.015-3.667-.072-4.947c-.06-1.277-.262-2.149-.558-2.913-.306-.789-.718-1.459-1.384-2.126C21.319 1.347 20.651.935 19.86.63c-.765-.297-1.636-.499-2.913-.558C15.667.012 15.26 0 12 0zm0 2.16c3.203 0 3.585.016 4.85.071 1.17.055 1.805.249 2.227.415.562.217.96.477 1.382.896.419.42.679.819.896 1.381.164.422.36 1.057.413 2.227.057 1.266.07 1.646.07 4.85s-.015 3.585-.074 4.85c-.061 1.17-.256 1.805-.421 2.227-.224.562-.479.96-.899 1.382-.419.419-.824.679-1.38.896-.42.164-1.065.36-2.235.413-1.274.057-1.649.07-4.859.07-3.211 0-3.586-.015-4.859-.074-1.171-.061-1.816-.256-2.236-.421-.569-.224-.96-.479-1.379-.899-.421-.419-.69-.824-.9-1.38-.165-.42-.359-1.065-.42-2.235-.045-1.26-.061-1.649-.061-4.844 0-3.196.016-3.586.061-4.861.061-1.17.255-1.814.42-2.234.21-.57.479-.96.9-1.381.419-.419.81-.689 1.379-.898.42-.166 1.051-.361 2.221-.421 1.275-.045 1.65-.06 4.859-.06l.045.03zm0 3.678c-3.405 0-6.162 2.76-6.162 6.162 0 3.405 2.76 6.162 6.162 6.162 3.405 0 6.162-2.76 6.162-6.162 0-3.405-2.76-6.162-6.162-6.162zM12 16c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm7.846-10.405c0 .795-.646 1.44-1.44 1.44-.795 0-1.44-.646-1.44-1.44 0-.794.646-1.439 1.44-1.439.793-.001 1.44.645 1.44 1.439z"})]})},medium:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"Medium"}),(0,r.jsx)("path",{d:"M13.54 12a6.8 6.8 0 01-6.77 6.82A6.8 6.8 0 010 12a6.8 6.8 0 016.77-6.82A6.8 6.8 0 0113.54 12zM20.96 12c0 3.54-1.51 6.42-3.38 6.42-1.87 0-3.39-2.88-3.39-6.42s1.52-6.42 3.39-6.42 3.38 2.88 3.38 6.42M24 12c0 3.17-.53 5.75-1.19 5.75-.66 0-1.19-2.58-1.19-5.75s.53-5.75 1.19-5.75C23.47 6.25 24 8.83 24 12z"})]})},bluesky:function(e){return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",...e,children:[(0,r.jsx)("title",{children:"Bluesky"}),(0,r.jsx)("path",{d:"M12 10.8c-1.087-2.114-4.046-6.053-6.798-7.995C2.566.944 1.561 1.266.902 1.565C.139 1.908 0 3.08 0 3.768c0 .69.378 5.65.624 6.479c.815 2.736 3.713 3.66 6.383 3.364q.204-.03.415-.056q-.207.033-.415.056c-3.912.58-7.387 2.005-2.83 7.078c5.013 5.19 6.87-1.113 7.823-4.308c.953 3.195 2.05 9.271 7.733 4.308c4.267-4.308 1.172-6.498-2.74-7.078a9 9 0 0 1-.415-.056q.21.026.415.056c2.67.297 5.568-.628 6.383-3.364c.246-.828.624-5.79.624-6.478c0-.69-.139-1.861-.902-2.206c-.659-.298-1.664-.62-4.3 1.24C16.046 4.748 13.087 8.687 12 10.8"})]})}},a=({kind:e,href:t,size:s=8})=>{if(!t||"mail"===e&&!/^mailto:[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(t))return null;let a=i[e];return(0,r.jsxs)("a",{className:"text-sm text-gray-500 transition hover:text-gray-600",target:"_blank",rel:"noopener noreferrer",href:t,children:[(0,r.jsx)("span",{className:"sr-only",children:e}),(0,r.jsx)(a,{className:`hover:text-primary-500 dark:hover:text-primary-400 fill-current text-gray-700 dark:text-gray-200 h-${s} w-${s}`})]})}},43125:(e,t,s)=>{Promise.resolve().then(s.bind(s,15668)),Promise.resolve().then(s.bind(s,92692)),Promise.resolve().then(s.bind(s,15270)),Promise.resolve().then(s.bind(s,77921)),Promise.resolve().then(s.t.bind(s,4536,23)),Promise.resolve().then(s.t.bind(s,47429,23)),Promise.resolve().then(s.bind(s,49957)),Promise.resolve().then(s.bind(s,39556)),Promise.resolve().then(s.bind(s,55028)),Promise.resolve().then(s.bind(s,8244)),Promise.resolve().then(s.bind(s,32878))},50173:(e,t,s)=>{"use strict";s.d(t,{default:()=>d});var r=s(60687),i=s(3366),a=s(35388),n=s(58789),l=s(43210),o=s(5767);let c=[{href:"/",title:"Home"},{href:"/blog",title:"Blog"},{href:"/tags",title:"Tags"},{href:"/projects",title:"Projects"},{href:"/about",title:"About"}],d=()=>{let[e,t]=(0,l.useState)(!1),s=(0,l.useRef)(null),d=()=>{t(e=>(e?(0,n.fY)(s.current):(0,n.mh)(s.current),!e))};return(0,l.useEffect)(()=>n.qY),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{"aria-label":"Toggle Menu",onClick:d,className:"sm:hidden",children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",className:"hover:text-primary-500 dark:hover:text-primary-400 h-8 w-8 text-gray-900 dark:text-gray-100",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z",clipRule:"evenodd"})})}),(0,r.jsx)(i.e,{appear:!0,show:e,as:l.Fragment,unmount:!1,children:(0,r.jsxs)(a.lG,{as:"div",onClose:d,unmount:!1,children:[(0,r.jsx)(i._,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",unmount:!1,children:(0,r.jsx)("div",{className:"fixed inset-0 z-60 bg-black/25"})}),(0,r.jsx)(i._,{as:l.Fragment,enter:"transition ease-in-out duration-300 transform",enterFrom:"translate-x-full opacity-0",enterTo:"translate-x-0 opacity-95",leave:"transition ease-in duration-200 transform",leaveFrom:"translate-x-0 opacity-95",leaveTo:"translate-x-full opacity-0",unmount:!1,children:(0,r.jsxs)(a.Lj,{className:"fixed top-0 left-0 z-70 h-full w-full bg-white/95 duration-300 dark:bg-gray-950/98",children:[(0,r.jsx)("nav",{ref:s,className:"mt-8 flex h-full basis-0 flex-col items-start overflow-y-auto pt-2 pl-12 text-left",children:c.map(e=>(0,r.jsx)(o.A,{href:e.href,className:"hover:text-primary-500 dark:hover:text-primary-400 mb-4 py-2 pr-4 text-2xl font-bold tracking-widest text-gray-900 outline outline-0 dark:text-gray-100",onClick:d,children:e.title},e.title))}),(0,r.jsx)("button",{className:"hover:text-primary-500 dark:hover:text-primary-400 fixed top-7 right-4 z-80 h-16 w-16 p-4 text-gray-900 dark:text-gray-100","aria-label":"Toggle Menu",onClick:d,children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"})})})]})})]})})]})}},60683:(e,t,s)=>{"use strict";s.d(t,{A:()=>i});var r=s(37413);function i({children:e}){return(0,r.jsx)("section",{className:"mx-auto max-w-3xl px-4 sm:px-6 xl:max-w-5xl xl:px-0",children:e})}},77921:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>c});var r,i,a,n,l=s(61120);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(null,arguments)}let c=function(e){return l.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:53.87,height:43.61,viewBox:"344.564 330.278 111.737 91.218"},e),l.createElement("defs",null,l.createElement("linearGradient",{id:"logo_svg__b",x1:420.97,x2:420.97,y1:331.28,y2:418.5,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:"0%",style:{stopColor:"#06b6d4",stopOpacity:1}}),l.createElement("stop",{offset:"100%",style:{stopColor:"#67e8f9",stopOpacity:1}})),l.createElement("linearGradient",{id:"logo_svg__d",x1:377.89,x2:377.89,y1:331.28,y2:418.5,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:"0%",style:{stopColor:"#06b6d4",stopOpacity:1}}),l.createElement("stop",{offset:"100%",style:{stopColor:"#67e8f9",stopOpacity:1}})),r||(r=l.createElement("path",{id:"logo_svg__a",d:"M453.3 331.28v28.57l-64.66 58.65v-30.08z"})),i||(i=l.createElement("path",{id:"logo_svg__c",d:"M410.23 331.28v28.57l-64.67 58.65v-30.08z"}))),a||(a=l.createElement("use",{xlinkHref:"#logo_svg__a",fill:"url(#logo_svg__b)"})),n||(n=l.createElement("use",{xlinkHref:"#logo_svg__c",fill:"url(#logo_svg__d)"})))}},82366:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>a});var r=s(37413),i=s(26853);function a(){return(0,r.jsxs)("div",{className:"flex flex-col items-start justify-start md:mt-24 md:flex-row md:items-center md:justify-center md:space-x-6",children:[(0,r.jsx)("div",{className:"space-x-2 pt-6 pb-8 md:space-y-5",children:(0,r.jsx)("h1",{className:"text-6xl leading-9 font-extrabold tracking-tight text-gray-900 md:border-r-2 md:px-6 md:text-8xl md:leading-14 dark:text-gray-100",children:"404"})}),(0,r.jsxs)("div",{className:"max-w-md",children:[(0,r.jsx)("p",{className:"mb-4 text-xl leading-normal font-bold md:text-2xl",children:"Sorry we couldn't find this page."}),(0,r.jsx)("p",{className:"mb-8",children:"But dont worry, you can find plenty of other things on our homepage."}),(0,r.jsx)(i.A,{href:"/",className:"focus:shadow-outline-blue inline rounded-lg border border-transparent bg-blue-600 px-4 py-2 text-sm leading-5 font-medium text-white shadow-xs transition-colors duration-150 hover:bg-blue-700 focus:outline-hidden dark:hover:bg-blue-500",children:"Back to homepage"})]})]})}},84981:(e,t,s)=>{Promise.resolve().then(s.bind(s,8354)),Promise.resolve().then(s.bind(s,50173)),Promise.resolve().then(s.bind(s,12712)),Promise.resolve().then(s.bind(s,91073)),Promise.resolve().then(s.t.bind(s,85814,23)),Promise.resolve().then(s.t.bind(s,79167,23)),Promise.resolve().then(s.bind(s,97883)),Promise.resolve().then(s.bind(s,78622)),Promise.resolve().then(s.bind(s,91778)),Promise.resolve().then(s.bind(s,45870)),Promise.resolve().then(s.bind(s,49691))},91073:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>c});var r,i,a,n,l=s(43210);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];for(var r in s)({}).hasOwnProperty.call(s,r)&&(e[r]=s[r])}return e}).apply(null,arguments)}let c=function(e){return l.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:53.87,height:43.61,viewBox:"344.564 330.278 111.737 91.218"},e),l.createElement("defs",null,l.createElement("linearGradient",{id:"logo_svg__b",x1:420.97,x2:420.97,y1:331.28,y2:418.5,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:"0%",style:{stopColor:"#06b6d4",stopOpacity:1}}),l.createElement("stop",{offset:"100%",style:{stopColor:"#67e8f9",stopOpacity:1}})),l.createElement("linearGradient",{id:"logo_svg__d",x1:377.89,x2:377.89,y1:331.28,y2:418.5,gradientUnits:"userSpaceOnUse"},l.createElement("stop",{offset:"0%",style:{stopColor:"#06b6d4",stopOpacity:1}}),l.createElement("stop",{offset:"100%",style:{stopColor:"#67e8f9",stopOpacity:1}})),r||(r=l.createElement("path",{id:"logo_svg__a",d:"M453.3 331.28v28.57l-64.66 58.65v-30.08z"})),i||(i=l.createElement("path",{id:"logo_svg__c",d:"M410.23 331.28v28.57l-64.67 58.65v-30.08z"}))),a||(a=l.createElement("use",{xlinkHref:"#logo_svg__a",fill:"url(#logo_svg__b)"})),n||(n=l.createElement("use",{xlinkHref:"#logo_svg__c",fill:"url(#logo_svg__d)"})))}},92692:(e,t,s)=>{"use strict";s.d(t,{default:()=>r});let r=(0,s(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/e2hang/website/tailwind-nextjs-starter-blog-main/components/MobileNav.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/e2hang/website/tailwind-nextjs-starter-blog-main/components/MobileNav.tsx","default")},93137:e=>{"use strict";e.exports={title:"Next.js Starter Blog",author:"Tails Azimuth",headerTitle:"TailwindBlog",description:"A blog created with Next.js and Tailwind.css",language:"en-us",theme:"system",siteUrl:"https://tailwind-nextjs-starter-blog.vercel.app",siteRepo:"https://github.com/timlrx/tailwind-nextjs-starter-blog",siteLogo:`${process.env.BASE_PATH||""}/static/images/logo.png`,socialBanner:`${process.env.BASE_PATH||""}/static/images/twitter-card.png`,mastodon:"https://mastodon.social/@mastodonuser",email:"address@yoursite.com",github:"https://github.com",x:"https://twitter.com/x",facebook:"https://facebook.com",youtube:"https://youtube.com",linkedin:"https://www.linkedin.com",threads:"https://www.threads.net",instagram:"https://www.instagram.com",medium:"https://medium.com",bluesky:"https://bsky.app/",locale:"en-US",stickyNav:!1,analytics:{umamiAnalytics:{umamiWebsiteId:process.env.NEXT_UMAMI_ID}},newsletter:{provider:"buttondown"},comments:{provider:"giscus",giscusConfig:{repo:process.env.NEXT_PUBLIC_GISCUS_REPO,repositoryId:process.env.NEXT_PUBLIC_GISCUS_REPOSITORY_ID,category:process.env.NEXT_PUBLIC_GISCUS_CATEGORY,categoryId:process.env.NEXT_PUBLIC_GISCUS_CATEGORY_ID,mapping:"pathname",reactions:"1",metadata:"0",theme:"light",darkTheme:"transparent_dark",themeURL:"",lang:"en"}},search:{provider:"kbar",kbarConfig:{searchDocumentsPath:`${process.env.BASE_PATH||""}/search.json`}}}}}; |