PageSourceSearch

https://www.alexandriaroberts.dev/_next/static/chunks/575-05b939a153ce01f2.js

js alexandriaroberts.dev collected 2026-10-04 14:19:30 UTC 10,217 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[575],{285:(e,r,t)=>{t.d(r,{$:()=>l});var a=t(5155);t(2115);var o=t(4624),n=t(2085),s=t(9434);let i=(0,n.F)("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function l({className:e,variant:r,size:t,asChild:n=!1,...l}){let d=n?o.DX:"button";return(0,a.jsx)(d,{"data-slot":"button",className:(0,s.cn)(i({variant:r,size:t,className:e})),...l})}},737:(e,r,t)=>{t.d(r,{Y:()=>a});let a=e=>({bg:e?"bg-slate-900":"bg-gradient-to-br from-orange-50 via-white to-red-50",cardBg:e?"from-slate-800 to-slate-900":"from-white to-orange-50",text:e?"text-white":"text-slate-900",textSecondary:e?"text-slate-300":"text-slate-700",textMuted:e?"text-slate-400":"text-slate-600",border:e?"border-slate-700":"border-orange-200",navBg:e?"bg-slate-900/80":"bg-white/80",sectionBg:e?"from-slate-800/50 to-slate-900/50":"from-orange-50/80 to-red-50/80",mobileMenuBg:e?"bg-slate-900/95":"bg-white/95"})},1153:(e,r,t)=>{t.d(r,{l:()=>i});var a=t(9099),o=t(2894),n=t(1264),s=t(4416);let i=[{Icon:a.A,href:"https://github.com/alexandriaroberts/"},{Icon:o.A,href:"https://www.linkedin.com/in/alexandria-roberts-001/"},{Icon:n.A,href:"mailto:[email protected]"},{Icon:s.A,href:"https://twitter.com/iamlexieonearth"}]},7049:(e,r,t)=>{t.d(r,{D:()=>i,ThemeProvider:()=>s});var a=t(5155),o=t(2115);let n=(0,o.createContext)(void 0);function s({children:e}){let[r,t]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{let e=localStorage.getItem("theme");"light"===e&&t(!1),"dark"===e&&t(!0)},[]),(0,o.useEffect)(()=>{localStorage.setItem("theme",r?"dark":"light")},[r]),(0,a.jsx)(n.Provider,{value:{isDark:r,setIsDark:t},children:e})}function i(){let e=(0,o.useContext)(n);if(!e)throw Error("useTheme must be used within a ThemeProvider");return e}},8323:(e,r,t)=>{t.d(r,{V:()=>m});var a=t(5155),o=t(6874),n=t.n(o),s=t(2098),i=t(3509),l=t(4416),d=t(4783),c=t(285),g=t(737),h=t(5695),u=t(2115),x=t(9440),b=t(1153);function m({isDark:e,setIsDark:r}){let t=(0,g.Y)(e),o=(0,h.usePathname)(),[m,v]=(0,u.useState)(!1),[f,p]=(0,u.useState)("");(0,u.useEffect)(()=>{p(window.location.hash)},[]);let j=(e,r)=>"/"===e&&r?"/"===o&&f===r:o===e;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("nav",{className:`fixed top-0 w-full ${t.navBg} backdrop-blur-md ${e?"border-b border-slate-700/50":"border-b border-orange-200/50"} z-50`,children:(0,a.jsx)("div",{className:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8",children:(0,a.jsxs)("div",{className:"flex justify-between items-center py-4",children:[(0,a.jsx)(n(),{href:"/",className:"text-2xl font-bold bg-gradient-to-r from-orange-500 to-red-500 bg-clip-text text-transparent",children:"AR"}),(0,a.jsxs)("div",{className:"hidden md:flex space-x-8 items-center",children:[(0,a.jsxs)(n(),{href:"/",className:`${t.textSecondary} hover:text-orange-500 transition-all duration-300 relative group`,children:["Home",(0,a.jsx)("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 bg-gradient-to-r from-orange-500 to-red-500 group-hover:w-full transition-all duration-300"})]}),(0,a.jsxs)(n(),{href:"/#about",className:`${t.textSecondary} hover:text-orange-500 transition-all duration-300 relative group`,children:["About",(0,a.jsx)("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 bg-gradient-to-r from-orange-500 to-red-500 group-hover:w-full transition-all duration-300"})]}),(0,a.jsxs)(n(),{href:"/projects",className:`${t.textSecondary} hover:text-orange-500 transition-all duration-300 relative group`,children:["Projects",(0,a.jsx)("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 bg-gradient-to-r from-orange-500 to-red-500 group-hover:w-full transition-all duration-300"})]}),(0,a.jsxs)(n(),{href:"/#experience",className:`${t.textSecondary} hover:text-orange-500 transition-all duration-300 relative group`,children:["Experience",(0,a.jsx)("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 bg-gradient-to-r from-orange-500 to-red-500 group-hover:w-full transition-all duration-300"})]}),(0,a.jsxs)(n(),{href:"/#contact",className:`${t.textSecondary} hover:text-orange-500 transition-all duration-300 relative group`,children:["Contact",(0,a.jsx)("span",{className:"absolute -bottom-1 left-0 w-0 h-0.5 bg-gradient-to-r from-orange-500 to-red-500 group-hover:w-full transition-all duration-300"})]}),(0,a.jsx)(c.$,{onClick:()=>r(!e),variant:"outline",size:"sm","aria-label":e?"Switch to light mode":"Switch to dark mode",className:`${t.border} hover:bg-orange-500 hover:text-white transition-all duration-300`,children:e?(0,a.jsx)(s.A,{className:"h-4 w-4"}):(0,a.jsx)(i.A,{className:"h-4 w-4"})})]}),(0,a.jsxs)("div",{className:"flex md:hidden items-center space-x-2",children:[(0,a.jsx)(c.$,{onClick:()=>r(!e),variant:"outline",size:"sm","aria-label":e?"Switch to light mode":"Switch to dark mode",className:`${t.border} hover:bg-orange-500 hover:text-white transition-all duration-300`,children:e?(0,a.jsx)(s.A,{className:"h-4 w-4"}):(0,a.jsx)(i.A,{className:"h-4 w-4"})}),(0,a.jsx)("button",{onClick:()=>v(!m),className:`${t.text} p-2 rounded-md hover:bg-orange-500/10 transition-all duration-300 border ${t.border}`,"aria-label":"Toggle mobile menu",children:m?(0,a.jsx)(l.A,{className:"h-6 w-6"}):(0,a.jsx)(d.A,{className:"h-6 w-6"})})]})]})})}),(0,a.jsxs)("div",{className:`fixed inset-0 z-40 transition-all duration-300 md:hidden ${m?"opacity-100 pointer-events-auto":"opacity-0 pointer-events-none"}
1`,style:{top:"73px"},children:[(0,a.jsx)("div",{className:"absolute inset-0 bg-black/50 backdrop-blur-sm",onClick:()=>v(!1)}),(0,a.jsx)("div",{className:`relative ${t.mobileMenuBg} backdrop-blur-md h-full transform transition-transform duration-300 ${m?"translate-x-0":"translate-x-full"}`,children:(0,a.jsxs)("div",{className:"flex flex-col h-full px-6 pt-8 pb-20 overflow-y-auto",children:[(0,a.jsxs)("div",{className:"space-y-1",children:[(0,a.jsx)(n(),{href:"/",className:`block py-4 px-4 text-lg font-medium ${j("/")?"text-orange-500 bg-orange-500/10 border-l-4 border-orange-500":`${t.text} hover:text-orange-500 hover:bg-orange-500/10 rounded-lg transition-all duration-300 border-l-4 border-transparent hover:border-orange-500`}`,onClick:()=>v(!1),children:"Home"}),(0,a.jsx)(n(),{href:"/#about",className:`block py-4 px-4 text-lg font-medium ${j("/","#about")?"text-orange-500 bg-orange-500/10 border-l-4 border-orange-500":`${t.text} hover:text-orange-500 hover:bg-orange-500/10 rounded-lg transition-all duration-300 border-l-4 border-transparent hover:border-orange-500`}`,onClick:()=>v(!1),children:"About"}),(0,a.jsx)(n(),{href:"/projects",className:`block py-4 px-4 text-lg font-medium ${j("/projects")?"text-orange-500 bg-orange-500/10 border-l-4 border-orange-500":`${t.text} hover:text-orange-500 hover:bg-orange-500/10 rounded-lg transition-all duration-300 border-l-4 border-transparent hover:border-orange-500`}`,onClick:()=>v(!1),children:"Projects"}),(0,a.jsx)(n(),{href:"/#experience",className:`block py-4 px-4 text-lg font-medium ${j("/","#experience")?"text-orange-500 bg-orange-500/10 border-l-4 border-orange-500":`${t.text} hover:text-orange-500 hover:bg-orange-500/10 rounded-lg transition-all duration-300 border-l-4 border-transparent hover:border-orange-500`}`,onClick:()=>v(!1),children:"Experience"}),(0,a.jsx)(n(),{href:"/#contact",className:`block py-4 px-4 text-lg font-medium ${j("/","#contact")?"text-orange-500 bg-orange-500/10 border-l-4 border-orange-500":`${t.text} hover:text-orange-500 hover:bg-orange-500/10 rounded-lg transition-all duration-300 border-l-4 border-transparent hover:border-orange-500`}`,onClick:()=>v(!1),children:"Contact"})]}),(0,a.jsxs)("div",{className:"mt-auto pt-8 border-t border-orange-500/20",children:[(0,a.jsxs)("div",{className:"text-center mb-6",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center gap-3 mb-3",children:[(0,a.jsx)("div",{className:"w-8 h-0.5 bg-gradient-to-r from-transparent to-orange-500 rounded-full"}),(0,a.jsx)("span",{className:"text-orange-500 font-medium text-sm tracking-wide",children:"Let's Connect"}),(0,a.jsx)("div",{className:"w-8 h-0.5 bg-gradient-to-l from-transparent to-orange-500 rounded-full"})]}),(0,a.jsx)("p",{className:`${t.textMuted} text-xs italic`,children:"Building the future together"})]}),(0,a.jsx)(x.R,{isDark:e,links:b.l,className:"justify-center"})]})]})})]})]})}},9434:(e,r,t)=>{t.d(r,{cn:()=>n});var a=t(2596),o=t(9688);function n(...e){return(0,o.QP)((0,a.$)(e))}},9440:(e,r,t)=>{t.d(r,{R:()=>i});var a=t(5155),o=t(6874),n=t.n(o),s=t(737);function i({isDark:e,links:r,className:t=""}){let o=(0,s.Y)(e);return(0,a.jsx)("div",{className:`flex space-x-6 ${t}`,children:r.map(({Icon:e,href:r},t)=>(0,a.jsx)(n(),{target:"_blank",rel:"noopener noreferrer",href:r,"aria-label":`Open social link: ${r}`,className:`${o.textMuted} hover:text-orange-500 transition-all duration-300 transform hover:scale-110 hover:rotate-12 focus:outline-none focus-visible:ring-2 focus-visible:ring-orange-500`,children:(0,a.jsx)(e,{className:"h-6 w-6"})},t))})}}}]);

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.