new project - my network

This commit is contained in:
Tutur33
2023-11-05 03:41:43 +01:00
parent 795946bc8d
commit a8b3b68ded
24 changed files with 248 additions and 96 deletions
@@ -98,24 +98,7 @@
<h1 class="titre_section">Autre</h1>
<p>Nous avons aussi un serveur discord !</p>
</section>
<footer class="footer">
<span class="copyrights">&copy; <div id="year"></div> - Arthur Puechberty</span>
<a href="{{ route('terms') }}" class="conditions_generale" target="_blank">Condition générales</a>
</footer>
<script>
var year = new Date().getFullYear();
document.getElementById("year").innerHTML = year;
document.getElementById('myForm').addEventListener('submit', function(event) {
var input = document.getElementById('myInput');
if (input.value.trim() === '') {
event.preventDefault(); // Empêche la soumission du formulaire
} else {
this.action = "https://www.google.fr/search";
}
});
</script>
@include('components/foother')
<script>
const body = document.querySelector("body");
let darkmode = localStorage.getItem("dark-mode");