Skip to content

Commit

Permalink
add Code de conduite de la DCI footer
Browse files Browse the repository at this point in the history
  • Loading branch information
amDeimos666 committed Oct 3, 2023
1 parent 89639d4 commit 32dcc6f
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 58 deletions.
122 changes: 64 additions & 58 deletions _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,70 +1,76 @@
<div class='container'>
<footer>
<div class='row'>
<div class='col-md-6 social'>
<p>&copy; {{ site.time | date: '%Y' }} D&eacute;l&eacute;gation des comp&eacute;titions en informatique de l'&Eacute;TS</p>
<a href="https://discord.gg/quAF2z8zyT" class="discord grayscale">discord</a>
<a href="https://www.instagram.com/dciets/" class="instagram grayscale">Instagram</a>
<a href="http://facebook.com/dciets/" class='facebook grayscale'>Facebook</a>
<a href="http://twitter.com/dciets/" class='twitter grayscale'>Twitter</a>
<a href="http://youtube.com/dciets/" class='youtube grayscale'>Youtube</a>
<a href="http://github.com/dciets/" class='github grayscale'>Github</a>
</div>
<div class='col-md-6 text-right'>
<a href='mailto:[email protected]'>
<div class='container'>
<footer>
<div class='row'>
<div class='col-md-6 social'>
<p>&copy; {{ site.time | date: '%Y' }} D&eacute;l&eacute;gation des comp&eacute;titions en informatique de
l'&Eacute;TS</p>
<a href="https://discord.gg/quAF2z8zyT" class="discord grayscale">discord</a>
<a href="https://www.instagram.com/dciets/" class="instagram grayscale">Instagram</a>
<a href="http://facebook.com/dciets/" class='facebook grayscale'>Facebook</a>
<a href="http://twitter.com/dciets/" class='twitter grayscale'>Twitter</a>
<a href="http://youtube.com/dciets/" class='youtube grayscale'>Youtube</a>
<a href="http://github.com/dciets/" class='github grayscale'>Github</a>
</div>
<div class='col-md-6 text-right'>
<div class="footer-right">
<p><a href="/DCIETS-code-de-conduite.pdf">Code de conduite de la DCI</a></p>
<p><a href='mailto:[email protected]'>
<img class='grayscale footer-logo' src='/img/blason_dci.png'>
</a>
</div>

</p>
</div>
</footer>
</div>
</div>
<div id="fb-root"></div>
<script>
$(function() {
$('.jumbotron').parallax({imageSrc: '/img/banner.png'});
$(document).ready(function() {
colorNavbar();
</footer>
</div>
<div id="fb-root"></div>
<script>
$(function () {
$('.jumbotron').parallax({ imageSrc: '/img/banner.png' });
$(document).ready(function () {
colorNavbar();

});
});

$(document).scroll(function(event) {
colorNavbar();
});
$(document).scroll(function (event) {
colorNavbar();
});

function colorNavbar()
{
if($(document).scrollTop() > 2) {
$('.navbar.transparency-mode').removeClass('navbar-transparent');
}
else {
$('.navbar.transparency-mode').addClass('navbar-transparent');
function colorNavbar() {
if ($(document).scrollTop() > 2) {
$('.navbar.transparency-mode').removeClass('navbar-transparent');
}
else {
$('.navbar.transparency-mode').addClass('navbar-transparent');

}
}

}
}

});
</script>
<script>
});
</script>
<script>

(function (d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=579065128822651";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<script>
(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');

(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=579065128822651";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<script>
(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-43836069-1', 'dciets.com');
ga('send', 'pageview');
</script>
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/2849590.js"></script>
</body>

ga('create', 'UA-43836069-1', 'dciets.com');
ga('send', 'pageview');
</script>
<script type="text/javascript" id="hs-script-loader" async defer src="//js.hs-scripts.com/2849590.js"></script>
</body>
</html>
</html>
11 changes: 11 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -652,4 +652,15 @@ column-gap: 5px;

.dl-horizontal dt {
white-space: normal;
}

.footer-right{
display: flex;
align-items: center;
justify-content: end;
}

.footer-right p:first-child{
margin-right: 25px;
font-size: medium;
}

0 comments on commit 32dcc6f

Please sign in to comment.