Skip to content

Instantly share code, notes, and snippets.

@ZenulAbidin
Created April 2, 2025 11:15
Show Gist options
  • Save ZenulAbidin/2bbb1c945af579f89c62bfd5a76c4646 to your computer and use it in GitHub Desktop.
Save ZenulAbidin/2bbb1c945af579f89c62bfd5a76c4646 to your computer and use it in GitHub Desktop.
# https://website-3lr.pages.dev/_next/static/chunks/app/layout-cbff52cacfa45f23.js
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[185],{45598:function(e,t,s){Promise.resolve().then(s.t.bind(s,64671,23)),Promise.resolve().then(s.t.bind(s,53054,23)),Promise.resolve().then(s.bind(s,4166)),Promise.resolve().then(s.bind(s,80807)),Promise.resolve().then(s.bind(s,48218))},4166:function(e,t,s){"use strict";s.d(t,{default:function(){return d}});var n=s(57437),i=s(2265),a=s(87138),r=s(16463);function l(e){let{isOpen:t,onClose:s}=e;return((0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&s()};return t&&(document.addEventListener("keydown",e),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",e),document.body.style.overflow="unset"}},[t,s]),t)?(0,n.jsxs)("div",{className:"fixed inset-0 z-50 overflow-y-auto","aria-labelledby":"dialog-title",role:"dialog","aria-modal":"true",children:[(0,n.jsx)("div",{className:"fixed inset-0 bg-gray-950/30 transition-opacity",onClick:s,"aria-hidden":"true"}),(0,n.jsx)("div",{className:"fixed inset-0 flex items-center justify-center p-4",children:(0,n.jsxs)("div",{className:"relative mx-auto max-w-2xl rounded bg-gray-900 p-6",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("h2",{id:"dialog-title",className:"text-xl font-medium text-gray-50 mb-4",children:"About the Department of Government Efficiency"}),(0,n.jsx)("div",{className:"text-gray-300 space-y-4",children:(0,n.jsx)("p",{children:"[Placeholder for DOGE EO]"})}),(0,n.jsx)("button",{onClick:s,className:"mt-6 px-4 py-2 bg-gray-800 text-gray-50 rounded hover:bg-gray-700 transition-colors",children:"Close"})]})})]}):null}function o(e){let{isOpen:t,onClose:s}=e;return((0,i.useEffect)(()=>{let e=e=>{"Escape"===e.key&&s()};return t&&(document.addEventListener("keydown",e),document.body.style.overflow="hidden"),()=>{document.removeEventListener("keydown",e),document.body.style.overflow="unset"}},[t,s]),t)?(0,n.jsxs)("div",{className:"fixed inset-0 z-50 overflow-y-auto","aria-labelledby":"dialog-title",role:"dialog","aria-modal":"true",children:[(0,n.jsx)("div",{className:"fixed inset-0 bg-gray-950/30 transition-opacity",onClick:s,"aria-hidden":"true"}),(0,n.jsx)("div",{className:"fixed inset-0 flex items-center justify-center p-4",children:(0,n.jsxs)("div",{className:"relative mx-auto max-w-2xl rounded bg-gray-900 p-6",onClick:e=>e.stopPropagation(),children:[(0,n.jsx)("h2",{id:"dialog-title",className:"text-xl font-medium text-gray-50 mb-4",children:"About the U.S. Digital Service"}),(0,n.jsxs)("div",{className:"text-gray-300 space-y-4",children:[(0,n.jsx)("p",{children:"Our mission is to deliver better government services to the American people through technology and design."}),(0,n.jsx)("p",{children:"We are mission-driven professionals who are passionate about applying our work and lived experiences to public service. We come from a range of backgrounds, just like the people we serve. We are curious about understanding the needs of people and are excited to use our short tours of service to make a positive impact."}),(0,n.jsx)("p",{children:"We collaborate with public servants throughout the government to address some of the most critical needs and ultimately deliver a better government experience to people. We work across multiple agencies and bring best practices from our various disciplines, which include engineering, product, design, procurement, data science, operations, talent, and communications."}),(0,n.jsx)("p",{children:"Our core objectives are to:"}),(0,n.jsxs)("ul",{className:"list-disc pl-6 space-y-2",children:[(0,n.jsx)("li",{children:"Continuously improve critical government services"}),(0,n.jsx)("li",{children:"Bring top-tier technical talent to public service"}),(0,n.jsx)("li",{children:"Partner with federal agencies to scale digital best practices"}),(0,n.jsx)("li",{children:"Rethink how the Government buys digital services"})]}),(0,n.jsx)("p",{children:"Our products engage real users before launch. We apply user-centered design and iterative development to prioritize user needs and learn what works as quickly as possible. We serve diverse groups including veterans, military service members, farmers, Medicare beneficiaries, students, and small business owners."})]}),(0,n.jsx)("button",{onClick:s,className:"mt-6 px-4 py-2 bg-gray-800 text-gray-50 rounded hover:bg-gray-700 transition-colors",children:"Close"})]})})]}):null}let c=[{path:"/savings",label:"Savings"},{path:"/workforce",label:"Workforce"},{path:"/regulations",label:"Regulations"},{path:"/join",label:"Join"},{path:"https://www.whitehouse.gov/presidential-actions/2025/01/establishing-and-implementing-the-presidents-department-of-government-efficiency/",label:"About"}];function d(){let[e,t]=(0,i.useState)({days:0,hours:0,minutes:0,seconds:0}),[s,d]=(0,i.useState)(!1),[u,h]=(0,i.useState)(!1),[m,x]=(0,i.useState)(!1),p=(0,r.usePathname)();return(0,i.useEffect)(()=>{let e=new Date("2025-01-20T12:00:00"),s=()=>{let s=new Date,n=e.getTime()-s.getTime();n>0&&t({days:Math.floor(n/864e5),hours:Math.floor(n/36e5%24),minutes:Math.floor(n/1e3/60%60),seconds:Math.floor(n/1e3%60)})};s();let n=setInterval(s,1e3);return()=>clearInterval(n)},[]),(0,n.jsxs)("header",{className:"w-full bg-gray-950",children:[(0,n.jsx)("div",{className:"container mx-auto pt-2 pb-1 text-xs text-center text-white",children:"An official website of the United States government"}),(0,n.jsx)("div",{className:"container mx-auto max-w-7xl py-2",children:(0,n.jsxs)("div",{className:"flex flex-col space-y-2 md:space-y-4",children:[(0,n.jsxs)("div",{className:"flex items-center justify-between",children:[(0,n.jsxs)(a.default,{href:"/",className:"flex items-center gap-3 md:gap-4",children:[(0,n.jsx)("img",{src:"https://imagedelivery.net/Eq3GW7G6_BQgeWvh9nuCig/194f0beb-51d5-4623-64c3-462cbf5a5800/public",alt:"DOGE",width:48,height:48,className:"h-8 md:h-12 w-auto"}),(0,n.jsxs)("div",{children:[(0,n.jsxs)("h1",{className:"text-gray-50 text-base md:text-xl font-semibold",children:[(0,n.jsx)("span",{className:"block md:hidden text-xl",children:"DOGE"}),(0,n.jsx)("span",{className:"hidden md:block",children:"Department of Government Efficiency"})]}),(0,n.jsx)("p",{className:"hidden md:block text-gray-400 text-xs lg:text-sm",children:"The people voted for major reform."})]})]}),(0,n.jsx)("button",{className:"lg:hidden text-gray-50 p-2",onClick:()=>d(!s),"aria-label":"Toggle menu",children:(0,n.jsx)("svg",{className:"w-6 h-6",fill:"none",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",stroke:"currentColor",children:s?(0,n.jsx)("path",{d:"M6 18L18 6M6 6l12 12"}):(0,n.jsx)("path",{d:"M4 6h16M4 12h16M4 18h16"})})}),(0,n.jsx)("nav",{className:"hidden lg:block",children:(0,n.jsx)("ul",{className:"flex items-center space-x-8",children:c.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(a.default,{href:e.path,target:e.path.startsWith("http")?"_blank":void 0,className:"text-gray-300 hover:text-gray-50 transition-colors\n ".concat(p===e.path?"text-gray-50 font-medium":""),children:e.label})},e.path))})})]}),s&&(0,n.jsx)("nav",{className:"lg:hidden",children:(0,n.jsx)("ul",{className:"flex flex-col space-y-4 pt-4 border-t border-gray-800",children:c.map(e=>(0,n.jsx)("li",{children:(0,n.jsx)(a.default,{href:e.path,target:e.path.startsWith("http")?"_blank":void 0,className:"block text-sm lg:text-base text-gray-300 hover:text-gray-50 transition-colors\n ".concat(p===e.path?"text-gray-50 font-medium":""),onClick:()=>d(!1),children:e.label})},e.path))})}),(0,n.jsx)("div",{className:"border-t border-gray-800"}),(0,n.jsx)("div",{className:"flex justify-end",children:(0,n.jsx)("nav",{children:(0,n.jsx)("ul",{className:"flex items-center space-x-6"})})}),(0,n.jsx)(l,{isOpen:u,onClose:()=>h(!1)}),(0,n.jsx)(o,{isOpen:m,onClose:()=>x(!1)})]})})]})}},80807:function(e,t,s){"use strict";s.d(t,{AuthProvider:function(){return a}});var n=s(57437),i=s(98174);function a(e){let{children:t}=e;return(0,n.jsx)(i.eA,{children:t})}},48218:function(e,t,s){"use strict";s.r(t),s.d(t,{ClientGTM:function(){return d},initGTM:function(){return l},pushToDataLayer:function(){return c}});var n=s(2265),i=s(16463),a=s(22291),r=s.n(a);let l=()=>{r().initialize({gtmId:"G-XXXXXXXXXX"})},o=e=>{let t=["name","email","dob","address","firstName","lastName","dobMonth","dobDay","dobYear","addressLine1","addressLine2","cellPhone","homePhone"];return Object.fromEntries(Object.entries(e).filter(e=>{let[s]=e;return!t.includes(s)}))},c=e=>{{let t=o(e);r().dataLayer({dataLayer:t})}},d=()=>{let e=(0,i.usePathname)();return(0,n.useEffect)(()=>{l()},[e]),(0,n.useEffect)(()=>{c({event:"pageview",page:e})},[e]),null}},53054:function(){}},function(e){e.O(0,[93,403,971,526,744],function(){return e(e.s=45598)}),_N_E=e.O()}]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment