Skip to content

Commit

Permalink
Added Irish (GA) global headers
Browse files Browse the repository at this point in the history
  • Loading branch information
bitka committed Jun 13, 2023
1 parent a738900 commit 724983b
Show file tree
Hide file tree
Showing 2 changed files with 254 additions and 0 deletions.
64 changes: 64 additions & 0 deletions t4_media/includes/GAFooter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
<!-- ********** FOOTER ********** -->
<div class="footer container">
<div class="row">
<div class="col span4">
<h2>Teagmháil: </h2>
<p><b>An Phríomh-Oifig Staidrimh</b><br>
Bóthar na Sceiche Airde, Corcaigh T12 XOOE, Éire
</p>
<div class="divFooterTable">
<div class="divFooterTableBody">
<div class="divFooterTableRow">
<div class="divFooterTableCell"><b>Teil:</b></div>
<div class="divFooterTableCell"><a href="tel:+353214535000">+353-21-4535000</a></div>
</div>

<div class="divFooterTableRow">
<div class="divFooterTableCell"><b>R-phost:</b></div>
<div class="divFooterTableCell"><a href="mailto:[email protected]">[email protected]</a></div>
</div>
</div>
</div>
<!-- divFooterTable.com -->
</div>
<!--/col-->
<div class="col span4">
<h2>Naisc: </h2>
<ul class="footerNavList">
<li><a href="<t4 type="navigation" id="176"/>">&copy; 2023</a></li>
<li><a href="<t4 type="navigation" id="172"/>">Saoráil Faisnéise</a></li>

<li><a href="<t4 type="navigation" id="696"/>">Inrochtaineacht</a></li>
<li><a href="<t4 type="navigation" id="209"/>">Ráiteas Príobháideachais</a></li>
<!-- navigation object : Path: Contact us -->
<li><a href="<t4 type="navigation" id="582"/>">Teagmháil</a></li>
</ul>
</div>
<!--/col-->
<div class="col span4">
<h2>Lean muid: </h2>
<ul class="socialNavList inverted">
<li class="youtube">
<a href="https://www.youtube.com/user/CSOIrelandMedia" title="ar Youtube" target="_blank"><i class="fa fa-youtube-play fa-2x"></i></a>
</li>
<li class="twitter">
<a href="https://www.twitter.com/POStaidrimh" title="ar Twitter" target="_blank"><i class="fa fa-twitter fa-2x"></i></a>
</li>
<li class="facebook">
<a href="https://www.facebook.com/CSOIreland" title="Tabhair like dúinn ar Facebook"><i class="fa fa-facebook-official fa-2x"></i></a>
</li>
<li class="instagram">
<a href="https://www.instagram.com/csoireland/" title="ar Instagram"><i class="fa fa-instagram fa-2x"></i></a>
</li>
<li class="rss">
<a href="http://www.cso.ie/rss/en/latestreleasesandpublications/index.xml" title="Cláraigh le fothaí RSS"><i class="fa fa-rss fa-2x"></i></a>
</li>
</ul>
</div>
<!--/col-->
</div>
<!--/row-->
</div>
<!--/footer-->
</body>
</html>
190 changes: 190 additions & 0 deletions t4_media/includes/GAHeader.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,190 @@
<link rel="apple-touch-icon" sizes="57x57" href="/favicons/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/favicons/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/favicons/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/favicons/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/favicons/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/favicons/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/favicons/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/favicons/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/favicons/apple-icon-180x180.png">

<link rel="icon" type="image/png" sizes="192x192" href="/favicons/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicons/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicons/favicon-16x16.png">

<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-M5K0ZBH6F8">
</script>


<!-- Begin Cookie Consent plugin by Silktide - https://cookieconsent.insites.com/ -->
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.1/cookieconsent.min.js"></script>
<style>
.cc-message a:visited {
color: rgb(255, 255, 255)
}
</style>
<script>
window.addEventListener("load", function () {
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#35456B",
"text": "#ffffff"
},
"button": {
"background": "#FBAA34",
"text": "#ffffff"
}
},
position: "bottom",
"static": false,
"type": "opt-in",
"revokable": false,
"content": {
"message": "<h2 style='margin-bottom: 10px'>Fianáin</h2><span>Úsáidtear fianáin ar an suíomh gréasáin seo chun an t-eispéaras a fheabhsú agus trácht an tsuímh a mheas. Tá réamhshocrú ann chun diúltú do na fianáin seo. Is féidir an socrú a athrú ach gliogáil ar an gcnaipe 'Glac leo'.Chun teacht ar bhreis eolais faoinár n-úsáid fáináin, féach <a href='https://www.cso.ie/en/baile/raiteaspriobhaideachais/index.html' target='_blank' style='color: #ffffff'>Ráiteas Príobháideachais</a>. an tsuímh agus </span>",
"allow": "<span style='padding: 20px;font-size: 18px;'>Glac leo</span>",
"deny": "<span style='display: none'>Reject</span>",
"link": "<span style='font-size: 20px;font-weight: bold'>Bainistigh Fianáin</span>",
"href": "#",
"policy": "Beartas Fianán"
},
"onInitialise": function (e) {
if (e == "allow") {
window['ga-disable-G-M5K0ZBH6F8'] = false;
} else {
window['ga-disable-G-M5K0ZBH6F8'] = true;
}

window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-M5K0ZBH6F8', { 'anonymize_ip' : true });
gtag('set', {'allow_google_signals': false});
gtag('set', {'allow_ad_personalization_signals': false});
gtag ( 'set', { 'restricted_data_processing': true });
},
"onStatusChange": function (e, t) {
if (e == "allow") {
window['ga-disable-G-M5K0ZBH6F8'] = false;
window.location.href = window.location.pathname;
$("#cookie-consent-status-toggle").prop("checked", true)
} else {
$("#cookie-consent-status-toggle").prop("checked", false)
window.location.href = window.location.pathname;

}
window['ga-disable-G-M5K0ZBH6F8'] = true;
}
});
$(".cc-link").click(function (e) {
e.preventDefault()
setCookie("cookieconsent_status", "deny", 365);
window.location.href = "/en/baile/raiteaspriobhaideachais/index.html#cookie-toggle-anchor"
});

