Skip to content

Instantly share code, notes, and snippets.

View GabrielMerigo's full-sized avatar
🏠
Working from home

Gabriel Merigo GabrielMerigo

🏠
Working from home
  • Co-Founder Nexus
  • Brazil
View GitHub Profile
import React from "react";
import { TextProps } from "react-native";
import { FontTypes } from "@theme/typography";
import S from "./styles";
export interface TypographyProps extends TextProps {
variation?: keyof typeof FontTypes;
}
import { Stack, Box, Button } from "@chakra-ui/react";
import { ButtonVariants } from "@/styles/components/button";
import { PaginationItem } from "./components/PaginationItem";
import { Arrow } from "./components/Arrow";
interface PaginationProps {
totalCountOfRegisters: number;
registerPerPage?: number;
currentPage?: number;
onPageChange: (page: number) => void;
Challenge 1: https://github.com/GabrielMerigo/chameleon-test
Challenge 2: https://github.com/GabrielMerigo/code-to-review/pull/1
{
"content":[
{
"id":7478,
"origin":"IFOOD",
"originOrderId":"119106",
"logistics":{
"trackingUrl":"",
"logisticsId":"",
"logisticsShortReference":"",
//Dados Pessoais
$('inp:nomeCompleto').val('PREENCHA_AQUI');
$('inp:dataNascimento').val('PREENCHA_AQUI');
$('inp:tipoContratacao').val('PREENCHA_AQUI');
$('inp:temNomeSocial').val('PREENCHA_AQUI');
$('inp:estadoCivil').val('PREENCHA_AQUI');
$('inp:telefoneParticular').val('PREENCHA_AQUI');
$('inp:emailParticular').val('PREENCHA_AQUI');
$('inp:nomeMae').val('PREENCHA_AQUI');
$('inp:nomePai').val('PREENCHA_AQUI');
@GabrielMerigo
GabrielMerigo / js
Created October 26, 2021 18:44
JSON integração
let admissaoColaborador = {
empresa: new Number($('inp:codempresa').val()),
tipoContrato: $("inp:tipoContratacao").val(),
declaroInformacoesVerdadeiras: "Sim",
dadosPessoais: {
nome: $("inp:nomeCompleto").val(),
dataNascimento: $("inp:dataNascimento").val(),
sexo: $("inp:sexo").val(),
codigoRacaCor: new Number($("inp:racaCor").val()),
codigoEstadoCivil: new Number($("inp:estadoCivil").val()),