Skip to content

Commit

Permalink
deploy: 9af2b5d
Browse files Browse the repository at this point in the history
  • Loading branch information
MathyouMB committed Sep 21, 2023
1 parent 37cf3fc commit b575944
Show file tree
Hide file tree
Showing 96 changed files with 102 additions and 94 deletions.
8 changes: 8 additions & 0 deletions events/2023-2024/2023-10-13-prof-night/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<!doctype html><html lang=en><head><meta charset=utf-8><meta name=viewport content="width=device-width,initial-scale=1"><link rel=stylesheet href=https://ccss.carleton.ca/css/styles.4bcab6a65c46a2aef1440bdafec71767050a3747c4d59ee856b571e2902b889ef4907cd94f51553fbd6cca9b04524dd7314c605641c72c9b2ee5789550886046.css crossorigin=anonymous integrity="sha512-S8q2plxGoq7xRAva/scXZwUKN0fE1Z7oVrVx4pAriJ70kHzZT1FVP71sypsEUk3XMUxgVkHHLJsu5XiVUIhgRg=="><link rel=stylesheet href=https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin=anonymous referrerpolicy=no-referrer><link rel=preconnect href=https://fonts.gstatic.com><link href="https://fonts.googleapis.com/css2?family=Nunito:wght@600&display=swap" rel=stylesheet><link href=https://ccss.carleton.ca/favicon.ico rel=icon /><title>Carleton Computer Science Society | Prof Night</title><meta name=description content="October 13, 2023 | 5:00 - 7:00 PM EDT | Share a drink and a conversation with your favourite professors."><meta property="og:type" content="website"><meta property="og:url" content="https://ccss.carleton.ca"><meta property="og:title" content="Carleton Computer Science Society | Prof Night"><meta property="og:description" content="October 13, 2023 | 5:00 - 7:00 PM EDT | Share a drink and a conversation with your favourite professors."><meta property="og:image" content="https://ccss.carleton.ca/images/event_posters/2023-2024/prof_night.jpg"><meta property="twitter:card" content="summary_large_image"><meta property="twitter:url" content="https://ccss.carleton.ca"><meta property="twitter:title" content="Carleton Computer Science Society | Prof Night"><meta property="twitter:description" content="October 13, 2023 | 5:00 - 7:00 PM EDT | Share a drink and a conversation with your favourite professors."><meta property="twitter:image" content="https://ccss.carleton.ca/images/event_posters/2023-2024/prof_night.jpg"><meta http-equiv=cache-control content="no-cache"><link rel=apple-touch-icon href=images/ccss-logo-ios.png></head><body><div class=navbar-container><div class=navbar-wrapper><div class=navbar id=primary_nav_wrap><a href=https://ccss.carleton.ca/ class="nav-brand nav_item"><img src=/images/ccss-logo-2022.png class=navbar-logo alt="The logo of the Carleton Computer Science Society"></a><ul class=navbar-items><li><a href=/about>ABOUT</a><ul><li><a href=/about/team>THE TEAM</a></li><li><a href=/about/governance>GOVERNANCE</a></li></ul></li><li><a href=/events>EVENTS</a><ul><li><a href=/events/weekofawesome>WEEK OF AWESOME</a></li><li><a href=/hackthetunnels>HACK THE TUNNELS</a></li></ul></li><li><a href=/news>NEWS</a></li><li><a href=#>COMMUNITY</a><ul><li><a href=https://carletoncss.myshopify.com/products/2023-2024-ccss-hoodie>STORE</a></li><li><a href=/blog>BLOG</a></li><li><a href=/community/organizations>ORGANIZATIONS</a></li><li><a href=http://magazine.carletoncomputersciencesociety.ca/>MAGAZINE</a></li></ul></li><li><a href=/volunteer>VOLUNTEER</a></li></ul><div class=mobile-hamburger><i class="fas fa-bars"></i></div></div></div></div><header class=header><a href=https://ccss.carleton.ca/ class="nav-brand nav_item"><img width=180px src=/images/ccss-logo-2022.png alt="The logo of the Carleton Computer Science Society"></a>
<input class=menu-btn type=checkbox id=menu-btn>
<label class=menu-icon for=menu-btn><span class=navicon></span></label><ul class=menu><li><a href=/about>ABOUT</a></li><li><a href=/events>EVENTS</a></li><li><a href=/events/weekofawesome>WEEK OF AWESOME</a></li><li><a href=/hackthetunnels>HACK THE TUNNELS</a></li><li><a href=https://carletoncss.myshopify.com/products/2023-2024-ccss-hoodie>SHOP</a></li><li><a href=/news>NEWS</a></li><li><a href=/blog>BLOG</a></li><li><a href=/volunteer>VOLUNTEER</a></li></ul></header><script src=https://code.iconify.design/iconify-icon/1.0.0/iconify-icon.min.js></script><script type=text/javascript>function convertDateSingleDay(j,c){var b,i;const h=j.split("T")[0].split("-"),e=parseInt(h[0]),f=parseInt(h[1])-1,g=parseInt(h[2]);b=0,Date.prototype.stdTimezoneOffset=function(){var a=new Date(this.getFullYear(),0,1),b=new Date(this.getFullYear(),6,1);return Math.max(a.getTimezoneOffset(),b.getTimezoneOffset())},Date.prototype.isDstObserved=function(){return this.getTimezoneOffset()<this.stdTimezoneOffset()},i=new Date(e,f,g),i.isDstObserved()||(b=1);let d=parseInt(c.split(" ")[0].split(":")[0]),a=parseInt(c.split(" ")[2].split(":")[0]),k=parseInt(c.split(" ")[0].split(":")[1]),l=parseInt(c.split(" ")[2].split(":")[1]);"5:00 - 7:00 PM EDT".includes("AM")||"5:00 - 7:00 PM EDT".includes("PM")&&(a===12||a<d)?d+=4+b:d+=16+b,"5:00 - 7:00 PM EDT".includes("AM")&&a!=12||"5:00 - 7:00 PM EDT".includes("PM")&&a==12?a+=4+b:a+=16+b;const m=new Date(Date.UTC(e,f,g,d,k,0)),n=new Date(Date.UTC(e,f,g,a,l,0));return[m,n]}function convertDateMultiDay(d,e){const b={Jan:0,Feb:1,Mar:2,Apr:3,May:4,Jun:5,Jul:6,Aug:7,Sept:8,Oct:9,Nov:10,Dec:11},f=d.split("T")[0].split("-"),a=e.split(" - "),c=parseInt(f[0]),g=b[a[0].split(" ")[0]],h=parseInt(a[0].split(" ")[1]),i=b[a[1].split(" ")[0]],j=parseInt(a[1].split(" ")[1]),k=new Date(Date.UTC(c,g,h,4,0,0)),l=new Date(Date.UTC(c,i,j,4,0,0));return[k,l]}function generateGCalLink(b,c){let d=new URL("https://www.google.com/calendar/render?"),a=new URLSearchParams(d.search),e=`${b.getUTCFullYear()}${(b.getUTCMonth()+1).toString().padStart(2,"0")}${b.getUTCDate().toString().padStart(2,"0")}T${b.getUTCHours().toString().padStart(2,"0")}${b.getUTCMinutes().toString().padStart(2,"0")}00Z/`,f=`${c.getUTCFullYear()}${(c.getUTCMonth()+1).toString().padStart(2,"0")}${c.getUTCDate().toString().padStart(2,"0")}T${c.getUTCHours().toString().padStart(2,"0")}${c.getUTCMinutes().toString().padStart(2,"0")}00Z`,g=e+f;return a.append("action","TEMPLATE"),a.append("text","Prof Night"),a.append("details","Share a drink and a conversation with your favourite professors."),a.append("location","Ollie's Pub \u0026 Patio"),a.append("dates",g),d+a}function generateOutlookLink(c,d){let b=new URL("https://outlook.live.com/calendar/0/deeplink/compose?"),a=new URLSearchParams(b.search);return a.append("allday","false"),a.append("body","Share a drink and a conversation with your favourite professors."),a.append("enddt",d.toISOString()),a.append("location","Ollie's Pub \u0026 Patio"),a.append("path","/calendar/action/compose"),a.append("rru","addevent"),a.append("startdt",c.toISOString()),a.append("subject","Prof Night"),b+a}function generateAppleICSFile(a,b){let c=`${a.getUTCFullYear()}${(a.getUTCMonth()+1).toString().padStart(2,"0")}${a.getUTCDate().toString().padStart(2,"0")}T${a.getUTCHours().toString().padStart(2,"0")}${a.getUTCMinutes().toString().padStart(2,"0")}00Z`,d=`${b.getUTCFullYear()}${(b.getUTCMonth()+1).toString().padStart(2,"0")}${b.getUTCDate().toString().padStart(2,"0")}T${b.getUTCHours().toString().padStart(2,"0")}${b.getUTCMinutes().toString().padStart(2,"0")}00Z`,e="BEGIN:VCALENDAR\nVERSION:2.0\nPRODID:-//ccss.carleton.ca//EN\nBEGIN:VEVENT\nSEQUENCE:0\nDTSTART:"+c+"\n"+"DTEND:"+d+"\n"+"SUMMARY:"+"Prof Night"+"\n"+"LOCATION:"+"Ollie's Pub \u0026 Patio"+"\n"+"DESCRIPTION:"+"Share a drink and a conversation with your favourite professors."+"\n"+"END:VEVENT\n"+"END:VCALENDAR\n",f=new File([e],{type:"text/plain"});return window.URL.createObjectURL(f)}window.onload=function(){let a,b;const d=document.getElementById("g-cal-button"),e=document.getElementById("outlook-button"),c=document.getElementById("apple-button");"5:00 - 7:00 PM EDT".includes("PM")||"5:00 - 7:00 PM EDT".includes("AM")?[a,b]=convertDateSingleDay("2023-10-13T00:00:00Z","5:00 - 7:00 PM EDT"):[a,b]=convertDateMultiDay("2023-10-13T00:00:00Z","5:00 - 7:00 PM EDT"),d.href=generateGCalLink(a,b),e.href=generateOutlookLink(a,b),c.href=generateAppleICSFile(a,b),c.download="2023-10-13T00:00:00Z-Prof Night.ics"}</script><div class=event-page><section class=event_header style=background-image:url(https://ccss.carleton.ca/images/orientation2018-min.jpeg)></section><section class="event_header event_blur" style=background-image:url(https://ccss.carleton.ca/images/orientation2018-min.jpeg)></section><div class=event><div class=date_card_about><h3 style=text-align:center>OCT</h3><h2 style=text-align:center>13</h2><h3 style=text-align:center>2023</h3></div><div class=event_container><div class=event_container_poster style=background-image:url(https://ccss.carleton.ca/images/event_posters/2023-2024/prof_night.jpg);background-size:contain;background-position:50%></div><div class=event_container_content><div><h2>Prof Night</h2><p>Share a drink and a conversation with your favourite professors.</p></div><div><div class=event-subtitle>START TIME</div><div class=event-time>5:00 - 7:00 PM EDT</div></div><div><div class=event-subtitle>LOCATION</div><a href=https://students.carleton.ca/services/ollies/><button class=button>Ollie's Pub & Patio</button></a></div><div><div class=event-subtitle>ADD TO CALENDAR</div><div class=calendar-icons><a id=g-cal-button target=_blank><iconify-icon class=hvr-float icon=akar-icons:google-fill style="color: #c40729;" width=30></iconify-icon></a><a id=outlook-button target=_blank><iconify-icon id=outlook-button class=hvr-float icon=file-icons:microsoft-outlook style="color: #c40729;" width=30></iconify-icon></a><a id=apple-button target=_blank><iconify-icon id=apple-button class=hvr-float icon=ant-design:apple-filled style="color: #c40729;" width=30></iconify-icon></a></div></div></div></div></div></div><noscript><img src=https://shynet.carletoncomputersciencesociety.ca/ingress/79c3a476-4406-4560-aad3-92fca8d6d106/pixel.gif></noscript><script defer src=https://shynet.carletoncomputersciencesociety.ca/ingress/79c3a476-4406-4560-aad3-92fca8d6d106/script.js></script></body><div class=footer><div class=footer-socials><a href=http://discord.carletoncomputersciencesociety.ca><i class="fab fa-discord"></i></a>
<a href=https://www.instagram.com/carletoncss/><i class="fab fa-instagram"></i></a>
<a href=https://www.facebook.com/CarletonComputerScienceSociety><i class="fab fa-facebook"></i></a>
<a href=https://twitter.com/carletoncss><i class="fab fa-twitter"></i></a>
<a href=https://github.com/CarletonComputerScienceSociety><i class="fab fa-github"></i></a></div><div class=footer-copyright>©
<script>document.write((new Date).getFullYear())</script><span></span>Carleton Computer Science Society</div></div><script src=https://code.jquery.com/jquery-1.9.1.min.js integrity="sha256-wS9gmOZBqsqWxgIVgA8Y9WcQOa7PgSIX+rPA0VL2rbQ=" crossorigin=anonymous></script><script type=text/javascript src=https://ccss.carleton.ca/js/bundle.45a094ba9af82b81c6bc7726dd396da28b94ece5086ffc5d3b6066e8056f76f032fda897e5f191ea62ca368986752205af04aede945c01863ef6786d98ba5ab6.js integrity="sha512-RaCUupr4K4HGvHcm3TltoouU7OUIb/xdO2Bm6AVvdvAy/aiX5fGR6mLKNomGdSIFrwSu3pRcAYY+9nhtmLpatg==" crossorigin=anonymous></script></html>
Loading

0 comments on commit b575944

Please sign in to comment.