Documentation - Fix various lighthouse issues (#8600)

* fix various lighthouse issues

* remove bom FROM AN AUTOGENERATED FILE
This commit is contained in:
Jo David 2021-10-25 04:26:31 +02:00 committed by GitHub
parent a801d0d3c6
commit 086ba5da87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
13 changed files with 4634 additions and 56 deletions

View File

@ -14,9 +14,15 @@
<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"><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"><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"><i class="fa fa-youtube fa-2x"></i></a>
<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">
<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">
<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">
<i class="fa fa-youtube fa-2x"></i>
</a>
</div>
<script async defer src="https://slackin.ace3mod.com/slackin.js"></script>
</div>

View File

@ -8,7 +8,6 @@
<meta name="description" content="{% if page.description != null %}{{ page.description }}{% else %}{{site.description}}{% endif %}" />
<meta name="keywords" content="{% if page.keywords != null %}{{ page.keywords }}{% else %}{{site.keywords}}{% endif %}" />
<meta name="robots" content="INDEX,FOLLOW" />
<link rel="canonical" href="{{ site.baseurl }}{{ page.url }}" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<link type="text/plain" rel="author" href="{{ site.baseurl }}/humans.txt" />
@ -25,7 +24,9 @@
<link rel="manifest" href="/manifest.json">
<meta name="theme-color" content="#951E14">
<link href="//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700" rel="stylesheet" type="text/css" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="{{ site.baseurl }}/css/app.css?v={{site.time | date: '%Y%m%d%H'}}" />
</head>
<body>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,8 +1,6 @@
module.exports = function (grunt) {
/*var header = [
];*/
const sass = require("node-sass");
var footer = [
"js/vendor/modernizr/modernizr.custom.18747.js",
@ -25,6 +23,7 @@ module.exports = function (grunt) {
sass: {
options: {
implementation: sass,
includePaths: ["components/foundation/scss"]
},
dist: {
@ -58,29 +57,12 @@ module.exports = function (grunt) {
}
},
concat: {
//header: {
// src: [header],
// dest: "../js/header.dev.js"
//},
footer: {
src: [footer],
dest: "../js/footer.dev.js"
}
},
uglify: {
//"header": {
// options: {
// sourceMap: "../js/header-source-map.js",
// sourceMappingURL: "header-source-map.js",
// sourceMapPrefix: 2,
// sourceMapRoot: "../../dist/js/",
// mangle: true,
// compress: true
// },
// files: {
// "../js/header.min.js": [header]
// }
//},
"footer": {
options: {
sourceMap: "../js/footer-source-map.js",
@ -96,12 +78,12 @@ module.exports = function (grunt) {
}
},
imagemin: {
dynamic: { // Another target
dynamic: { // Another target
files: [{
expand: true, // Enable dynamic expansion
cwd: "img/", // Src matches are relative to this path
src: ["**/*.{png,jpg,gif}"], // Actual patterns to match
dest: "../img/" // Destination path prefix
expand: true, // Enable dynamic expansion
cwd: "img/", // Src matches are relative to this path
src: ["**/*.{png,jpg,gif}"], // Actual patterns to match
dest: "../img/" // Destination path prefix
}]
}
}
@ -113,6 +95,6 @@ module.exports = function (grunt) {
grunt.loadNpmTasks("grunt-contrib-uglify");
grunt.loadNpmTasks("grunt-contrib-imagemin");
grunt.registerTask("build", ["sass", "concat", /*"uglify:header",*/ "uglify:footer", "imagemin"]);
grunt.registerTask("build", ["sass", "concat", "uglify:footer"]);
grunt.registerTask("default", ["build", "watch"]);
};

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,7 @@
"grunt-contrib-imagemin": "^3.1.0",
"grunt-contrib-uglify": "^4.0.0",
"grunt-contrib-watch": "^1.1.0",
"grunt-sass": "^3.0.2"
"grunt-sass": "^3.0.2",
"node-sass": "^6.0.1"
}
}

4590
docs/src/pnpm-lock.yaml Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,13 +1,19 @@
body > footer {
background-color: $oil;
padding: rem-calc(40) 0;
color: $aluminum;
color: $iron;
p,h1,h2,h3,h4,h5,h6 {
p,
h1,
h2,
h3,
h4,
h5,
h6 {
color: inherit;
}
a {
color: lighten($primary-color, 10%);
color: lighten($primary-color, 28%);
}
}

View File

@ -31,7 +31,3 @@ aside {
overflow: hidden;
}
}
/*.post > .row {
margin-bottom: 1.25rem;
}*/

View File

@ -3,6 +3,7 @@
@font-face {
font-family: 'FontAwesome';
font-display: block;
src: url('#{$fa-font-path}/fontawesome-webfont.eot?v=#{$fa-version}');
src: url('#{$fa-font-path}/fontawesome-webfont.eot?#iefix&v=#{$fa-version}') format('embedded-opentype'),
url('#{$fa-font-path}/fontawesome-webfont.woff2?v=#{$fa-version}') format('woff2'),