Skip to content

Commit 545a88b

Browse files
committed
lighthouse fix
1 parent 02f73ce commit 545a88b

File tree

10 files changed

+21
-21
lines changed

10 files changed

+21
-21
lines changed

core/views/contact.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,30 @@ <h2>contact</h2>
77
<form method="POST" action>
88
<div class="row">
99
<div class="inputBox" id="name">
10-
<input type="text" name="name" required />
11-
<label>Nom</label>
10+
<input type="text" name="name" id="inname" required />
11+
<label for="inname">Nom</label>
1212
<p class="error"></p>
1313
</div>
1414
<div class="inputBox" id="fName">
15-
<input type="text" name="fName" required />
16-
<label>Prénom</label>
15+
<input type="text" name="fName" id="infname" required />
16+
<label for="infname">Prénom</label>
1717
<p class="error"></p>
1818
</div>
1919
</div><div class="row">
2020
<div class="inputBox" id="mail">
21-
<input type="email" name="mail" required />
22-
<label>Email</label>
21+
<input type="email" name="mail" id="inmail" required />
22+
<label for="inmail">Email</label>
2323
<p class="error"></p>
2424
</div>
2525
<div class="inputBox" id="phone">
26-
<input type="tel" name="phone" required />
27-
<label>Téléphone</label>
26+
<input type="tel" name="phone" id="inphone" required />
27+
<label for="inphone">Téléphone</label>
2828
<p class="error"></p>
2929
</div>
3030
</div>
3131
<div class="inputBox" id="msg">
32-
<textarea name="msg" required></textarea>
33-
<label>Message</label>
32+
<textarea name="msg" id="inmsg" required></textarea>
33+
<label for="inmsg">Message</label>
3434
<p class="error"></p>
3535
</div>
3636
<input type="submit" value="envoyer" />

core/views/graduations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
$obj = CVModel::getFormations();
99

1010
foreach($obj as $out) {
11-
$title = ($out[5]) ? "<a href=\"{$out[5]}\" target=\"_blank\">{$out[2]}</a>" : $out[2];
11+
$title = ($out[5]) ? "<a href=\"{$out[5]}\" target=\"_blank\" rel=\"noreferrer noopener\">{$out[2]}</a>" : $out[2];
1212

1313
echo("<div class=\"frame\">
1414
<font>{$out[1]}</font>

core/views/head.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta name="viewport" content="width=device-width, initial-scale=1">
55
<meta name="image" content="https://floriancardinal.000webhostapp.com/assets/img/avatar.jpg">
66
<meta name="description" content="Florian Cardinal - Junior Web Developer [Full Stack]">
7-
<meta name="keyword" content="florian cardinal, florian, cardinal, cv, webcv, web developer, web, developer">
7+
<meta name="keyword" content="florian cardinal, florian, cardinal, cv, webcv, web developer, web, developer, resume">
88
<!-- Twitter meta description -->
99
<meta name="twitter:image:src" content="https://floriancardinal.000webhostapp.com/assets/img/avatar.jpg">
1010
<meta name="twitter:site" content="@MyCv">

core/views/header.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<span class="slither vertical"></span>
77
<span class="avatar" title="Ma tête"></span>
88
<h1>cardinal florian</h1>
9-
<h3>développeur web junior</h3>
9+
<h2>développeur web junior</h2>
1010
<a href="/assets/files/cv.pdf" download>télécharger cv</a>
1111
<hr />
1212
<?php

core/views/skills.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
foreach($item as $subitem)
1414
echo("<div class=\"progressBar\" id=\"{$subitem["id"]}\">
1515
<div class=\"progress\"></div>
16-
<h5>{$subitem["title"]}</h5>
16+
<h3>{$subitem["title"]}</h3>
1717
</div>");
1818

1919
echo("</div>");

scripts/jquery-3.3.1.min.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

scripts/jquery-3.5.1.min.js

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* Importation des modules
1111
*/
12-
import "/scripts/jquery-3.3.1.min.js";
12+
import "/scripts/jquery-3.5.1.min.js";
1313
import "/scripts/scrolly.js";
1414
import Anim from "/scripts/anim.js";
1515
import Tools from "/scripts/tools.js";

scripts/xhr.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
/**
1010
* Importation des modules
1111
*/
12-
import "/scripts/jquery-3.3.1.min.js";
12+
import "/scripts/jquery-3.5.1.min.js";
1313

1414
export default class XHR {
1515
/**
@@ -25,7 +25,7 @@ export default class XHR {
2525

2626
skills.map((skill) => {
2727
skill.status += "%"
28-
$(`#${skill.id} h5`)[0].innerText += ` ${skill.status}`;
28+
$(`#${skill.id} h3`)[0].innerText += ` ${skill.status}`;
2929
$(`#${skill.id} .progress`).css({ width: skill.status });
3030
});
3131
}

styles/main.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ header article h1 {
249249
text-transform: uppercase;
250250
}
251251

252-
header article h3 {
252+
header article h2 {
253253
color: var(--contrast);
254254
font-size: 20px;
255255
font-weight: 500;
@@ -366,7 +366,7 @@ aside hr {
366366
z-index: 0;
367367
}
368368

369-
#skills .row .progressBar h5 {
369+
#skills .row .progressBar h3 {
370370
color: var(--color-bar);
371371
font-size: 16px;
372372
padding: 10px 0;

0 commit comments

Comments
 (0)