This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| category_income = [ | |
| Business | |
| Investments | |
| Extra income | |
| Deposits | |
| Lottery | |
| Gifts | |
| Salary | |
| Savings | |
| Rental income |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const incomeColors = ['#123123', '#154731', '#165f40', '#16784f', '#14915f', '#10ac6e', '#0bc77e', '#04e38d', '#00ff9d']; | |
| const expenseColors = ['#b50d12', '#bf2f1f', '#c9452c', '#d3583a', '#dc6a48', '#e57c58', '#ee8d68', '#f79d79', '#ffae8a', '#cc474b', '#f55b5f']; | |
| export const incomeCategories = [ | |
| { type: 'Business', amount: 0, color: incomeColors[0] }, | |
| { type: 'Investments', amount: 0, color: incomeColors[1] }, | |
| { type: 'Extra income', amount: 0, color: incomeColors[2] }, | |
| { type: 'Deposits', amount: 0, color: incomeColors[3] }, | |
| { type: 'Lottery', amount: 0, color: incomeColors[4] }, | |
| { type: 'Gifts', amount: 0, color: incomeColors[5] }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { makeStyles } from '@material-ui/core/styles'; | |
| export default makeStyles((theme) => ({ | |
| paper: { | |
| marginTop: theme.spacing(8), | |
| display: 'flex', | |
| flexDirection: 'column', | |
| alignItems: 'center', | |
| padding: theme.spacing(2), | |
| }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* CHAT STYLES */ | |
| * { | |
| font-family: Avenir, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, | |
| Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, | |
| Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji; | |
| letter-spacing: 0.5px; | |
| } | |
| .ce-chat-list { | |
| background-color: rgb(240, 240, 240) !important; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const useStyles = makeStyles((theme) => ({ | |
| appBar: { | |
| borderRadius: 15, | |
| margin: '30px 100px', | |
| display: 'flex', | |
| flexDirection: 'row', | |
| justifyContent: 'center', | |
| alignItems: 'center', | |
| width: '600px', | |
| border: '2px solid black', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { makeStyles } from '@material-ui/core/styles'; | |
| export default makeStyles((theme) => ({ | |
| appBarSearch: { | |
| borderRadius: 4, | |
| marginBottom: '1rem', | |
| display: 'flex', | |
| padding: '16px', | |
| }, | |
| pagination: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useState, useRef, useEffect } from 'react'; | |
| import { CarouselButton, CarouselButtonDot, CarouselButtons, CarouselContainer, CarouselItem, CarouselItemImg, CarouselItemText, CarouselItemTitle, CarouselMobileScrollNode } from './TimeLineStyles'; | |
| import { Section, SectionDivider, SectionText, SectionTitle } from '../../styles/GlobalComponents'; | |
| import { TimeLineData } from '../../constants/constants'; | |
| const TOTAL_CAROUSEL_COUNT = TimeLineData.length; | |
| const Timeline = () => { | |
| const [activeItem, setActiveItem] = useState(0); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const express = require('express'); | |
| const request = require('request-promise'); | |
| const PORT = process.env.PORT || 5000; | |
| const app = express(); | |
| app.use(express.json()); | |
| const returnScraperApiUrl = (apiKey) => `http://api.scraperapi.com?api_key=${apiKey}&autoparse=true`; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { alpha, makeStyles } from '@material-ui/core/styles'; | |
| export default makeStyles((theme) => ({ | |
| title: { | |
| display: 'none', | |
| [theme.breakpoints.up('sm')]: { | |
| display: 'block', | |
| }, | |
| }, | |
| search: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :root { | |
| --primary-color: #005fff; | |
| --primary-color-alpha: #005fff1a; | |
| } | |
| html, | |
| body { | |
| margin: 0; | |
| padding: 0; | |
| height: 100%; |