Skip to content
Felipe Felca Giannini
PTEN
WhatsApp (opens in a new tab)
Back to all projects

Trindade Suítes

Chalets and shares in Serra da Canastra, with a simulator.

Visit site (opens in a new tab)
Trindade Suítes project screen, in Portuguese
Trindade Suítes on a phone
Type
Website
Made by
Solo project
Technologies
HTML, CSS, JavaScript

The problem

Present the chalets in Serra da Canastra to guests and to people buying a share.

What I did

  • Redesigned the site
  • Animated opening
  • Booking requests via WhatsApp
  • Simulator that shows the numbers behind each share

See it working

Simulator

Shows what each share could earn, with example values.

Simulator: Trindade Suítes project screen, in Portuguese

Booking

Guests choose the dates and the request goes to WhatsApp.

Booking: Trindade Suítes on a phone

Chalets

The chalets, with photo galleries.

Chalets: Trindade Suítes project screen, in Portuguese

Behind the screen

This is part of the code that does the simulator’s math.

Drag to see the code behind it

Trindade Suítes project screen, in Portuguese
const p = plano();
const d = +diaria.value,
  noites = +noitesIn.value,
  receita = d * noites;

const hosp = Math.ceil(
  noites / NOITES_POR_HOSPEDAGEM);

const adm = receita * ADM,
  luz = LUZ_DIA * noites,
  faxina = FAXINA * hosp;

const liquido =
  receita - adm - luz - faxina;