- Recebe requisições (com/sem autenticação)
- Manipula Models
- Cria respostas
- Renderizando um template
- Respondendo com um formato solicitado (json)
- Redirecionando para outra rota
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
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon" /> | |
<!-- .ico generator: http://convertico.com/ --> |
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
function isMobile(){ | |
var content = window.getComputedStyle(document.querySelector('body'), ':before').getPropertyValue('content'); | |
if(content == "\"mobile\"" || content == "mobile"){ | |
return true; | |
}else{ | |
return false; | |
} | |
} |
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
<?php header ('Content-type: text/html; charset=UTF-8'); ?> | |
<?php header ('Content-type: text/html; charset=ISO-8859-1'); ?> |
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
$(document).ready(function() { | |
responsiveHelper([ | |
{size: 1199, label: "xlarge"}, | |
{size: 1049, label: "Large"}, | |
{size: 799, label: "medium"}, | |
{size: 576, label: "small"} | |
]); | |
}); |
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
.slick-list | |
max-width: none | |
margin: 0 -15px // margin dos elementos internos |
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
<html> | |
<head> | |
<title>Meu site com Wordpress</title> | |
</head> | |
<body> | |
<h1>meu primeiro titulo</h1> | |
<a href="#">Ler mais..</a> | |
</body> | |
</html> |
OlderNewer