function setCookie(cname, cvalue, exdays) {
var d = new Date();
d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
var expires = "expires=" + d.toUTCString();
document.cookie = cname + "=" + cvalue + ";" + expires + ";path=/";
}

window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-M5K0ZBH6F8', { 'anonymize_ip' : true });
gtag('set', {'allow_google_signals': false});
gtag('set', {'allow_ad_personalization_signals': false});
gtag ( 'set', { 'restricted_data_processing': true });
});

</script>
<!-- End Cookie Consent plugin -->


</head>
<body>

<t4 type="navigation" name="Topline Banner" id="1335" /><!-- banner to appear at top of page when enabled -->

<div class="container header">
<div class="row">
<div class="col span12">
<h1><a href="<t4 type="navigation" id="180"/>"><img src="<t4 type="media" id="86231" formatter="path/*" />" alt="Central Statistics Office" ></a></h1>

<a class="btn blue" href="<t4 type="navigation" id="93"/>" title="Gaeilge">English</a>
<div class="headerSocial">

<ul>
<li class="youtube">
<a href="https://www.youtube.com/user/CSOIrelandMedia" title="Lean muid ar YouTube" target="_blank"><i class="fa fa-youtube-play fa-2x"></i></a>
</li>
<li class="twitter">
<a href="https://www.twitter.com/POStaidrimh" title="Lean muid ar Twitter" target="_blank"><i class="fa fa-twitter fa-2x"></i></a>
</li>
<li class="facebook">
<a href="https://www.facebook.com/CSOIreland" title="Tabhair ‘is maith liom’ dúinn ar Facebook" target="_blank"><i class="fa fa-facebook-official fa-2x"></i></a>
</li>
<li class="instagram">
<a href="https://www.instagram.com/csoireland/" title="Lean muid ar Instagram" target="_blank"><i class="fa fa-instagram-square fa-2x"></i></a>
</li>

</ul>

</div>
<div class="headerSearch">
<!-- Form's action must be the results page's URL -->
<form method="get" action="https://www.cso.ie/en/search/">
<!-- Search field's name must be addsearch -->
<input type="text" name="addsearch" placeholder="Search" autocomplete="off" />
</form>
<!--<p>Search currently unavailable</p>-->
</div>


<!--/col--></div>
<!--/row--></div>
<!--/header--></div>
<p class="hide">&nbsp;<a accesskey="s" href="#content">Skip navigation</a></p>
<div class="container mainNav">
<div class="row">
<div class="col span12"><a class="toggleMainNav" href="javascript:" title="Taispeáin Roghchlár">Taispeáin Roghchlár <em class="fa fa-navicon">&nbsp;</em></a>
<ul class="mainNavList gaeilge">
<li><span id="homeTab"><a title="Home" href="<t4 type="navigation" id="180"/>">Baile</a></span></li>
<li><span id="statisticsTab">Staitisticí</span>
<div class="ddBox"><a class="pageLink" href="<t4 type="navigation" id="575"/>">Staitisticí</a>
<ul class="statisticsList">
<li><a href="<t4 type="navigation" id="575"/>">Daoine agus an tSochaí</a>
<!-- navigation object : People and society box --><t4 type="navigation" id="576"/>
</li>
<li><a href="<t4 type="navigation" id="575"/>">Margadh Saothair agus Tuilleamh</a>
<!-- navigation object : Labour Market & Earnings --><t4 type="navigation" id="577"/>
</li>
<li><a href="<t4 type="navigation" id="575"/>">Comhshaol agus Aeráid</a>
<!-- navigation object : Business Sectors --><t4 type="navigation" id="560"/>
</li>
<li><a href="<t4 type="navigation" id="575"/>">Geilleagar</a>
<!-- navigation object : Economy --><t4 type="navigation" id="579"/>
</li>
<li><a href="<t4 type="navigation" id="575"/>">Earnálacha Gnó</a>
<!-- navigation object : Environment and Climate --><t4 type="navigation" id="578"/>
</li>

</ul>
<a class="close" href="javascript:">close <em class="fa fa-arrow-circle-up">&nbsp;</em></a></div>
<!--/ddBox--></li>
<li><span id="databasesTab"><a title="Databases" href="<t4 type="navigation" id="583"/>">Stórtha Sonraí</a></span></li>
<li><span id="methodsTab"><a title="Methods" href="<t4 type="navigation" id="584"/>">Modhanna</a></span></li>
<li><span id="surveysTab"><a title="Surveys" href="<t4 type="navigation" name="Path to Surveys Irish" id="1340" />">Suirbhéanna</a></span></li>
<li><span id="aboutUsTab"><a title="About Us" href="<t4 type="navigation" id="156"/>">Eolas Fúinn</a></span></li>
<li><span id="censusTab"><a title="Census" href="<t4 type="navigation" id="993"/>">Daonáireamh</a></span></li>
<!--<li><a href="#onlineSurvey" class="fancySurvey">Show Survey</a></li>--></ul>
</div>
<!--/col--></div>
<!--/row--></div>
<!--/mainNav-->

0 comments on commit 724983b

Please sign in to comment.