Skip to content

Instantly share code, notes, and snippets.

View rodrigoalbinoh's full-sized avatar
😃

Rodrigo Albino Hammes rodrigoalbinoh

😃
  • Loft
  • Joinville, SC - Brasil
View GitHub Profile
{
// Define o tema do VSCODE
"workbench.colorTheme": "Omni",
// Aumenta a fonte do terminal
"terminal.integrated.fontSize": 14,
// Define o tema dos ícones na sidebar
"workbench.iconTheme": "material-icon-theme",
"workbench.startupEditor": "newUntitledFile",
// Configura tamanho e familia da fonte
"editor.tabSize": 2,
import React, { useEffect } from 'react'
export default function useResizer() {
const windowExists = typeof window !== 'undefined'
const [isMobile, setIsMobile] = React.useState( windowExists && window.innerWidth < 575)
useEffect(() => {
function handleSizeChange() {
return setIsMobile( windowExists && window.innerWidth < 575)
}
@rodrigoalbinoh
rodrigoalbinoh / metatags.html
Created February 2, 2021 17:51 — forked from diego3g/metatags.html
Meta tags do curso de Next.js
<meta httpEquiv="x-ua-compatible" content="IE=edge,chrome=1" />
<meta name="MobileOptimized" content="320" />
<meta name="HandheldFriendly" content="True" />
<meta name="theme-color" content="#121214" />
<meta name="msapplication-TileColor" content="#121214" />
<meta name="referrer" content="no-referrer-when-downgrade" />
<meta name="google" content="notranslate" />
<meta property="og:title" content={pageTitle} />
<meta property="og:description" content={description} />
<h1 align="center">
<br>
<img src="YOUR_LOGO_URL" alt="YOUR_PROJECT_NAME" width="120">
<br>
<br>
YOUR_PROJECT_NAME
</h1>
<p align="center">A little description about your project</p>
<h1 align="center">
<br>
<img src="YOUR_LOGO_URL" alt="YOUR_PROJECT_NAME" width="120">
<br>
<br>
YOUR_PROJECT_NAME
</h1>
<p align="center">A little description about your project</p>