/*! For license information please see component---src-pages-index-js-a6e1d48a70bb1b54b300.js.LICENSE.txt */ "use strict";(self.webpackChunkphaeria_dev=self.webpackChunkphaeria_dev||[]).push([[293],{4077:function(e,t,n){var r=n(9144),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},c={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function i(e){return r.isMemo(e)?c:l[e.$$typeof]||o}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=c;var s=Object.defineProperty,u=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,m=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=d(n);o&&o!==h&&e(t,o,r)}var c=u(n);f&&(c=c.concat(f(n)));for(var l=i(t),p=i(n),y=0;y{const e=["hole1","hole2","hole3","hole4","hole5","hole6","hole7","hole8","hole9"],{0:t,1:n}=(0,r.useState)(-1),{0:o,1:a}=(0,r.useState)(!1),c=t=>{let n;do{n=Math.floor(Math.random()*e.length)}while(n===t);return n};return(0,r.useEffect)((()=>{-1==t&&n(c(t));const e=document.querySelector(".background-video");e&&(e.load(),e.play())}),[t]),t>-1?r.createElement("div",{className:""+(o?"fade-out":"fade-in")},r.createElement("video",{autoPlay:!0,loop:!1,muted:!0,preload:"auto",playsInline:!0,className:"background-video",onEnded:()=>{a(!0),setTimeout((()=>{n(c(t)),a(!1)}),500)}},r.createElement("source",{src:(e=>{const t=navigator.connection||navigator.mozConnection||navigator.webkitConnection;return t&&("2g"===t.effectiveType||t.saveData)?e+"-720.mp4":e+"-1080.mp4"})(e[t]),type:"video/mp4"}),"Your browser does not support the video tag."),r.createElement("div",{className:"arrow-container",onClick:()=>{const e=document.querySelector(".cta-container");e&&e.scrollIntoView({behavior:"smooth"})}},r.createElement("span",{className:"arrow-icon"},r.createElement("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACUAAAA2CAYAAABA3FA2AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAxZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDkuMS1jMDAyIDc5LmE2YTYzOTY4YSwgMjAyNC8wMy8wNi0xMTo1MjowNSAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RDExOTlFMDhBQkZDMTFFRjlGODFDMTZBNTJGQ0EyMEIiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RDExOTlFMDdBQkZDMTFFRjlGODFDMTZBNTJGQ0EyMEIiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDIwMjQgTWFjaW50b3NoIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOm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tRatV5kMTkMWnxvPuUkXYKPaCsv+EIv3eFpSB108RvXibWZUTgkPXASayALJUHdpqrgENWiYPEE6A/fQBaBf0FCujH7ZBaiLCMiiKRQ+pOVzq4xA96E7hex9F6CpMgB9h/rFvz9MoVCIsvspKOrgbwZB6CS+K1LwKQGFP8EdEfajaJErMy7sGtTmCXzHuOnxRP4XSzQk1B64R1BbiaI1S50F0Jjt4zAqf4TbB42UAIg2yv35gAo6o6ORWb793C4C6B7Ux9vKazmHz2A4++Gu04tLgVXo8HgeMENWemAJioN1wd2g1ZOn6AforLinOQYlwJ2GuwZ1GERnALoKoJSdtm1DcTB68zzH1cT3sJuACRazIoqCcsr+CjAA4vlNtidoa7YAAAAASUVORK5CYII=",alt:"arrow down",width:"37",height:"54"})))):""},C=n(8231),j=n(2701);var R=()=>{const{0:e,1:t}=(0,r.useState)(""),n={color:"white",fontSize:"0.8rem"};return(0,r.useEffect)((()=>{const e=(new Date).toISOString().split("T")[0];t(e)}),[]),r.createElement("div",{className:"landing-page raleway-400"},r.createElement("div",{className:"video-container"},r.createElement(O,null),r.createElement("header",{className:"header"},r.createElement("div",{className:"centered-content"},r.createElement("div",{className:"logo"},r.createElement("img",{src:A,alt:"Southport Old Links Logo",width:"150",height:"175"})),r.createElement("h1",{className:"title"},"where golf feels like home")))),r.createElement("div",{className:"cta-container"},r.createElement("a",{href:`https://solgc.hub.clubv1.com/visitors/TeeSheet?date=${e}`,className:"cta-section cta-1"},r.createElement("h3",null,"Fancy a round?"),r.createElement("p",null,"View our Tee sheet and book a Tee Time."),r.createElement("div",{class:"horizontal-line"})),r.createElement("a",{href:"https://www.southportoldlinksgolfclub.co.uk/how-to-join",className:"cta-section cta-2"},r.createElement("h3",null,"Interested in joining?"),r.createElement("p",null,"View our Membership options."),r.createElement("div",{class:"horizontal-line"})),r.createElement("a",{href:"https://www.southportoldlinksgolfclub.co.uk/course-flyovers-and-videos",className:"cta-section cta-3"},r.createElement("h3",null,"Come fly with me"),r.createElement("p",null,"Experience the course from above."),r.createElement("div",{class:"horizontal-line"}))),r.createElement("div",{className:"extra-content"},r.createElement("h2",null,"SOUTHPORT OLD LINKS"),r.createElement("p",{className:"subtitle-header"},"where golf feels like home"),r.createElement("div",{class:"horizontal-line"}),r.createElement("div",{class:"paragraph-container"},r.createElement("p",{class:"center-aligned"},"We are dedicated to providing a warm and inclusive environment for all golf enthusiasts.",r.createElement("br",null),"We take pride in offering an affordable yet exceptional golfing experience on our challenging course, consistently maintained for quality and your enjoyment."))),r.createElement("div",{className:"cta-container"},r.createElement("a",{href:"https://www.southportoldlinksgolfclub.co.uk/",className:"cta-section color-section"},r.createElement("h3",null,"Home"),r.createElement("div",{class:"horizontal-line"})),r.createElement("a",{href:"https://www.southportoldlinksgolfclub.co.uk/functions",className:"cta-section color-section"},r.createElement("h3",null,"Functions"),r.createElement("div",{class:"horizontal-line"})),r.createElement("a",{href:"https://www.southportoldlinksgolfclub.co.uk/societies",className:"cta-section color-section"},r.createElement("h3",null,"Visitors"),r.createElement("div",{class:"horizontal-line"})),r.createElement("a",{href:"https://www.southportoldlinksgolfclub.co.uk/course-guide",className:"cta-section color-section second-row"},r.createElement("h3",null,"The course"),r.createElement("div",{class:"horizontal-line"})),r.createElement("a",{href:"https://solgc.hub.clubv1.com/",className:"cta-section color-section second-row"},r.createElement("h3",null,"Members hub"),r.createElement("div",{class:"horizontal-line"})),r.createElement("a",{href:"https://www.southportoldlinksgolfclub.co.uk/contact-info",className:"cta-section color-section second-row"},r.createElement("h3",null,"Contact us"),r.createElement("div",{class:"horizontal-line"}))),r.createElement("div",{className:"extra-content"},r.createElement("span",{className:"footer-social"},r.createElement("a",{href:"https://www.facebook.com/oldlinksgolf","aria-label":"Facebook Page"},r.createElement(C.ok6,{style:n})),r.createElement("a",{href:"https://www.twitter.com/oldlinksgolf","aria-label":"Twitter Page"},r.createElement(j.TCj,{style:n})),r.createElement("a",{href:"https://www.instagram.com/oldlinksgolf","aria-label":"instagram Page"},r.createElement(C.ao$,{style:n})))))};var M=()=>{const e=k((()=>n.e(351).then(n.bind(n,351))));return r.createElement("main",null,r.createElement(e,{title:"Home - Southport Old Links Golf Club"}),r.createElement(R,null))}}}]); //# sourceMappingURL=component---src-pages-index-js-a6e1d48a70bb1b54b300.js.map