KN SOLVRO WEBSITE

I created this project for academic circle Solvro to which I belong. It was my first big project in Solvro in which I was Project Manager.

I was doing it with my 2 other colleagues (Kacper Dzióbczyński and Kacper Mikołajczyk) and we were having help with designer (Daniik Luktus) from Solvro who made all designs.

Here's a photo of main page.

solvro

Page is available at solvro.pwr.edu.pl
Technology we used:

  • React
  • Gatsby
  • Javascript

Snippet of our code:

      
  function getBalance() {
    let wallet_state = wallet.innerHTML.replace('$', '');
    if (balance.innerHTML.replace('$', '') == "----") {
        const previousBalance = 0
    }
    else {
        const previousBalance = balance.innerHTML.replace('$', '');
    }
    const balanceState = Number(wallet_state) + totalStockValues
    balance.innerHTML = `${balanceState.toFixed(2)}$`;

    if (previousBalance <= balanceState) {
        balanceArrow.classList.replace('fa-angle-double-down', 'fa-angle-double-up');
        balanceArrow.classList.replace('arrow-down', 'arrow-up');
    } else {
        balanceArrow.classList.replace('fa-angle-double-up', 'fa-angle-double-down');
        balanceArrow.classList.replace('arrow-up', 'arrow-down');
    }
  }
      
    
LinkedIn Facebook Website

© 2021 Karol Olszański.