Skip to content

Commit

Permalink
Merge pull request #59 from ClubCedille/feature/EHP/fix-small-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
EdvinHonda authored Sep 5, 2023
2 parents d757892 + 954abd5 commit d38127a
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 11 deletions.
2 changes: 1 addition & 1 deletion data/evenementSection.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
enable: true
title: "Nos évènement"
title: "Nos évènements"
subtitle: >
Restez à l'affût de toutes les nouvelles sur nos réseaux sociaux
buttonTarget: evenement
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"scss/critical.min.css","MediaType":"text/css","Data":{}}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"Target":"scss/non-critical.min.css","MediaType":"text/css","Data":{}}
7 changes: 2 additions & 5 deletions themes/coHub/assets/js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,12 @@ $(document).ready(function () {
function change(){
if ($(window).scrollTop() || window.location.pathname != "/") {
if(window.location.pathname == "/" && $(window).scrollTop()<550){
document.getElementById("header-title").style.display = "none";
document.getElementById("header-title").style.opacity = "0";
} else {
$(".main-nav").addClass("nav-bg");
document.getElementById("header-title").style.display = "block";
document.getElementById("header-title").style.opacity = "1";
}

} else {
$(".main-nav").removeClass("nav-bg");
document.getElementById("header-title").style.display = "none";
}
};
window.onload=window.onscroll=change;
Expand Down
6 changes: 3 additions & 3 deletions themes/coHub/layouts/contact/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ <h2> {{ .Title }}</h2>
<h2>Formulaire pour nous contacter</h2>
<form id="contact-form" class="row" action="{{ .Site.Params.fabFormURL }}" method="POST">
<div class="col-md-6">
<input type="text" class="form-control" id="exampleFormControlInput1" name="Name" placeholder="Votre nom">
<input type="text" class="form-control" id="exampleFormControlInput1" name="nom" placeholder="Votre nom" required>
</div>
<div class="col-md-6">
<input type="email" class="form-control" id="validationCustom02" required="" name="email" placeholder="Votre email">
<input type="email" class="form-control" id="validationCustom02" required="" name="courriel" placeholder="Votre courriel" required>
</div>
<div class="col-md-12">
<textarea class="form-control" id="exampleFormControlTextarea1" rows="8" name="message"
placeholder="Votre message ici…"></textarea>
placeholder="Votre message ici…" required></textarea>
</div>
<div class="col-lg-12">
<button type="submit" class="btn btn-primary" id="contact-form-button" >Envoyer</button>
Expand Down
2 changes: 1 addition & 1 deletion themes/coHub/layouts/partials/bienvenu.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<div id="content-body-title" class="body-title">
<div id="particles-js"></div>
<div class="vertical">
<div class="vertical" id="vertical">
<div class="title-synapse">
<img class="logo-synapse-bienvenu" src="{{ .Site.Params.logowhite | absURL }}" alt="logo-white">
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/coHub/layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- Mark up for Site Navigation Section-->
<header id="header-title" class="header">
<header id="header-title" class="header" style="opacity: 0;">
<nav class="main-nav navbar navbar-expand-lg {{ if not $.IsHome }}main-nav-colored{{ end }}">
<div class="container-fluid">
<a href="{{.Site.BaseURL}}" class="navbar-brand">
Expand Down

1 comment on commit d38127a

@vercel
Copy link

@vercel vercel bot commented on d38127a Sep 5, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.