import { c as createComponent } from './astro-component_Dg_tJ-jn.mjs'; import { n as createRenderInstruction, h as addAttribute, r as renderTemplate, o as generateCspDigest, s as spreadAttributes, u as unescapeHTML, m as maybeRenderHead, l as renderComponent, p as renderHead, q as renderSlot } from './entrypoint_CZ7e8met.mjs'; import { jsx, jsxs, Fragment } from 'react/jsx-runtime'; import { useState } from 'react'; async function renderScript(result, id) { const inlined = result.inlinedScripts.get(id); let content = ""; if (inlined != null) { if (inlined) { content = ``; } } else { const resolved = await result.resolve(id); content = ``; } return createRenderInstruction({ type: "script", id, content }); } const $$ClientRouter = createComponent(($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$props, $$slots); Astro2.self = $$ClientRouter; const { fallback = "animate" } = Astro2.props; return renderTemplate`${renderScript($$result, "/Users/kntdgrtnnly/Documents/upiecep/upiecep-website/node_modules/.pnpm/astro@6.1.10_@types+node@24.12.2_@vercel+functions@3.4.4_rollup@4.60.2_sass@1.99.0_typescript@5.9.3_yaml@2.8.3/node_modules/astro/components/ClientRouter.astro?astro&type=script&index=0&lang.ts")}`; }, "/Users/kntdgrtnnly/Documents/upiecep/upiecep-website/node_modules/.pnpm/astro@6.1.10_@types+node@24.12.2_@vercel+functions@3.4.4_rollup@4.60.2_sass@1.99.0_typescript@5.9.3_yaml@2.8.3/node_modules/astro/components/ClientRouter.astro", void 0); const ListIcon = () => /* @__PURE__ */ jsx( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx( "path", { fillRule: "evenodd", d: "M2.5 12a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5m0-4a.5.5 0 0 1 .5-.5h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5" } ) } ); const CloseIcon = () => /* @__PURE__ */ jsx( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx("path", { d: "M2.146 2.854a.5.5 0 1 1 .708-.708L8 7.293l5.146-5.147a.5.5 0 0 1 .708.708L8.707 8l5.147 5.146a.5.5 0 0 1-.708.708L8 8.707l-5.146 5.147a.5.5 0 0 1-.708-.708L7.293 8z" }) } ); const ChevronUpIcon = () => /* @__PURE__ */ jsx( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx( "path", { fillRule: "evenodd", d: "M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708z" } ) } ); const MailIcon = () => /* @__PURE__ */ jsx( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx("path", { d: "M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414zM0 4.697v7.104l5.803-3.558zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586zm3.436-.586L16 11.801V4.697z" }) } ); const FacebookIcon = () => /* @__PURE__ */ jsx( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx("path", { d: "M16 8.049c0-4.446-3.582-8.05-8-8.05C3.58 0-.002 3.603-.002 8.05c0 4.017 2.926 7.347 6.75 7.951v-5.625h-2.03V8.05H6.75V6.275c0-2.017 1.195-3.131 3.022-3.131.876 0 1.791.157 1.791.157v1.98h-1.009c-.993 0-1.303.621-1.303 1.258v1.51h2.218l-.354 2.326H9.25V16c3.824-.604 6.75-3.934 6.75-7.951" }) } ); const InstagramIcon = () => /* @__PURE__ */ jsx( "svg", { xmlns: "http://www.w3.org/2000/svg", width: "16", height: "16", fill: "currentColor", viewBox: "0 0 16 16", children: /* @__PURE__ */ jsx("path", { d: "M8 0C5.829 0 5.556.01 4.703.048 3.85.088 3.269.222 2.76.42a3.9 3.9 0 0 0-1.417.923A3.9 3.9 0 0 0 .42 2.76C.222 3.268.087 3.85.048 4.7.01 5.555 0 5.827 0 8.001c0 2.172.01 2.444.048 3.297.04.852.174 1.433.372 1.942.205.526.478.972.923 1.417.444.445.89.719 1.416.923.51.198 1.09.333 1.942.372C5.555 15.99 5.827 16 8 16s2.444-.01 3.298-.048c.851-.04 1.434-.174 1.943-.372a3.9 3.9 0 0 0 1.416-.923c.445-.445.718-.891.923-1.417.197-.509.332-1.09.372-1.942C15.99 10.445 16 10.173 16 8s-.01-2.445-.048-3.299c-.04-.851-.175-1.433-.372-1.941a3.9 3.9 0 0 0-.923-1.417A3.9 3.9 0 0 0 13.24.42c-.51-.198-1.092-.333-1.943-.372C10.443.01 10.172 0 7.998 0zm-.717 1.442h.718c2.136 0 2.389.007 3.232.046.78.035 1.204.166 1.486.275.373.145.64.319.92.599s.453.546.598.92c.11.281.24.705.275 1.485.039.843.047 1.096.047 3.231s-.008 2.389-.047 3.232c-.035.78-.166 1.203-.275 1.485a2.5 2.5 0 0 1-.599.919c-.28.28-.546.453-.92.598-.28.11-.704.24-1.485.276-.843.038-1.096.047-3.232.047s-2.39-.009-3.233-.047c-.78-.036-1.203-.166-1.485-.276a2.5 2.5 0 0 1-.92-.598 2.5 2.5 0 0 1-.6-.92c-.109-.281-.24-.705-.275-1.485-.038-.843-.046-1.096-.046-3.233s.008-2.388.046-3.231c.036-.78.166-1.204.276-1.486.145-.373.319-.64.599-.92s.546-.453.92-.598c.282-.11.705-.24 1.485-.276.738-.034 1.024-.044 2.515-.045zm4.988 1.328a.96.96 0 1 0 0 1.92.96.96 0 0 0 0-1.92m-4.27 1.122a4.109 4.109 0 1 0 0 8.217 4.109 4.109 0 0 0 0-8.217m0 1.441a2.667 2.667 0 1 1 0 5.334 2.667 2.667 0 0 1 0-5.334" }) } ); const HeaderNav = ({ handleCloseDropdown }) => { return /* @__PURE__ */ jsx("nav", { children: /* @__PURE__ */ jsxs("ul", { children: [ /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: "/#about", onClick: handleCloseDropdown, children: "About Us" }) }), /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: "/#projects-and-campaigns", onClick: handleCloseDropdown, children: "Project & Campaigns" }) }), /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: "/#people", onClick: handleCloseDropdown, children: "People" }) }), /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: "/shop", onClick: handleCloseDropdown, children: "Shop" }) }), /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx("a", { href: "contact", onClick: handleCloseDropdown, children: "Contact Us" }) }) ] }) }); }; function createSvgComponent({ meta, attributes, children, styles }) { const hasStyles = styles.length > 0; const Component = createComponent({ async factory(result, props) { const normalizedProps = normalizeProps(attributes, props); if (hasStyles && result.cspDestination) { for (const style of styles) { const hash = await generateCspDigest(style, result.cspAlgorithm); result._metadata.extraStyleHashes.push(hash); } } return renderTemplate`${unescapeHTML(children)}`; }, propagation: hasStyles ? "self" : "none" }); Object.defineProperty(Component, "toJSON", { value: () => meta, enumerable: false }); return Object.assign(Component, meta); } const ATTRS_TO_DROP = ["xmlns", "xmlns:xlink", "version"]; const DEFAULT_ATTRS = {}; function dropAttributes(attributes) { for (const attr of ATTRS_TO_DROP) { delete attributes[attr]; } return attributes; } function normalizeProps(attributes, props) { return dropAttributes({ ...DEFAULT_ATTRS, ...attributes, ...props }); } const logo = createSvgComponent({"meta":{"src":"/_astro/iecep-logo.CocXYifd.svg","width":50,"height":50,"format":"svg"},"attributes":{"width":"50","height":"50","viewBox":"0 0 50 50","fill":"none"},"children":"\n\n\n\n\n\n\n\n","styles":[]}); const IecepLogo = () => { return /* @__PURE__ */ jsx("img", { src: logo.src, alt: "UP IECEP Logo" }); }; const Header = ({ path }) => { const [dropdownOpen, setDropdownOpen] = useState(false); const handleToggleDropdown = () => { setDropdownOpen((dropdownOpen2) => !dropdownOpen2); }; const handleCloseDropdown = () => { setDropdownOpen(false); }; return /* @__PURE__ */ jsxs(Fragment, { children: [ /* @__PURE__ */ jsxs("header", { className: "header", children: [ /* @__PURE__ */ jsxs("div", { className: "logo", children: [ /* @__PURE__ */ jsx("a", { href: "/", className: "logo-link", children: /* @__PURE__ */ jsx(IecepLogo, {}) }), /* @__PURE__ */ jsx("a", { href: "/", className: "logo-text", children: "UP IECEP" }) ] }), /* @__PURE__ */ jsx(HeaderNav, { handleCloseDropdown }), /* @__PURE__ */ jsxs("div", { className: "apply-now", children: [ /* @__PURE__ */ jsx("a", { href: "apply", children: "Apply Now!" }), /* @__PURE__ */ jsx("button", { type: "button", className: "dropdown", onClick: handleToggleDropdown, children: dropdownOpen ? /* @__PURE__ */ jsx(CloseIcon, {}) : /* @__PURE__ */ jsx(ListIcon, {}) }) ] }) ] }), dropdownOpen && /* @__PURE__ */ jsxs("div", { className: "dropdown-list", children: [ /* @__PURE__ */ jsx(HeaderNav, { handleCloseDropdown }), /* @__PURE__ */ jsx("button", { type: "button", onClick: handleCloseDropdown, children: /* @__PURE__ */ jsx(ChevronUpIcon, {}) }) ] }) ] }); }; const $$ContactDetails = createComponent(($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$props, $$slots); Astro2.self = $$ContactDetails; const { displayTitle = true } = Astro2.props; return renderTemplate`${maybeRenderHead()}`; }, "/Users/kntdgrtnnly/Documents/upiecep/upiecep-website/src/components/ContactDetails/ContactDetails.astro", void 0); const $$Footer = createComponent(($$result, $$props, $$slots) => { const year = new Date(Date.now()).getFullYear(); return renderTemplate`${maybeRenderHead()}
${renderComponent($$result, "ContactDetails", $$ContactDetails, {})}

Our Location

Electrical and Electronics Engineering Institute (EEEI), Velasquez St., University of the Philippines, Diliman, Quezon City
`; }, "/Users/kntdgrtnnly/Documents/upiecep/upiecep-website/src/components/Footer/Footer.astro", void 0); const $$Layout = createComponent(($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$props, $$slots); Astro2.self = $$Layout; const { title, description = "Institute of Electronics Engineers of the Philippines - University of the Philippines Diliman Student Chapter" } = Astro2.props; const path = Astro2.url.pathname; return renderTemplate` ${title}${renderComponent($$result, "ClientRouter", $$ClientRouter, {})}${renderHead()} ${renderComponent($$result, "Header", Header, { "path": path, "client:load": true, "client:component-hydration": "load", "client:component-path": "/Users/kntdgrtnnly/Documents/upiecep/upiecep-website/src/components/Header/Header", "client:component-export": "default" })}
${renderSlot($$result, $$slots["default"])}
${renderComponent($$result, "Footer", $$Footer, {})} `; }, "/Users/kntdgrtnnly/Documents/upiecep/upiecep-website/src/layouts/Layout.astro", void 0); export { $$Layout as $, $$ContactDetails as a };