Skip to content

Latest commit

 

History

History
78 lines (61 loc) · 1.65 KB

log-07-04-2022.md

File metadata and controls

78 lines (61 loc) · 1.65 KB

Log day - 07/04/2022

Daylilog TIL Habits Read book Quote

Things I'll Do Today

  • Add new Dailylog
  • Read 1 Capitulo book pages on 40 Habitos financeiros
  • 1:1 with teammates pisurno.
  • Greatfull of life.
  • Eating coffe with my moon in the morning.
  • Lunch better today

TIL - Today o Learned

Create default viewport on storybook

  1. Create .storybook/preview.js file
const customView = {
  desktop: {
    name: "Fake desktop",
    styles: {
      width: "1300px",
      height: "600px",
    },
  },
  Handheld_ZEBRA_MC330M: {
    name: "Handheld ZEBRA  MC330M",
    styles: {
      width: "290px",
      height: "460px",
    },
  },
  Handheld_HONEYWELL_CT60L0N: {
    name: "Handheld HONEYWELL CT60L0N",
    styles: {
      width: "325px",
      height: "535px",
    },
  },
};

export const customViewPort = {
  viewport: { viewports: customView },
};
  1. Set configs on .storybook/config.js file
import { customViewPort } from "./preview";

addParameters({
  ...customViewPort,
  options: { theme },
});
  1. On stories file, adding reference on viewport parameters
.addParameters({
    viewport: {
      defaultViewport: 'Handheld_HONEYWELL_CT60L0N',
    },
  })

Quote do dia

"Existem 2 tipos de pessoas, as pagadoras de juros e as recebedoras de juros"

Metodo de avalanche e metodo bola de neve para pagar dividias.

Avalanche: Pague as dívidas com maiores taxas juros primeiro, para ter dividas com juros compostos menores a serem pagos.

Bola de neve: Pague as dívidas com menor valor primeiro, e gere uma bola de neve de juros compostos para pagar.