This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name myserver.com; | |
root /www/website/dist; | |
index index.html; | |
location / { | |
try_files $uri $uri/ /index.html; | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* mixin for rendering triangle bubble for direction: left, right, top, bottom; | |
*/ | |
@mixin bubble($direction:left, $size:10px, $top:10px, $right:auto, $bottom:auto, $left:-10px, $color:white, $border-color:'', $border-width:1px) { | |
@if $border-color != '' { | |
// Render the bubble border | |
&:before { | |
@include bubble-base($direction, $size, $top, $right, $bottom, $left, $border-color); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var playerConfig = {}, // Define the player config here | |
queue = { // To queue a function and invoke when player is ready | |
content: null, | |
push: function(fn) { | |
this.content = fn; | |
}, | |
pop: function() { | |
this.content.call(); | |
this.content = null; | |
} |