mirror of
https://github.com/2ec0b4/kaamelott-soundboard.git
synced 2025-12-08 15:43:24 +00:00
Ajoute des boutons de partage sur les réseaux sociaux
This commit is contained in:
@@ -161,6 +161,13 @@ header h1 {
|
||||
* FOOTER
|
||||
* -----------------------------------------------------------------------------
|
||||
*/
|
||||
footer {
|
||||
height: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
footer .likely {
|
||||
margin-top: 8px;
|
||||
}
|
||||
/**
|
||||
* ANIMATIONS
|
||||
* -----------------------------------------------------------------------------
|
||||
@@ -453,17 +460,23 @@ noscript p {
|
||||
}
|
||||
}
|
||||
@media only screen and (max-width:767px){
|
||||
header {
|
||||
header,
|
||||
footer {
|
||||
background: #3f3552;
|
||||
left: 0;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
z-index: 5;
|
||||
}
|
||||
header {
|
||||
top: 0;
|
||||
}
|
||||
header h1 {
|
||||
font-size: 2.2em;
|
||||
}
|
||||
footer {
|
||||
bottom: 0;
|
||||
}
|
||||
#app {
|
||||
margin-bottom: 40px;
|
||||
margin-top: 90px;
|
||||
|
||||
@@ -28,6 +28,7 @@
|
||||
<meta name="msapplication-config" content="/favicons/browserconfig.xml">
|
||||
<meta name="theme-color" content="#3f3552">
|
||||
|
||||
<link rel="stylesheet" href="/js/vendor/likely/likely.css" media="screen">
|
||||
<link rel="stylesheet" href="/css/style.css" media="screen">
|
||||
</head>
|
||||
<body>
|
||||
@@ -43,6 +44,14 @@
|
||||
|
||||
<div class="uil-ring-css"><div></div></div>
|
||||
</div>
|
||||
|
||||
<footer>
|
||||
<div class="likely likely-light">
|
||||
<div class="facebook">Share</div>
|
||||
<div class="twitter" data-via="2ec0b4">Tweet</div>
|
||||
<div class="gplus">+1</div>
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
<script data-main="/js/app/app" src="/js/vendor/require/require.js"></script>
|
||||
|
||||
@@ -5,10 +5,11 @@ requirejs(['main'], function () {
|
||||
'jquery',
|
||||
'marionette',
|
||||
'underscore',
|
||||
'likely',
|
||||
'controllers/soundboard',
|
||||
'views/main'
|
||||
],
|
||||
function(Backbone, $, Marionette, _,
|
||||
function(Backbone, $, Marionette, _, Likely,
|
||||
SoundboardController,
|
||||
MainView) {
|
||||
"use strict";
|
||||
@@ -42,6 +43,8 @@ requirejs(['main'], function () {
|
||||
Backbone.history.start();
|
||||
App.trigger("backbone:history:start");
|
||||
}
|
||||
|
||||
likely.initiate();
|
||||
};
|
||||
|
||||
initialize();
|
||||
|
||||
@@ -5,6 +5,7 @@ requirejs.config({
|
||||
'backbone.radio': '/js/vendor/backbone/plugins/backbone.radio/backbone.radio.min',
|
||||
'hbs': '/js/vendor/require/plugins/require-handlebars-plugin/hbs',
|
||||
'jquery': '/js/vendor/jquery/jquery-1.12.2.min',
|
||||
'likely': '/js/vendor/likely/likely',
|
||||
'marionette': '/js/vendor/marionette/backbone.marionette.min',
|
||||
'underscore': '/js/vendor/underscore/underscore-min'
|
||||
},
|
||||
@@ -13,8 +14,11 @@ requirejs.config({
|
||||
"hbs/underscore": "underscore"
|
||||
},
|
||||
shim: {
|
||||
'likely' : {
|
||||
exports: 'likely'
|
||||
},
|
||||
'marionette' : {
|
||||
deps: ['jquery', 'backbone', 'underscore']
|
||||
deps: ['jquery', 'backbone', 'underscore']
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
1
js/vendor/likely/likely.css
vendored
Executable file
1
js/vendor/likely/likely.css
vendored
Executable file
File diff suppressed because one or more lines are too long
5
js/vendor/likely/likely.js
vendored
Executable file
5
js/vendor/likely/likely.js
vendored
Executable file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user