mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
parent
a20110874c
commit
3964c5d44e
@ -3,24 +3,24 @@
|
||||
<div class="large-4 columns">
|
||||
<h2>ACE3</h2>
|
||||
<p>ACE3 is a joint effort by the teams behind ACE2, AGM and CSE to improve the realism and authenticity of Arma 3.</p>
|
||||
<p>If you want to contribute something to ACE3, simply fork the <a href="{{ site.ace.githubUrl }}" target="_blank" onclick="app.analytics.sendEvent('ExternalLink', 'Click', this.href);" rel="noopener">GitHub repository</a> and submit your pull requests for review.</p>
|
||||
<p>If you want to contribute something to ACE3, simply fork the <a href="{{ site.ace.githubUrl }}" target="_blank" rel="noopener">GitHub repository</a> and submit your pull requests for review.</p>
|
||||
</div>
|
||||
<div class="large-4 columns">
|
||||
<h2>Issues / Feedback</h2>
|
||||
<p>Issues, feature requests and feedback are welcome at the <a href="{{ site.ace.githubUrl }}/issues" target="_blank" onclick="app.analytics.sendEvent('ExternalLink', 'Click', this.href);" rel="noopener">ACE3 GitHub issue tracker</a>.</p>
|
||||
<p>Issues, feature requests and feedback are welcome at the <a href="{{ site.ace.githubUrl }}/issues" target="_blank" rel="noopener">ACE3 GitHub issue tracker</a>.</p>
|
||||
<p>Before reporting an issue, please read the wiki entry <a href="{{ site.baseurl }}/wiki/user/how-to-report-an-issue.html" rel="noopener">"How to report an issue"</a>.</p>
|
||||
<p>We have created a single <a href="{{ site.ace.githubUrl }}/issues/3594/" target="_blank" onclick="app.analytics.sendEvent('ExternalLink', 'Click', this.href);" rel="noopener">issue for feature requests</a>.</p>
|
||||
<p>We have created a single <a href="{{ site.ace.githubUrl }}/issues/3594/" target="_blank" rel="noopener">issue for feature requests</a>.</p>
|
||||
</div>
|
||||
<div class="large-4 columns">
|
||||
<h2>Social Media</h2>
|
||||
<div class="social__icons">
|
||||
<a class="social__icon" href="https://twitter.com/ACE3Mod" target="_blank" onclick="app.analytics.sendEvent('ExternalLink', 'Click', this.href);" rel="noopener" aria-label="ACE3 on Twitter">
|
||||
<a class="social__icon" href="https://twitter.com/ACE3Mod" target="_blank" rel="noopener" aria-label="ACE3 on Twitter">
|
||||
<i class="fa fa-twitter fa-2x"></i>
|
||||
</a>
|
||||
<a class="social__icon" href="https://facebook.com/ACE3Mod" target="_blank" onclick="app.analytics.sendEvent('ExternalLink', 'Click', this.href);" rel="noopener" aria-label="ACE3 on Facebook">
|
||||
<a class="social__icon" href="https://facebook.com/ACE3Mod" target="_blank" rel="noopener" aria-label="ACE3 on Facebook">
|
||||
<i class="fa fa-facebook-square fa-2x"></i>
|
||||
</a>
|
||||
<a class="social__icon" href="https://youtube.com/c/ACE3Mod" target="_blank" onclick="app.analytics.sendEvent('ExternalLink', 'Click', this.href);" rel="noopener" aria-label="ACE3 on YouTube">
|
||||
<a class="social__icon" href="https://youtube.com/c/ACE3Mod" target="_blank" rel="noopener" aria-label="ACE3 on YouTube">
|
||||
<i class="fa fa-youtube fa-2x"></i>
|
||||
</a>
|
||||
</div>
|
||||
@ -28,21 +28,6 @@
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<script>
|
||||
if (document.location.hostname.search("ace3.acemod.org") !== -1) {
|
||||
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
||||
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
||||
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
|
||||
|
||||
ga('create', 'UA-61422074-1', 'auto');
|
||||
ga('require', 'displayfeatures');
|
||||
ga('send', 'pageview');
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<script src="{{ site.baseurl }}/js/footer.min.js?v={{site.time | date: '%Y%m%d%H'}}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
@ -43,7 +43,7 @@ sitemap:
|
||||
<h2 class="subheader">{{ page.browserTitle }}</h2>
|
||||
</div>
|
||||
<div class="large-5 columns">
|
||||
<a class="button" target="_blank" href="{{site.ace.githubUrl}}/releases/latest" onclick="app.analytics.sendEvent('ExternalLink', 'Click', this.href);" rel="noopener"><i class="fa fa-download"></i> Get ACE3 v{{site.ace.version.major}}.{{site.ace.version.minor}}.{{site.ace.version.patch}}</a><br>
|
||||
<a class="button" target="_blank" href="{{site.ace.githubUrl}}/releases/latest" rel="noopener"><i class="fa fa-download"></i> Get ACE3 v{{site.ace.version.major}}.{{site.ace.version.minor}}.{{site.ace.version.patch}}</a><br>
|
||||
<a href="{{site.baseurl}}/wiki/user/installation-guide.html">Installation Guide</a>
|
||||
</div>
|
||||
</div>
|
||||
@ -60,11 +60,11 @@ sitemap:
|
||||
<br/>Everything you need to know about using the mod or developing for it.</p>
|
||||
</div>
|
||||
<div class="large-4 medium-4 columns">
|
||||
<p><a target="_blank" href="{{ site.ace.githubUrl }}" onclick="app.analytics.sendEvent('ExternalLink', 'Click', this.href);" rel="noopener">ACE3 on Github</a><br/>Latest code, issue reports, feature requests
|
||||
<p><a target="_blank" href="{{ site.ace.githubUrl }}" rel="noopener">ACE3 on Github</a><br/>Latest code, issue reports, feature requests
|
||||
and more.</p>
|
||||
</div>
|
||||
<div class="large-4 medium-4 columns">
|
||||
<p><a target="_blank" href="https://acemod.org/slack" onclick="app.analytics.sendEvent('ExternalLink', 'Click', this.href);" rel="noopener">ACE3 Public Chat</a><br/>
|
||||
<p><a target="_blank" href="https://acemod.org/slack" rel="noopener">ACE3 Public Chat</a><br/>
|
||||
Join our public chat! We're glad to answer questions concerning ACE3, development or Arma things.<br/>
|
||||
If you made something with this mod (screen shots, artwork, videos) we'd love to see it.</p>
|
||||
</div>
|
||||
|
@ -6353,27 +6353,6 @@ utils.countOccurrences = function (text, searchTerm) {
|
||||
return (n);
|
||||
};
|
||||
|
||||
window.app = window.app || {};
|
||||
window.app.analytics = (function () {
|
||||
|
||||
|
||||
function sendEvent(category, action, label, value) {
|
||||
|
||||
if (!window.ga) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
ga("send", "event", category, action, label, value);
|
||||
} catch(ex) {}
|
||||
}
|
||||
|
||||
|
||||
return {
|
||||
sendEvent: sendEvent
|
||||
};
|
||||
})();
|
||||
|
||||
window.app = window.app || {};
|
||||
window.app.storage = (function () {
|
||||
|
||||
@ -6638,14 +6617,12 @@ window.app.contentSearch = (function ($) {
|
||||
|
||||
function handleLiveSearchResult(response) {
|
||||
var results = findSearchTermInArray(response, _maxEntriesLive);
|
||||
app.analytics.sendEvent("LiveSearch", "Search", _searchTerm);
|
||||
showLiveResultList(results);
|
||||
}
|
||||
|
||||
function openSearchPage(e) {
|
||||
e.preventDefault();
|
||||
var searchTerm = $liveSearchField.val().trim();
|
||||
app.analytics.sendEvent("LiveSearch", "OpenSearchPage", searchTerm);
|
||||
document.location.href = String.format("search.html?{0}={1}", searchTermParamName, encodeURIComponent(searchTerm));
|
||||
return false;
|
||||
}
|
||||
@ -6713,7 +6690,6 @@ window.app.contentSearch = (function ($) {
|
||||
|
||||
function handleContentSearchResult(response) {
|
||||
var results = findSearchTermInArray(response, _maxEntriesContent);
|
||||
app.analytics.sendEvent("ContentSearch", "Search", _searchTerm);
|
||||
showContentResultList(results);
|
||||
}
|
||||
|
||||
|
2
docs/js/footer.min.js
vendored
2
docs/js/footer.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
6
docs/package-lock.json
generated
Normal file
6
docs/package-lock.json
generated
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "docs",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {}
|
||||
}
|
@ -12,7 +12,6 @@ module.exports = function (grunt) {
|
||||
"js/vendor/slick/slick.js",
|
||||
"js/vendor/jekyll-toc/jekyll-toc.js",
|
||||
"js/core/utils.js",
|
||||
"js/components/analytics.js",
|
||||
"js/components/storage.js",
|
||||
"js/components/contentSearch.js",
|
||||
"js/app.js"
|
||||
|
@ -1,20 +0,0 @@
|
||||
window.app = window.app || {};
|
||||
window.app.analytics = (function () {
|
||||
|
||||
|
||||
function sendEvent(category, action, label, value) {
|
||||
|
||||
if (!window.ga) {
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
ga("send", "event", category, action, label, value);
|
||||
} catch(ex) {}
|
||||
}
|
||||
|
||||
|
||||
return {
|
||||
sendEvent: sendEvent
|
||||
};
|
||||
})();
|
@ -219,14 +219,12 @@ window.app.contentSearch = (function ($) {
|
||||
|
||||
function handleLiveSearchResult(response) {
|
||||
var results = findSearchTermInArray(response, _maxEntriesLive);
|
||||
app.analytics.sendEvent("LiveSearch", "Search", _searchTerm);
|
||||
showLiveResultList(results);
|
||||
}
|
||||
|
||||
function openSearchPage(e) {
|
||||
e.preventDefault();
|
||||
var searchTerm = $liveSearchField.val().trim();
|
||||
app.analytics.sendEvent("LiveSearch", "OpenSearchPage", searchTerm);
|
||||
document.location.href = String.format("search.html?{0}={1}", searchTermParamName, encodeURIComponent(searchTerm));
|
||||
return false;
|
||||
}
|
||||
@ -294,7 +292,6 @@ window.app.contentSearch = (function ($) {
|
||||
|
||||
function handleContentSearchResult(response) {
|
||||
var results = findSearchTermInArray(response, _maxEntriesContent);
|
||||
app.analytics.sendEvent("ContentSearch", "Search", _searchTerm);
|
||||
showContentResultList(results);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user