From 99651a62d103914133f5538eaaa4c23fb71bd707 Mon Sep 17 00:00:00 2001 From: Akalanka47000 Date: Wed, 4 Oct 2023 11:30:57 +0000 Subject: [PATCH] =?UTF-8?q?Deploy=20preview=20for=20PR=2023=20=F0=9F=9B=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- preview/pr-23/assets/{index-8bd80847.js => index-50558ced.js} | 2 +- preview/pr-23/index.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename preview/pr-23/assets/{index-8bd80847.js => index-50558ced.js} (98%) diff --git a/preview/pr-23/assets/index-8bd80847.js b/preview/pr-23/assets/index-50558ced.js similarity index 98% rename from preview/pr-23/assets/index-8bd80847.js rename to preview/pr-23/assets/index-50558ced.js index 7caac8e..5d1f694 100644 --- a/preview/pr-23/assets/index-8bd80847.js +++ b/preview/pr-23/assets/index-50558ced.js @@ -133,4 +133,4 @@ Error generating stack: `+o.message+` .child { transform: var(--transform); -}`);const l5=ne.forwardRef(function({style:t={},className:n="",autoFill:r=!1,play:l=!0,pauseOnHover:o=!1,pauseOnClick:i=!1,direction:a="left",speed:s=50,delay:u=0,loop:f=0,gradient:d=!1,gradientColor:p=[255,255,255],gradientWidth:x=200,onFinish:v,onCycleComplete:y,onMount:E,children:m},c){const[g,C]=ne.useState(0),[_,M]=ne.useState(0),[T,R]=ne.useState(1),[S,N]=ne.useState(!1),A=ne.useRef(null),b=c||A,z=ne.useRef(null),I=ne.useCallback(()=>{if(z.current&&b.current){const U=b.current.getBoundingClientRect(),pt=z.current.getBoundingClientRect();let xe=U.width,Ue=pt.width;(a==="up"||a==="down")&&(xe=U.height,Ue=pt.height),R(r&&xe&&Ue&&Ue{if(S&&(I(),z.current&&b.current)){const U=new ResizeObserver(()=>I());return U.observe(b.current),U.observe(z.current),()=>{U&&U.disconnect()}}},[I,b,S]),ne.useEffect(()=>{I()},[I,m]),ne.useEffect(()=>{N(!0)},[]),ne.useEffect(()=>{typeof E=="function"&&E()},[]);const P=ne.useMemo(()=>r?_*T/s:_Object.assign(Object.assign({},t),{["--pause-on-hover"]:!l||o?"paused":"running",["--pause-on-click"]:!l||o&&!i||i?"paused":"running",["--width"]:a==="up"||a==="down"?"100vh":"100%",["--transform"]:a==="up"?"rotate(-90deg)":a==="down"?"rotate(90deg)":"none"}),[t,l,o,i,a]),w=ne.useMemo(()=>({["--gradient-color"]:`${k}, 1), ${k}, 0)`,["--gradient-width"]:typeof x=="number"?`${x}px`:x}),[k,x]),L=ne.useMemo(()=>({["--play"]:l?"running":"paused",["--direction"]:a==="left"?"normal":"reverse",["--duration"]:`${P}s`,["--delay"]:`${u}s`,["--iteration-count"]:f?`${f}`:"infinite",["--min-width"]:r?"auto":"100%"}),[l,a,P,u,f,r]),D=ne.useMemo(()=>({["--transform"]:a==="up"?"rotate(90deg)":a==="down"?"rotate(-90deg)":"none"}),[a]),B=ne.useCallback(U=>[...Array(Number.isFinite(U)&&U>=0?U:0)].map((pt,xe)=>gt.default.createElement(ne.Fragment,{key:xe},ne.Children.map(m,Ue=>gt.default.createElement("div",{style:D,className:"child"},Ue)))),[D,m]);return S?gt.default.createElement("div",{ref:b,style:V,className:"marquee-container "+n},d&>.default.createElement("div",{style:w,className:"overlay"}),gt.default.createElement("div",{className:"marquee",style:L,onAnimationIteration:y,onAnimationEnd:v},gt.default.createElement("div",{className:"initial-child-container",ref:z},ne.Children.map(m,U=>gt.default.createElement("div",{style:D,className:"child"},U))),B(T-1)),gt.default.createElement("div",{className:"marquee",style:L},B(T))):null});var fc=cc.default=l5;const o5=()=>h.jsx(fc,{className:"bg-black h-[46px] text-xl sm:text-[22px] text-white font-consolas absolute bottom-0 left-0",children:h.jsx("div",{className:q("flex gap-x-12 items-center mr-12"),children:Array(3).fill(0).map((e,t)=>h.jsxs(O.Fragment,{children:[h.jsx("span",{children:"Inter University Scripting and Automation Competition"}),h.jsx(Mr,{className:"translate-y-0.5",dark:!0})]},t))})}),i5=()=>h.jsxs("div",{className:"w-full flex flex-col mt-24 py-6 px-10 lg:px-24 gap-y-10",children:[h.jsx(tt,{children:"Our Mission"}),h.jsxs("span",{className:"text-5xl sm:text-6xl md:text-7xl lg:text-8xl 2xl:text-9xl text-center lg:text-start font-cabinet font-black max-w-full lg:max-w-[75vw] block tracking-[1.28px]",children:["MAKING ",h.jsx("br",{}),"A PLACE OF ",h.jsx("br",{}),"INSPIRATION AND ",h.jsx("br",{}),"INNOVATION FOR ",h.jsx("br",{}),"EVERYONE* ",h.jsx("br",{})]})]}),a5=()=>h.jsx("div",{className:"pt-6 pb-16",children:h.jsx(fc,{className:"bg-black text-xl sm:text-[22px] text-white font-consolas absolute left-0 right-0",children:h.jsx("div",{className:"flex gap-x-7 items-center mt-3 mb-2 mr-7",children:Array(10).fill(0).map((e,t)=>h.jsxs(O.Fragment,{children:[h.jsxs(Pa,{className:"flex items-baseline gap-2 cursor-pointer",to:"/2022",target:"_blank",children:[h.jsx("span",{className:"text-3xl sm:text-4xl font-light font-cabinet uppercase tracking-tight",children:"Bashaway 2022"}),h.jsx(Id,{className:"h-6 sm:h-7"})]}),h.jsx(Mr,{className:"translate-y-0.5 mb-1 sm:mb-2 h-4 sm:h-5",dark:!0})]},t))})})}),s5=()=>h.jsxs("div",{className:"w-full flex flex-col items-center mt-12 py-6 px-6 lg:px-24 gap-y-8 md:gap-y-14",children:[h.jsx(tt,{className:"self-center lg:self-center",children:"In partnership with"}),h.jsxs("div",{className:"flex justify-center items-center gap-10 md:gap-x-20 transform scale-[0.55] xs:scale-75 md:scale-100",children:[h.jsx("img",{src:"./assets/images/logos/wif.png",alt:"WIF Logo",className:"w-[144px] h-[60px] translate-y-0.5"}),h.jsx("img",{src:"./assets/images/logos/mozilla.png",alt:"Mozilla Logo",className:"w-[195px] h-[56px] transform -translate-x-0.5 translate-y-1"}),h.jsx("img",{src:"./assets/images/logos/fcsc.png",alt:"FCSC Logo",className:"w-[131px] h-[56px]"})]})]}),su=[{place:"1st",text:"The Winner LKR 40,000"},{place:"2nd",text:"The Runner Up LKR 30,000"},{place:"3rd",text:"The 2nd Runner up LKR 20,000"}],u5=()=>h.jsxs("div",{className:"w-full flex flex-col py-6 px-10 lg:px-24 gap-y-10",children:[h.jsx(tt,{id:"prizes",children:"Prizes"}),h.jsx("div",{className:"flex flex-col gap-5",children:su.map((e,t)=>h.jsxs(O.Fragment,{children:[h.jsxs("div",{className:"flex gap-5 sm:gap-7",children:[h.jsx("div",{className:"min-w-[70px] sm:min-w-[100px] h-fit flex justify-center items-center py-3 bg-black rounded-full",children:h.jsx("span",{className:"uppercase text-white text-xl sm:text-4xl",children:e.place})}),h.jsx("span",{className:"uppercase text-3xl sm:text-4xl md:text-5xl md:text-[40px] lg:text-[44px] xl:text-6xl font-medium",children:e.text})]}),su.length!==t+1&&h.jsx("hr",{className:"border-black"})]},t))})]}),To=["A competing team can consist of 1 to 4 members.","The competition will have 2 rounds where teams compete within a given set of task-based challenges in a timed setting.","The first round will be held online and the second round will be held at the SLIIT Malabe campus.","Each team must register through the competition platform by entering team details and necessary information about its members.","The challenges will be available on the competition platform once the competition begins.","All team members must login with the same credentials provided during team registration.","Points will be assigned according to challenges and sub-tasks of each challenge.","The highest and the fastest scoring team will be considered the winner and a leaderboard of this will be updated in real time.","A team can submit multiple submissions to a single challenge, but only the submission with the highest mark will be considered.","When the competition ends, we will publish a public repository under the SLIIT FOSS Community GitHub profile. We will include the solutions of each team, hoping that this will help share knowledge and show our transparency.","The rankings in the leaderboard will be final.*"],c5=()=>h.jsxs("div",{className:"w-full flex flex-col mt-3 py-6 px-10 lg:px-24 gap-y-10",children:[h.jsx(tt,{id:"rules",children:"The Rules & Regulations"}),h.jsx("div",{className:"bg-white p-8 py-10 rounded-3xl flex flex-col items-center lg:items-start",children:To.map((e,t)=>h.jsxs(O.Fragment,{children:[h.jsx(Ia,{className:q("tracking-[0.32px] leading-[108%] font-medium font-cabinet",t===To.length-1?"text-black":"text-black/60"),children:e}),t===To.length-1?null:h.jsx("hr",{className:"w-full border-black/10 my-5"})]},t))})]}),f5=[{name:"GitHub",logo:"/assets/images/sponsors/github.svg",category:"Gold",styles:{logo:"w-7/12 p-0.5 xs:p-1.5 lg:p-2 2xl:p-[11px] lg:-translate-y-1 2xl:-translate-y-[5px]",wrapper:"from-black/50 to-yellow-400"}},{name:"Sponsor 2",logo:""},{name:"Sponsor 3",logo:""},{name:"Sponsor 4",logo:""}],d5=()=>h.jsxs("div",{className:"w-full flex flex-col py-6 px-10 lg:px-24 gap-y-10",children:[h.jsx(tt,{id:"sponsors",children:"Sponsors"}),h.jsx("div",{className:"grid grid-cols-1 xxs:grid-cols-2 md:grid-cols-4 gap-8",children:f5.map(e=>{var t,n,r;return h.jsxs("div",{className:q("relative bg-white w-full aspect-square flex flex-col items-center justify-center rounded-2xl xxs:rounded-3xl after:rounded-2xl xxs:after:rounded-3xl p-6 text-white animated-border from-black to-white",(t=e.styles)==null?void 0:t.wrapper),children:[h.jsx("div",{className:"w-full h-full flex justify-center items-center transform -translate-y-6",children:e.logo?h.jsx("img",{src:e.logo,className:(n=e.styles)==null?void 0:n.logo}):h.jsx(gd,{className:"h-full w-7/12 text-black",strokeWidth:0})}),h.jsx("div",{className:q("absolute bottom-6 xl:bottom-10 mx-auto w-1/2 h-9 xxs:h-6 xs:h-7 lg:h-8 xl:h-10 2xl:h-11< rounded-full bg-black flex justify-center items-center text-sm xsm:text-base md:text-lg font-semibold uppercase",(r=e.styles)==null?void 0:r.category),children:e.category??"????"})]},e.name)})})]}),p5=[{date:"11 Sep",title:"Registration Opening",description:"This is where you submit to the hall of fame. Get a team of capable members who are well-versed with Bash or any other scripting language so that you are one step closer to victory.",time:"12:00 IST"},{date:"27 Sep",title:"Awareness + Support Session",description:"Don’t miss out on the well-worth training session with two industry experts. This assuredly is a great opportunity to polish your already existing skills or learn new ones.",time:"19:00 IST"},{date:"05 Oct",title:"Registration Closing + Practice Round",description:"No registrations will be accepted after this date. The portal will be opened to a practice round where you can get a sneak peek into Bashaway 2023.",time:"23:59 IST"},{date:"07 Oct",title:"1st Round",description:"This is where the journey begins! Showcase your scripting skills as you tackle various challenging tasks and pave your way towards the next round. Be sure that your eyes are on the clock.",time:"12:00 IST"},{date:"21 Oct",title:"Final Round + Award Ceremony",description:"The sun sets over an intense battleground marking the end of Bashaway 2023's most challenging round. A ceremony will be held to celebrate the champions of the game.",time:"12:00 IST"}],uu="h-[780px] md:h-[620px] lg:h-[480px] xl:h-[450px]",m5=()=>{const{width:e}=zd();return h.jsxs("div",{className:"w-full flex flex-col py-6 px-10 lg:px-24 gap-y-10 ",children:[h.jsx(tt,{id:"timeline",children:"The Timeline"}),h.jsx("div",{className:q(uu,"hidden lg:block")}),h.jsx(uc,{className:`${uu} gap-1 flex-col lg:flex-row lg:absolute lg:right-0 lg:mt-24 lg:pl-[6rem] 2xl:pl-[6.4rem]`,style:{maxWidth:`calc(100vw - ${(e-Number(ac.theme.extend.maxWidth.body.replace("px","")))/2}px)`},itemStyle:({index:t,itemHovered:n})=>`w-full hover:flex-[4_0_0%] xs:hover:flex-[3_0_0%] [&>div>div:nth-child(3)]:opacity-100 [&>div>div:nth-child(3)]:hover:opacity-0 [&>div>span:nth-child(4)]:opacity-0 md:[&>div>span:nth-child(4)]:opacity-100 [&>div>span:nth-child(4)]:hover:opacity-100 ${t===0&&!n?"flex-[4_0_0%] xs:flex-[3_0_0%] [&>div>div:nth-child(2)]:opacity-100 [&>div>div:nth-child(3)]:opacity-0 [&>div>span:nth-child(4)]:opacity-100":"[&>div>div:nth-child(2)]:opacity-0 [&>div>div:nth-child(2)]:hover:opacity-100"}`,children:p5.map((t,n)=>h.jsxs("div",{className:"bg-white flex flex-col justify-between items-start p-8 gap-y-12 relative",children:[h.jsx("span",{className:"text-2xl sm:text-3xl md:text-[32px] lg:text-6xl 2xl:text-7xl text-start font-cabinet font-extrabold max-w-full lg:max-w-[75vw] block tracking-[1.28px] z-30",children:t.date.split(" ").map((r,l)=>h.jsxs(O.Fragment,{children:[r," ",h.jsx("br",{className:"hidden lg:block"})]},l))}),h.jsx("div",{className:"w-full h-full absolute p-8 top-0 left-0 z-10 flex flex-col justify-center transition-all duration-700",children:h.jsxs("span",{className:"text-lg sm:text-xl md:text-xl lg:text-2xl text-start font-cabinet font-medium text-black/40 lg:mt-20",children:[h.jsxs("span",{className:"text-black/80 font-extrabold",children:[t.title," - "]})," ",t.description]})}),h.jsx("div",{className:"w-full h-full absolute top-0 left-0 z-20 flex flex-col justify-between blur-xl transition-all duration-1000",children:h.jsx("div",{className:"w-full h-full bg-white"})}),h.jsx("span",{className:"text-lg sm:text-xl md:text-2xl text-start font-cabinet font-medium text-black/40 z-30 transition-all duration-700",children:t.time})]},n))})]})},h5=[{name:"Kubernetes Sri Lanka",logo:Fd},{name:"GitHub Community Sri Lanka",logo:Dd}],g5=()=>h.jsxs("div",{className:"w-full flex flex-col py-6 px-10 lg:px-24 gap-y-10",children:[h.jsx(tt,{id:"knowledge-partners",children:"Knowledge Partners"}),h.jsx("div",{className:"grid grid-cols-1 xxs:grid-cols-2 sm:grid-cols-4 gap-8",children:h5.map(({name:e,logo:t})=>h.jsx("div",{className:"bg-white w-full aspect-square flex flex-col items-center justify-center rounded-3xl p-8 xxs:p-4 xs:p-6 md:p-7 xl:p-12 text-white animated-border from-black to-white",children:h.jsx(t,{className:"w-full h-full"})},e))})]}),v5=()=>h.jsxs(h.Fragment,{children:[h.jsx(t5,{}),h.jsx(o5,{}),h.jsx(i5,{}),h.jsx(qd,{}),h.jsx(m5,{}),h.jsx(c5,{}),h.jsx(Jd,{}),h.jsx(u5,{}),h.jsx(d5,{}),h.jsx(g5,{}),h.jsx(a5,{}),h.jsx(e5,{}),h.jsx(s5,{})]}),y5=()=>{Pd();const e=Or();return h.jsx("div",{className:"w-full bg-background",children:h.jsxs("main",{className:"w-full flex flex-col items-center min-h-screen mx-auto",children:[h.jsx(Ud,{}),h.jsx("div",{className:"w-full max-w-body grow mt-[70px] xs:mt-[90px] cursor-default z-40",children:h.jsx(Lf,{location:e,children:h.jsx(M0,{path:"/",element:h.jsx(v5,{})})})}),h.jsx(Zd,{}),h.jsx(Xd,{})]})})};const x5=()=>h.jsx(it.StrictMode,{children:h.jsx(Tf,{basename:Ff("2023"),children:h.jsx(y5,{})})});Ro.createRoot(document.getElementById("root")).render(h.jsx(x5,{})); +}`);const l5=ne.forwardRef(function({style:t={},className:n="",autoFill:r=!1,play:l=!0,pauseOnHover:o=!1,pauseOnClick:i=!1,direction:a="left",speed:s=50,delay:u=0,loop:f=0,gradient:d=!1,gradientColor:p=[255,255,255],gradientWidth:x=200,onFinish:v,onCycleComplete:y,onMount:E,children:m},c){const[g,C]=ne.useState(0),[_,M]=ne.useState(0),[T,R]=ne.useState(1),[S,N]=ne.useState(!1),A=ne.useRef(null),b=c||A,z=ne.useRef(null),I=ne.useCallback(()=>{if(z.current&&b.current){const U=b.current.getBoundingClientRect(),pt=z.current.getBoundingClientRect();let xe=U.width,Ue=pt.width;(a==="up"||a==="down")&&(xe=U.height,Ue=pt.height),R(r&&xe&&Ue&&Ue{if(S&&(I(),z.current&&b.current)){const U=new ResizeObserver(()=>I());return U.observe(b.current),U.observe(z.current),()=>{U&&U.disconnect()}}},[I,b,S]),ne.useEffect(()=>{I()},[I,m]),ne.useEffect(()=>{N(!0)},[]),ne.useEffect(()=>{typeof E=="function"&&E()},[]);const P=ne.useMemo(()=>r?_*T/s:_Object.assign(Object.assign({},t),{["--pause-on-hover"]:!l||o?"paused":"running",["--pause-on-click"]:!l||o&&!i||i?"paused":"running",["--width"]:a==="up"||a==="down"?"100vh":"100%",["--transform"]:a==="up"?"rotate(-90deg)":a==="down"?"rotate(90deg)":"none"}),[t,l,o,i,a]),w=ne.useMemo(()=>({["--gradient-color"]:`${k}, 1), ${k}, 0)`,["--gradient-width"]:typeof x=="number"?`${x}px`:x}),[k,x]),L=ne.useMemo(()=>({["--play"]:l?"running":"paused",["--direction"]:a==="left"?"normal":"reverse",["--duration"]:`${P}s`,["--delay"]:`${u}s`,["--iteration-count"]:f?`${f}`:"infinite",["--min-width"]:r?"auto":"100%"}),[l,a,P,u,f,r]),D=ne.useMemo(()=>({["--transform"]:a==="up"?"rotate(90deg)":a==="down"?"rotate(-90deg)":"none"}),[a]),B=ne.useCallback(U=>[...Array(Number.isFinite(U)&&U>=0?U:0)].map((pt,xe)=>gt.default.createElement(ne.Fragment,{key:xe},ne.Children.map(m,Ue=>gt.default.createElement("div",{style:D,className:"child"},Ue)))),[D,m]);return S?gt.default.createElement("div",{ref:b,style:V,className:"marquee-container "+n},d&>.default.createElement("div",{style:w,className:"overlay"}),gt.default.createElement("div",{className:"marquee",style:L,onAnimationIteration:y,onAnimationEnd:v},gt.default.createElement("div",{className:"initial-child-container",ref:z},ne.Children.map(m,U=>gt.default.createElement("div",{style:D,className:"child"},U))),B(T-1)),gt.default.createElement("div",{className:"marquee",style:L},B(T))):null});var fc=cc.default=l5;const o5=()=>h.jsx(fc,{className:"bg-black h-[46px] text-xl sm:text-[22px] text-white font-consolas absolute bottom-0 left-0",children:h.jsx("div",{className:q("flex gap-x-12 items-center mr-12"),children:Array(3).fill(0).map((e,t)=>h.jsxs(O.Fragment,{children:[h.jsx("span",{children:"Inter University Scripting and Automation Competition"}),h.jsx(Mr,{className:"translate-y-0.5",dark:!0})]},t))})}),i5=()=>h.jsxs("div",{className:"w-full flex flex-col mt-24 py-6 px-10 lg:px-24 gap-y-10",children:[h.jsx(tt,{children:"Our Mission"}),h.jsxs("span",{className:"text-5xl sm:text-6xl md:text-7xl lg:text-8xl 2xl:text-9xl text-center lg:text-start font-cabinet font-black max-w-full lg:max-w-[75vw] block tracking-[1.28px]",children:["MAKING ",h.jsx("br",{}),"A PLACE OF ",h.jsx("br",{}),"INSPIRATION AND ",h.jsx("br",{}),"INNOVATION FOR ",h.jsx("br",{}),"EVERYONE* ",h.jsx("br",{})]})]}),a5=()=>h.jsx("div",{className:"pt-6 pb-16",children:h.jsx(fc,{className:"bg-black text-xl sm:text-[22px] text-white font-consolas absolute left-0 right-0",children:h.jsx("div",{className:"flex gap-x-7 items-center mt-3 mb-2 mr-7",children:Array(10).fill(0).map((e,t)=>h.jsxs(O.Fragment,{children:[h.jsxs(Pa,{className:"flex items-baseline gap-2 cursor-pointer",to:"/2022",target:"_blank",children:[h.jsx("span",{className:"text-3xl sm:text-4xl font-light font-cabinet uppercase tracking-tight",children:"Bashaway 2022"}),h.jsx(Id,{className:"h-6 sm:h-7"})]}),h.jsx(Mr,{className:"translate-y-0.5 mb-1 sm:mb-2 h-4 sm:h-5",dark:!0})]},t))})})}),s5=()=>h.jsxs("div",{className:"w-full flex flex-col items-center mt-12 py-6 px-6 lg:px-24 gap-y-8 md:gap-y-14",children:[h.jsx(tt,{className:"self-center lg:self-center",children:"In partnership with"}),h.jsxs("div",{className:"flex justify-center items-center gap-10 md:gap-x-20 transform scale-[0.55] xs:scale-75 md:scale-100",children:[h.jsx("img",{src:"./assets/images/logos/wif.png",alt:"WIF Logo",className:"w-[144px] h-[60px] translate-y-0.5"}),h.jsx("img",{src:"./assets/images/logos/mozilla.png",alt:"Mozilla Logo",className:"w-[195px] h-[56px] transform -translate-x-0.5 translate-y-1"}),h.jsx("img",{src:"./assets/images/logos/fcsc.png",alt:"FCSC Logo",className:"w-[131px] h-[56px]"})]})]}),su=[{place:"1st",text:"The Winner LKR 40,000"},{place:"2nd",text:"The Runner Up LKR 30,000"},{place:"3rd",text:"The 2nd Runner up LKR 20,000"}],u5=()=>h.jsxs("div",{className:"w-full flex flex-col py-6 px-10 lg:px-24 gap-y-10",children:[h.jsx(tt,{id:"prizes",children:"Prizes"}),h.jsx("div",{className:"flex flex-col gap-5",children:su.map((e,t)=>h.jsxs(O.Fragment,{children:[h.jsxs("div",{className:"flex gap-5 sm:gap-7",children:[h.jsx("div",{className:"min-w-[70px] sm:min-w-[100px] h-fit flex justify-center items-center py-3 bg-black rounded-full",children:h.jsx("span",{className:"uppercase text-white text-xl sm:text-4xl",children:e.place})}),h.jsx("span",{className:"uppercase text-3xl sm:text-4xl md:text-5xl md:text-[40px] lg:text-[44px] xl:text-6xl font-medium",children:e.text})]}),su.length!==t+1&&h.jsx("hr",{className:"border-black"})]},t))})]}),To=["A competing team can consist of 1 to 4 members.","The competition will have 2 rounds where teams compete within a given set of task-based challenges in a timed setting.","The first round will be held online and the second round will be held at the SLIIT Malabe campus.","Each team must register through the competition platform by entering team details and necessary information about its members.","The challenges will be available on the competition platform once the competition begins.","All team members must login with the same credentials provided during team registration.","Points will be assigned according to challenges and sub-tasks of each challenge.","The highest and the fastest scoring team will be considered the winner and a leaderboard of this will be updated in real time.","A team can submit multiple submissions to a single challenge, but only the submission with the highest mark will be considered.","When the competition ends, we will publish a public repository under the SLIIT FOSS Community GitHub profile. We will include the solutions of each team, hoping that this will help share knowledge and show our transparency.","The rankings in the leaderboard will be final.*"],c5=()=>h.jsxs("div",{className:"w-full flex flex-col mt-3 py-6 px-10 lg:px-24 gap-y-10",children:[h.jsx(tt,{id:"rules",children:"The Rules & Regulations"}),h.jsx("div",{className:"bg-white p-8 py-10 rounded-3xl flex flex-col items-center lg:items-start",children:To.map((e,t)=>h.jsxs(O.Fragment,{children:[h.jsx(Ia,{className:q("tracking-[0.32px] leading-[108%] font-medium font-cabinet",t===To.length-1?"text-black":"text-black/60"),children:e}),t===To.length-1?null:h.jsx("hr",{className:"w-full border-black/10 my-5"})]},t))})]}),f5=[{name:"GitHub",logo:"./assets/images/sponsors/github.svg",category:"Gold",styles:{logo:"w-7/12 p-0.5 xs:p-1.5 lg:p-2 2xl:p-[11px] lg:-translate-y-1 2xl:-translate-y-[5px]",wrapper:"from-black/50 to-yellow-400"}},{name:"Sponsor 2",logo:""},{name:"Sponsor 3",logo:""},{name:"Sponsor 4",logo:""}],d5=()=>h.jsxs("div",{className:"w-full flex flex-col py-6 px-10 lg:px-24 gap-y-10",children:[h.jsx(tt,{id:"sponsors",children:"Sponsors"}),h.jsx("div",{className:"grid grid-cols-1 xxs:grid-cols-2 md:grid-cols-4 gap-8",children:f5.map(e=>{var t,n,r;return h.jsxs("div",{className:q("relative bg-white w-full aspect-square flex flex-col items-center justify-center rounded-2xl xxs:rounded-3xl after:rounded-2xl xxs:after:rounded-3xl p-6 text-white animated-border from-black to-white",(t=e.styles)==null?void 0:t.wrapper),children:[h.jsx("div",{className:"w-full h-full flex justify-center items-center transform -translate-y-6",children:e.logo?h.jsx("img",{src:e.logo,className:(n=e.styles)==null?void 0:n.logo}):h.jsx(gd,{className:"h-full w-7/12 text-black",strokeWidth:0})}),h.jsx("div",{className:q("absolute bottom-6 xl:bottom-10 mx-auto w-1/2 h-9 xxs:h-6 xs:h-7 lg:h-8 xl:h-10 2xl:h-11< rounded-full bg-black flex justify-center items-center text-sm xsm:text-base md:text-lg font-semibold uppercase",(r=e.styles)==null?void 0:r.category),children:e.category??"????"})]},e.name)})})]}),p5=[{date:"11 Sep",title:"Registration Opening",description:"This is where you submit to the hall of fame. Get a team of capable members who are well-versed with Bash or any other scripting language so that you are one step closer to victory.",time:"12:00 IST"},{date:"27 Sep",title:"Awareness + Support Session",description:"Don’t miss out on the well-worth training session with two industry experts. This assuredly is a great opportunity to polish your already existing skills or learn new ones.",time:"19:00 IST"},{date:"05 Oct",title:"Registration Closing + Practice Round",description:"No registrations will be accepted after this date. The portal will be opened to a practice round where you can get a sneak peek into Bashaway 2023.",time:"23:59 IST"},{date:"07 Oct",title:"1st Round",description:"This is where the journey begins! Showcase your scripting skills as you tackle various challenging tasks and pave your way towards the next round. Be sure that your eyes are on the clock.",time:"12:00 IST"},{date:"21 Oct",title:"Final Round + Award Ceremony",description:"The sun sets over an intense battleground marking the end of Bashaway 2023's most challenging round. A ceremony will be held to celebrate the champions of the game.",time:"12:00 IST"}],uu="h-[780px] md:h-[620px] lg:h-[480px] xl:h-[450px]",m5=()=>{const{width:e}=zd();return h.jsxs("div",{className:"w-full flex flex-col py-6 px-10 lg:px-24 gap-y-10 ",children:[h.jsx(tt,{id:"timeline",children:"The Timeline"}),h.jsx("div",{className:q(uu,"hidden lg:block")}),h.jsx(uc,{className:`${uu} gap-1 flex-col lg:flex-row lg:absolute lg:right-0 lg:mt-24 lg:pl-[6rem] 2xl:pl-[6.4rem]`,style:{maxWidth:`calc(100vw - ${(e-Number(ac.theme.extend.maxWidth.body.replace("px","")))/2}px)`},itemStyle:({index:t,itemHovered:n})=>`w-full hover:flex-[4_0_0%] xs:hover:flex-[3_0_0%] [&>div>div:nth-child(3)]:opacity-100 [&>div>div:nth-child(3)]:hover:opacity-0 [&>div>span:nth-child(4)]:opacity-0 md:[&>div>span:nth-child(4)]:opacity-100 [&>div>span:nth-child(4)]:hover:opacity-100 ${t===0&&!n?"flex-[4_0_0%] xs:flex-[3_0_0%] [&>div>div:nth-child(2)]:opacity-100 [&>div>div:nth-child(3)]:opacity-0 [&>div>span:nth-child(4)]:opacity-100":"[&>div>div:nth-child(2)]:opacity-0 [&>div>div:nth-child(2)]:hover:opacity-100"}`,children:p5.map((t,n)=>h.jsxs("div",{className:"bg-white flex flex-col justify-between items-start p-8 gap-y-12 relative",children:[h.jsx("span",{className:"text-2xl sm:text-3xl md:text-[32px] lg:text-6xl 2xl:text-7xl text-start font-cabinet font-extrabold max-w-full lg:max-w-[75vw] block tracking-[1.28px] z-30",children:t.date.split(" ").map((r,l)=>h.jsxs(O.Fragment,{children:[r," ",h.jsx("br",{className:"hidden lg:block"})]},l))}),h.jsx("div",{className:"w-full h-full absolute p-8 top-0 left-0 z-10 flex flex-col justify-center transition-all duration-700",children:h.jsxs("span",{className:"text-lg sm:text-xl md:text-xl lg:text-2xl text-start font-cabinet font-medium text-black/40 lg:mt-20",children:[h.jsxs("span",{className:"text-black/80 font-extrabold",children:[t.title," - "]})," ",t.description]})}),h.jsx("div",{className:"w-full h-full absolute top-0 left-0 z-20 flex flex-col justify-between blur-xl transition-all duration-1000",children:h.jsx("div",{className:"w-full h-full bg-white"})}),h.jsx("span",{className:"text-lg sm:text-xl md:text-2xl text-start font-cabinet font-medium text-black/40 z-30 transition-all duration-700",children:t.time})]},n))})]})},h5=[{name:"Kubernetes Sri Lanka",logo:Fd},{name:"GitHub Community Sri Lanka",logo:Dd}],g5=()=>h.jsxs("div",{className:"w-full flex flex-col py-6 px-10 lg:px-24 gap-y-10",children:[h.jsx(tt,{id:"knowledge-partners",children:"Knowledge Partners"}),h.jsx("div",{className:"grid grid-cols-1 xxs:grid-cols-2 sm:grid-cols-4 gap-8",children:h5.map(({name:e,logo:t})=>h.jsx("div",{className:"bg-white w-full aspect-square flex flex-col items-center justify-center rounded-3xl p-8 xxs:p-4 xs:p-6 md:p-7 xl:p-12 text-white animated-border from-black to-white",children:h.jsx(t,{className:"w-full h-full"})},e))})]}),v5=()=>h.jsxs(h.Fragment,{children:[h.jsx(t5,{}),h.jsx(o5,{}),h.jsx(i5,{}),h.jsx(qd,{}),h.jsx(m5,{}),h.jsx(c5,{}),h.jsx(Jd,{}),h.jsx(u5,{}),h.jsx(d5,{}),h.jsx(g5,{}),h.jsx(a5,{}),h.jsx(e5,{}),h.jsx(s5,{})]}),y5=()=>{Pd();const e=Or();return h.jsx("div",{className:"w-full bg-background",children:h.jsxs("main",{className:"w-full flex flex-col items-center min-h-screen mx-auto",children:[h.jsx(Ud,{}),h.jsx("div",{className:"w-full max-w-body grow mt-[70px] xs:mt-[90px] cursor-default z-40",children:h.jsx(Lf,{location:e,children:h.jsx(M0,{path:"/",element:h.jsx(v5,{})})})}),h.jsx(Zd,{}),h.jsx(Xd,{})]})})};const x5=()=>h.jsx(it.StrictMode,{children:h.jsx(Tf,{basename:Ff("2023"),children:h.jsx(y5,{})})});Ro.createRoot(document.getElementById("root")).render(h.jsx(x5,{})); diff --git a/preview/pr-23/index.html b/preview/pr-23/index.html index 769c74d..1d2e764 100644 --- a/preview/pr-23/index.html +++ b/preview/pr-23/index.html @@ -21,7 +21,7 @@ Bashaway | 2023 - +