window.googletag = window.googletag || { cmd: [] }; const defaultPostAttributes = { type: 'unknown', categories: 'unknown', tags: 'unknown', id: 'unknown', social: 'unknown', staging: 1 }; const socialNetworks = { facebook: [], twitter: ['t.co'], linkedin: [], instagram: [], pinterest: [], tiktok: [], snapchat: [], 'linkin.bio': [], }; const postAttributes = Object.assign({}, defaultPostAttributes, window.postAttributes || {}); function addBettingWidgetIfNotHidden(version = "desktop") { if (postAttributes.hide_non_gam !== 'hide') { const containerDiv = document.createElement('div'); const widgetWrapper = document.createElement('div'); const scriptElement = document.createElement('script'); // Set properties for desktop or mobile const targetElementId = version === "desktop" ? 'betting-widget-container' : 'btw-wrapper-mob'; const targetElement = document.getElementById(targetElementId); if (!targetElement) { return; // Exit early if there's no target element } widgetWrapper.className = version === "desktop" ? 'btw-wrapper' : ''; if (version === "desktop") { containerDiv.className = 'col-span-12 border-t-[0.5px] mt-7'; containerDiv.style.paddingTop = '1.75rem'; } // Set common attributes for the script element scriptElement.async = true; scriptElement.src = 'https://betting-widget.s3.eu-west-2.amazonaws.com/app.js'; scriptElement.setAttribute('version', version); widgetWrapper.appendChild(scriptElement); containerDiv.appendChild(widgetWrapper); targetElement.appendChild(containerDiv); } } function getReferringNetwork(aliases) { const ref = document.referrer; // Loop through the socialNetwork and aliases entries for (const [socialNetwork, aliasList] of Object.entries(aliases)) { if (ref.includes(socialNetwork) || aliasList.some(alias => ref.includes(alias))) { return socialNetwork; } } return 'unknown'; } function isMobileDevice() { return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); } function defineSizeMappings() { return { top: googletag.sizeMapping() .addSize([1024, 0], [[970, 250], [728, 90], [970, 90]]) .addSize([768, 0], [[728, 90]]) .addSize([0, 0], []) .build(), rhs: googletag.sizeMapping() .addSize([1024, 0], [[300, 600], [160, 600], [300, 250]]) .addSize([0, 0], []) .build(), inContent: googletag.sizeMapping() .addSize([1024, 0], [[300, 250], [1, 2]]) .addSize([0, 0], [[300, 250], [320, 50], [1, 2]]) .build(), leftSkin: googletag.sizeMapping() .addSize([760, 0], [[1, 1]]) .addSize([0, 0], []) .build(), rightSkin: googletag.sizeMapping() .addSize([760, 0], [[2, 2]]) .addSize([0, 0], []) .build(), skinTop: googletag.sizeMapping() .addSize([1480, 0], [[970, 90], [970, 250], [728, 90]]) .addSize([0, 0], []) .build(), skinTopMobile: googletag.sizeMapping() .addSize([768, 0], []) .addSize([0, 0], [[300, 250], [320, 50], [1, 2]]) .build(), mobileSticky: googletag.sizeMapping() .addSize([768, 0], []) .addSize([0, 0], [[320, 50]]) .build() }; } function defineSkinUnits() { defineSlot('/247211819/Joe.ie/Joe.ie_Left_Skin', [1, 1], 'div-gpt-ad-1681213692194-0', 'leftSkin'); defineSlot('/247211819/Joe.ie/Joe.ie_Right_Skin', [2, 2], 'div-gpt-ad-1681214169885-0', 'rightSkin'); if(postAttributes.type === 'home') { defineSlot('/247211819/Joe.ie/Joe.ie_top', [[970, 90], [970, 250], [728, 90]], 'div-gpt-ad-1681222708979-0', 'skinTop'); defineSlot('/247211819/Joe.ie/Joe.ie_in_content_1', [[300, 250], [320, 50], [1, 2]], 'div-gpt-ad-1681213026600-0', 'skinTopMobile'); } } function setLazyLoad() { googletag.pubads().enableLazyLoad({ fetchMarginPercent: 100, renderMarginPercent: 50, mobileScaling: 1.0 }); } function addTargeting(postAttributes) { googletag.pubads().setTargeting('type', postAttributes.type ?? 'unknown'); googletag.pubads().setTargeting('category', postAttributes.categories ?? 'unknown'); googletag.pubads().setTargeting('tag', postAttributes.tags ?? 'unknown'); googletag.pubads().setTargeting('id', String(postAttributes.id) ?? 'unknown'); googletag.pubads().setTargeting('social', getReferringNetwork(socialNetworks) ?? 'unknown'); googletag.pubads().setTargeting('staging', String(postAttributes.staging) ?? 'unknown'); } function defineAndDisplaySlot(adUnitPath, sizes, elementId, sizeMappingKey) { defineSlot(adUnitPath, sizes, elementId, sizeMappingKey); googletag.display(elementId); } // Only define the ad slot and add it to a list function defineSlot(adUnitPath, sizes, elementId, sizeMappingKey) { const isMobile = isMobileDevice(); const restrictedUnits = ['top', 'rhs']; if (restrictedUnits.includes(adUnitPath) && isMobile) { return; } const sizeMappings = defineSizeMappings(); const mapping = sizeMappings[sizeMappingKey]; const slot = googletag.defineSlot(adUnitPath, sizes, elementId); slot.defineSizeMapping(mapping); slot.addService(googletag.pubads()); } // Function to display a list of ad slots function displaySlots(slotIds) { slotIds.forEach(id => { googletag.display(id); }); } // Function to fire after unit render function renderCallback(event) { if (event.slot.getAdUnitPath().includes('mobile_sticky')) { if (event.isEmpty) { return; } if (document.getElementById('qc-cmp2-persistent-link')) { document.getElementById('qc-cmp2-persistent-link').style.bottom = document.getElementsByClassName('sticky-footer-container')[0].offsetHeight+'px'; } } } googletag.cmd.push(function () { try { defineSkinUnits(); googletag.pubads().enableSingleRequest(); setLazyLoad(); addTargeting(postAttributes); googletag.pubads().setCentering(true); googletag.pubads().addEventListener('slotRenderEnded', function(event) {renderCallback(event);}); googletag.enableServices(); displaySlots(['div-gpt-ad-1681213692194-0','div-gpt-ad-1681214169885-0']); if(postAttributes.type === 'home') { displaySlots(['div-gpt-ad-1681222708979-0','div-gpt-ad-1681213026600-0']); } } catch (err) { console.error("An error occurred while setting up ads:", err); } });
Search icon

News

24th Nov 2022

Family of Irish solicitor and TikTok star Richard Grogan thanks fans for support

Sarah McKenna Barry

“He will be sorely missed by all. That’s the law, and that’s a fact.”

The family of Irish employment solicitor and TikTok sensation Richard Grogan have thanked fans for their support after his death was announced this week.

Mr Grogan qualified as a solicitor in 1979 and went on to set up his own law practice in Dublin, Richard Grogan & Associates.

In 2021, he created a TikTok account where he would answer questions relating to Irish employment law. The videos grew in popularity, amassing nearly 300,000 followers on TikTok, and over two million likes.

He was particularly popular for signing off his no-nonsense videos with the expression: “That’s the law, and that’s a fact.”

His death was confirmed on Wednesday (24 November) by Lawyers Against Homelessness, who Richard worked with.

Across social media, fans paid tribute to Richard, and last night his family shared a statement on his TikTok page.

They wrote: “On behalf of Richard’s family, we would like to extend a big thank you to everyone who supported and engaged with Richard on his social media. He got great enjoyment from these interactions.

“It was a genuine passion of his to educate while having fun in a way only he could.

“He will be sorely missed by all. That’s the law, and that’s a fact.”

As well as fans, a number of legal organisations have paid tribute to Richard.

The Law Society of Ireland wrote: “The law society of Ireland is deeply saddened to learn of Council member Richard Grogan’s passing.

“Richard was a tireless advocate, both in proceedings and in the public arena. We will miss his energy, humour, and deep commitment to the profession.”

Fine Gael leader Leo Varadkar said on Twitter that he was “really sorry” to hear of Richard’s death.

“His videos on employment law were straightforward and informative,” he wrote. “We all used to watch them in the Department. We have lost a servant of the people – that’s a fact.”