Skip to content

Instantly share code, notes, and snippets.

View ArthurDias01's full-sized avatar
👋
to the Moon!

Arthur Dias ArthurDias01

👋
to the Moon!
View GitHub Profile
@ArthurDias01
ArthurDias01 / biome-json-example.json
Created October 22, 2025 19:30
A quick reference to my projects biome rules
{
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": [
@ArthurDias01
ArthurDias01 / pagination.tsx
Created March 15, 2023 20:10
Pagination - Component
import { PaginationItem } from "./PaginationItem";
interface PaginationProps {
totalCountOfRegisters: number;
registersPerPage?: number;
currentPage?: number;
onPageChange: (page: number) => void;
}
const siblingsCount = 2;
import { useState, useEffect, useContext, createContext, ReactNode } from 'react';
import nookies, { setCookie } from 'nookies';
import { firebaseUUID } from '../utils/FirebaseUUID';
import router from 'next/router';
import { useToast } from '@chakra-ui/react';
import { auth, db, authSecond, firebase, storage } from '../config/firebase';
import {
createUserWithEmailAndPassword,
signInWithEmailAndPassword,