inital light theme ui

This commit is contained in:
Priyatham Sai Chand 2021-04-20 21:26:54 +05:30
parent 954a755799
commit 163335fd10
34 changed files with 18224 additions and 1 deletions

23
.gitignore vendored Normal file
View File

@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
/node_modules
/.pnp
.pnp.js
# testing
/coverage
# production
/build
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View File

@ -1 +1,70 @@
# quadb-hodlinfo
# Getting Started with Create React App
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Available Scripts
In the project directory, you can run:
### `npm start`
Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in the browser.
The page will reload if you make edits.\
You will also see any lint errors in the console.
### `npm test`
Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
### `npm run build`
Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
### `npm run eject`
**Note: this is a one-way operation. Once you `eject`, you cant go back!**
If you arent satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point youre on your own.
You dont have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldnt feel obligated to use this feature. However we understand that this tool wouldnt be useful if you couldnt customize it when you are ready for it.
## Learn More
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
To learn React, check out the [React documentation](https://reactjs.org/).
### Code Splitting
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
### Analyzing the Bundle Size
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
### Making a Progressive Web App
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
### Advanced Configuration
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
### Deployment
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
### `npm run build` fails to minify
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)

1
README.old.md Normal file
View File

@ -0,0 +1 @@
# quadb-hodlinfo

16609
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

43
package.json Normal file
View File

@ -0,0 +1,43 @@
{
"name": "quadb-hodlinfo",
"version": "0.1.0",
"private": true,
"dependencies": {
"@testing-library/jest-dom": "^5.11.10",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^12.8.3",
"bootstrap": "^4.6.0",
"jquery": "^3.6.0",
"popper.js": "^1.16.1",
"react": "^17.0.2",
"react-circular-progressbar": "^2.0.4",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"reactstrap": "^8.9.0",
"web-vitals": "^1.1.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}

BIN
public/BannerFTXNews.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 86 KiB

BIN
public/bitbns.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

BIN
public/coibdcx.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

BIN
public/colodax.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
public/cryptonews.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

BIN
public/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

BIN
public/giotus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
public/hodlinfo_logo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

51
public/index.html Normal file
View File

@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css" integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.min.js" integrity="sha384-w1Q4orYjBQndcko6MimVbzY0tgp4pWB4lZ7lr30WKz0vr/aWKhXdBNmNb5D92v7s" crossorigin="anonymous"></script>
<div class="form-group">
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>

BIN
public/logo192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
public/logo512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

25
public/manifest.json Normal file
View File

@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}

3
public/robots.txt Normal file
View File

@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:

BIN
public/telegram.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

BIN
public/wazix.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

BIN
public/zebpay.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

38
src/App.css Normal file
View File

@ -0,0 +1,38 @@
.App {
text-align: center;
}
.App-logo {
height: 40vmin;
pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
.App-logo {
animation: App-logo-spin infinite 20s linear;
}
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #61dafb;
}
@keyframes App-logo-spin {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}

18
src/App.js Normal file
View File

@ -0,0 +1,18 @@
import logo from './logo.svg';
import './App.css';
import {Footer } from '../src/components/Footer'
import {Header } from '../src/components/Header'
import {MainPage } from '../src/components/MainPage'
import 'bootstrap/dist/css/bootstrap.min.css';
function App() {
return (
<div className="App">
<Header />
<MainPage />
<Footer />
</div>
);
}
export default App;

8
src/App.test.js Normal file
View File

@ -0,0 +1,8 @@
import { render, screen } from '@testing-library/react';
import App from './App';
test('renders learn react link', () => {
render(<App />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});

22
src/components/Footer.js Normal file
View File

@ -0,0 +1,22 @@
import React, {Component} from 'react';
import './styles.css'
export class Footer extends Component {
constructor(props){
super(props);
}
render() {
return(
<div className="d-flex align-items-center text-center">
<div className="footer-text">Copyright © 2019</div>
<div className="footer-text">HodlInfo.com</div>
<div className="footer-text">Developed By <a rel="nofollow" href="https://www.quadbtech.com" target="_blank" style={{color:"#3dc6c1"}}> QuadBTech</a></div>
<div class="footer-text pointer" style={{ "margin-left": "auto" }}>
<a href="mailto:support@hodlinfo.com" class="footer-text-link">Support</a>
</div>
</div>
)
}
}

83
src/components/Header.js Normal file
View File

@ -0,0 +1,83 @@
import React, { useState,Component } from 'react';
import './styles.css';
import { ButtonDropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';
export const Header = () => {
const [dropdownOpen, setDropdownOpen] = useState(false);
const toggle = () => setDropdownOpen(prevState => !prevState);
return (
<div style={{padding: "20px 30px 0px"}}>
<div class="align-items-center justify-content-sm-center row">
<div class="text-center-sm col-12 col-sm-7 col-md-5 col-lg-4">
<a href="/">
<div class="padding-none text-center-xs col-12 col-sm-12 col-md-11 col-lg-11">
<img src="hodlinfo_logo.png" class="fiat-logo" style={{padding: "10px"}} />
</div>
</a>
<p class="col-12 text-center-xs" style={{"font-family": "Oswald, sans-serif", "margin-top": "-18px", opacity: "0.8", "font-size": "18px", color: "gray"}}>
Powered By
<a class="footer-text-link" rel="nofollow" target="_blank" href="https://www.finstreet.in/" style={{color: "rgb(61, 198, 193)"}}>
Finstreet
</a>
</p>
</div>
<div class="text-center padding-none col-12 col-sm-12 col-md-2 col-lg-4">
<div class="btn-group">
<ButtonDropdown isOpen={dropdownOpen} toggle={toggle}>
<DropdownToggle caret>
INR
</DropdownToggle>
<DropdownMenu>
<DropdownItem>INR</DropdownItem>
</DropdownMenu>
</ButtonDropdown>
</div>
&nbsp;
&nbsp;
<div class="btn-group">
<ButtonDropdown isOpen={dropdownOpen} toggle={toggle} className={""}>
<DropdownToggle caret className={"header-button"}>
ETH
</DropdownToggle>
<DropdownMenu>
<DropdownItem>BTC</DropdownItem>
<DropdownItem>ETH</DropdownItem>
<DropdownItem>USDT</DropdownItem>
<DropdownItem>XRP</DropdownItem>
<DropdownItem>TRX</DropdownItem>
<DropdownItem>DASH</DropdownItem>
<DropdownItem>ZEC</DropdownItem>
<DropdownItem>XEM</DropdownItem>
<DropdownItem>IOST</DropdownItem>
<DropdownItem>WIN</DropdownItem>
<DropdownItem>BTT</DropdownItem>
<DropdownItem>WRX</DropdownItem>
</DropdownMenu>
</ButtonDropdown>
</div>
<div class="btn-group"><a target="_blank" href="https://wazirx.com/invite/sp7pvbt6?utm_source=finstreet&amp;utm_medium=affiliate&amp;utm_campaign=regnow-btn" type="button" aria-haspopup="true" aria-expanded="false" class="header-button btn btn-secondary">BUY ETH</a>
</div>
</div>
<div class="right-header col-12 col-sm-12 col-md-5 col-lg-4">
<div class="d-inline-flex flex-wrap align-items-center justify-content-center">
<a class="color-white" href="/connect/telegram">
<div class="header-telegram-button">
<div class="d-inline-block">
<img src="telegram.png" class="telegram-logo" /></div>
<div class="text-nowrap d-inline-block color-white">Connect Telegram</div>
</div>
</a>
<div class="margin-10 d-inline-block">
<label class="switch"><input type="checkbox" />
<span class="slider round"></span>
</label>
</div>
</div>
</div>
</div>
</div>
)
};

125
src/components/MainPage.js Normal file
View File

@ -0,0 +1,125 @@
import React, { useState, Component } from 'react';
import "./styles.css";
export const MainPage = () => {
return (
<React.Fragment><div class="theme-light padding-bottom-50">
<div class="Container-fluid " style={{ padding: "0px 30px" }}>
<div class="d-flex justify-content-around align-items-center average-header" style={{ padding: "10px 0px" }}>
<div class="text-center">
<div class="average-header-maintext color-green">0.47 %</div>
<div class="average-header-subHeading">5 Mins</div>
</div>
<div class="text-center">
<div class="average-header-maintext color-green">0.98 %</div>
<div class="average-header-subHeading">1 Hour</div>
</div>
<div style={{ "max-width": "40%" }}>
<div class="text-center font-32 average-block">
<div class="average-subText">
<span class="subText-heading">Best Price to Trade</span>
</div>
<div class="average-heading" style={{ "padding-bottom": "10px" }}> 1,67,334</div>
<div class="average-subText">Average ETH/INR net price including commission</div>
</div>
</div>
<div class="text-center">
<div class="average-header-maintext color-green">5.86 %</div>
<div class="average-header-subHeading">1 Day</div>
</div>
<div class="text-center">
<div class="average-header-maintext color-green">6.41 %</div>
<div class="average-header-subHeading">7 Days</div>
</div>
</div>
<a target="_blank" href="https://finstreet.in/">
<img src="cryptonews.png" style={{ width: "100%", padding: "0px 0px 20px" }} />
</a>
</div>
<div class="fiat-crypto-table table-responsive" style={{ margin: "0px auto" }}>
<table class="table table-borderless text-center">
<thead>
<tr>
<th>
<h4><span class="pointer">#</span></h4>
</th>
<th>
<h4><span class="pointer">Platform</span></h4>
</th>
<th>
<h4><span class="pointer">Last Traded Price</span></h4>
</th>
<th><h4><span class="pointer">Buy / Sell Price</span></h4>
</th>
<th><h4><span class="pointer">Difference</span></h4>
</th>
<th>
<h4><span class="pointer">Savings</span></h4>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="align-middle"><h4 class="table-text">1</h4></td>
<td class="align-middle"><a target="_blank" href="">
<h4 class="table-text"><img src="wazix.png" class="exchange-logo" ></img> <span class="exchange-name ">WazirX</span></h4>
</a></td><td class="align-middle"><h4 class="table-text"> 1,79,500</h4></td>
<td class="align-middle"><h4 class="table-text"><span> 1,79,200 / 1,79,500</span></h4></td>
<td class="align-middle"><h4 class="table-text color-green">7.27 %</h4></td>
<td class="align-middle"><h4 class="table-text color-green"> 12,165</h4></td>
</tr>
<tr><td class="align-middle"><h4 class="table-text">2</h4></td>
<td class="align-middle"><a target="_blank" href="https://bit.ly/2BJxccc">
<h4 class="table-text">
<img src="bitbns.png" class="exchange-logo" />
<span class="exchange-name ">Bitbns</span>
</h4></a></td>
<td class="align-middle"><h4 class="table-text"> 1,76,875</h4></td>
<td class="align-middle"><h4 class="table-text"><span> 1,75,745 / 1,76,801</span></h4></td>
<td class="align-middle"><h4 class="table-text color-green">5.70 %</h4></td>
<td class="align-middle"><h4 class="table-text color-green"> 9,540</h4></td>
</tr><tr><td class="align-middle"><h4 class="table-text">3</h4></td>
<td class="align-middle"><a target="_blank" href=" "><h4 class="table-text">
<img src="giotus.png" class="exchange-logo" /><span class="exchange-name ">Giotus</span></h4></a></td>
<td class="align-middle"><h4 class="table-text"> 1,79,000</h4></td><td class="align-middle"><h4 class="table-text"><span> 1,78,010 / 1,79,000</span></h4></td>
<td class="align-middle"><h4 class="table-text color-green">6.97 %</h4></td>
<td class="align-middle"><h4 class="table-text color-green"> 11,665</h4></td>
</tr>
<tr>
<td class="align-middle"><h4 class="table-text">4</h4></td>
<td class="align-middle"><a target="_blank" href=" "><h4 class="table-text">
<img src="colodax.png" class="exchange-logo" /><span class="exchange-name ">Colodax</span></h4></a></td>
<td class="align-middle"><h4 class="table-text"> 1,08,675</h4></td>
<td class="align-middle"><h4 class="table-text"><span> 1,08,675 / 1,10,469</span></h4></td>
<td class="align-middle"><h4 class="table-text color-red">-35.06 %</h4></td>
<td class="align-middle"><h4 class="table-text color-red"> 58,659</h4></td>
</tr>
<tr>
<td class="align-middle"><h4 class="table-text">5</h4></td>
<td class="align-middle"><a target="_blank" href=""><h4 class="table-text">
<img src="zebpay.png" class="exchange-logo" /><span class="exchange-name">Zebpay</span></h4></a></td>
<td class="align-middle"><h4 class="table-text"> 1,82,000</h4></td>
<td class="align-middle"><h4 class="table-text"><span> 1,82,200 / 1,82,000</span></h4></td>
<td class="align-middle"><h4 class="table-text color-green">8.76 %</h4></td>
<td class="align-middle"><h4 class="table-text color-green"> 14,665</h4></td>
</tr>
<tr>
<td class="align-middle"><h4 class="table-text">6</h4></td>
<td class="align-middle"><a target="_blank" href=" "><h4 class="table-text">
<img src="coibdcx.png" class="exchange-logo" /><span class="exchange-name">CoinDCX</span></h4></a></td>
<td class="align-middle"><h4 class="table-text"> 1,77,959</h4></td>
<td class="align-middle"><h4 class="table-text"><span> 1,77,959 / 1,78,763</span></h4></td>
<td class="align-middle"><h4 class="table-text color-green">6.35 %</h4></td>
<td class="align-middle"><h4 class="table-text color-green"> 10,624</h4></td>
</tr>
</tbody>
</table>
</div>
<div class="padding-header" style={{ padding: "20px" }}>
<a target="_blank" href="https://ftx.com/#a=finstreet">
<img src="BannerFTXNews.png" style={{ width: "100%" }} /></a>
</div>
</div>
</React.Fragment>
)
};

207
src/components/asdf.html Normal file
View File

@ -0,0 +1,207 @@
<html>
<head>
<link href="styles.css" rel="stylesheet" />
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-eOJMYsd53ii+scO/bJGFsiCZc+5NDVN2yr8+0RDqr0Ql0h+rP48ckxlpbzKgwra6" crossorigin="anonymous">
<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta3/dist/js/bootstrap.bundle.min.js" integrity="sha384-JEW9xMcG8R+pH31jmWH6WWP0WintQrMb4s7ZOdauHnUtxwoG2vI5DkLtS3qm9Ekf" crossorigin="anonymous"></script>
</head>
<body>
<div class="theme-light">
<div style="padding: 20px 30px 0px;">
<div class="align-items-center justify-content-sm-center row">
<div class="text-center-sm col-12 col-sm-7 col-md-5 col-lg-4">
<a href="/">
<div class="padding-none text-center-xs col-12 col-sm-12 col-md-11 col-lg-11">
<img src="./public/hodlinfo_logo.png" class="fiat-logo" style="padding: 10px;" />
</div>
</a>
<p class="col-12 text-center-xs" style="font-family: Oswald, sans-serif; margin-top: -18px; opacity: 0.8; font-size: 18px; color: gray;">
Powered By
<a class="footer-text-link" rel="nofollow" target="_blank" href="https://www.finstreet.in/" style="color: rgb(61, 198, 193);">
Finstreet
</a>
</p>
</div>
<div class="text-center padding-none col-12 col-sm-12 col-md-2 col-lg-4">
<div class="btn-group">
<button type="button" aria-haspopup="true" aria-expanded="false" class="header-button dropdown-toggle btn btn-secondary">INR
</button>
<div tabindex="-1" role="menu" aria-hidden="true" class="dropdown-menu">
<a value="INR" tabindex="0" role="menuitem" class="dropdown-item" href="/ETH-INR"> INR
</a>
</div>
</div>
<div class="btn-group">
<button type="button" aria-haspopup="true" aria-expanded="false" class="header-button dropdown-toggle btn btn-secondary"> ETH
</button>
<div tabindex="-1" role="menu" aria-hidden="true" class="dropdown-menu">
<a value="BTC" tabindex="0" role="menuitem" class="dropdown-item" href="/BTC-INR"> BTC </a>
<a value="ETH" tabindex="0" role="menuitem" class="dropdown-item" href="/ETH-INR"> ETH </a>
<a value="USDT" tabindex="0" role="menuitem" class="dropdown-item" href="/USDT-INR"> USDT </a>
<a value="XRP" tabindex="0" role="menuitem" class="dropdown-item" href="/XRP-INR">XRP</a>
<a value="TRX" tabindex="0" role="menuitem" class="dropdown-item" href="/TRX-INR">TRX</a>
<a value="DASH" tabindex="0" role="menuitem" class="dropdown-item" href="/DASH-INR">DASH</a>
<a value="ZEC" tabindex="0" role="menuitem" class="dropdown-item" href="/ZEC-INR">ZEC</a>
<a value="XEM" tabindex="0" role="menuitem" class="dropdown-item" href="/XEM-INR">XEM</a>
<a value="IOST" tabindex="0" role="menuitem" class="dropdown-item" href="/IOST-INR">IOST</a>
<a value="WIN" tabindex="0" role="menuitem" class="dropdown-item" href="/WIN-INR">WIN</a>
<a value="BTT" tabindex="0" role="menuitem" class="dropdown-item" href="/BTT-INR">BTT</a>
<a value="WRX" tabindex="0" role="menuitem" class="dropdown-item" href="/WRX-INR">WRX</a>
</div>
</div>
<div class="btn-group"><a target="_blank" href="https://wazirx.com/invite/sp7pvbt6?utm_source=finstreet&amp;utm_medium=affiliate&amp;utm_campaign=regnow-btn" type="button" aria-haspopup="true" aria-expanded="false" class="header-button btn btn-secondary">BUY ETH</a>
</div>
</div>
<div class="right-header col-12 col-sm-12 col-md-5 col-lg-4">
<div class="d-inline-flex flex-wrap align-items-center justify-content-center">
<a class="color-white" href="/connect/telegram">
<div class="header-telegram-button">
<div class="d-inline-block">
<img src="./public/telegram.png" class="telegram-logo" /></div>
<div class="text-nowrap d-inline-block color-white">Connect Telegram</div>
</div>
</a>
<div class="margin-10 d-inline-block">
<label class="switch"><input type="checkbox" checked="" />
<span class="slider round"></span>
</label>
</div>
</div>
</div>
</div>
</div>
<div class="padding-bottom-50">
<div class="Container-fluid " style="padding: 0px 30px;">
<div class="d-flex justify-content-around align-items-center average-header" style="padding: 10px 0px;">
<div class="text-center">
<div class="average-header-maintext color-green">0.47 %</div>
<div class="average-header-subHeading">5 Mins</div>
</div>
<div class="text-center">
<div class="average-header-maintext color-green">0.98 %</div>
<div class="average-header-subHeading">1 Hour</div>
</div>
<div style="max-width: 40%;">
<div class="text-center font-32 average-block">
<div class="average-subText">
<span class="subText-heading">Best Price to Trade</span>
</div>
<div class="average-heading" style="padding-bottom: 10px;">₹ 1,67,334</div>
<div class="average-subText">Average ETH/INR net price including commission</div>
</div>
</div>
<div class="text-center">
<div class="average-header-maintext color-green">5.86 %</div>
<div class="average-header-subHeading">1 Day</div>
</div>
<div class="text-center">
<div class="average-header-maintext color-green">6.41 %</div>
<div class="average-header-subHeading">7 Days</div>
</div>
</div>
<a target="_blank" href="https://finstreet.in/">
<img src="./public/cryptonews.png" style="width: 100%; padding: 0px 0px 20px;" />
</a>
</div>
<div class="fiat-crypto-table table-responsive" style="margin: 0px auto;">
<table class="table table-borderless text-center">
<thead>
<tr>
<th>
<h4><span class="pointer">#</span></h4>
</th>
<th>
<h4><span class="pointer">Platform</span></h4>
</th>
<th>
<h4><span class="pointer">Last Traded Price</span></h4>
</th>
<th><h4><span class="pointer">Buy / Sell Price</span></h4>
</th>
<th><h4><span class="pointer">Difference</span></h4>
</th>
<th>
<h4><span class="pointer">Savings</span></h4>
</th>
</tr>
</thead>
<tbody>
<tr>
<td class="align-middle"><h4 class="table-text">1</h4></td>
<td class="align-middle"><a target="_blank" href="">
<h4 class="table-text"><img src="./public/wazix.png" class="exchange-logo"> <span class="exchange-name ">WazirX</span></h4>
</a></td><td class="align-middle"><h4 class="table-text">₹ 1,79,500</h4></td>
<td class="align-middle"><h4 class="table-text"><span>₹ 1,79,200 / ₹ 1,79,500</span></h4></td>
<td class="align-middle"><h4 class="table-text color-green">7.27 %</h4></td>
<td class="align-middle"><h4 class="table-text color-green">▲ ₹ 12,165</h4></td>
</tr>
<tr><td class="align-middle"><h4 class="table-text">2</h4></td>
<td class="align-middle"><a target="_blank" href="https://bit.ly/2BJxccc">
<h4 class="table-text">
<img src="./public/bitbns.png" class="exchange-logo" />
<span class="exchange-name ">Bitbns</span>
</h4></a></td>
<td class="align-middle"><h4 class="table-text">₹ 1,76,875</h4></td>
<td class="align-middle"><h4 class="table-text"><span>₹ 1,75,745 / ₹ 1,76,801</span></h4></td>
<td class="align-middle"><h4 class="table-text color-green">5.70 %</h4></td>
<td class="align-middle"><h4 class="table-text color-green">▲ ₹ 9,540</h4></td>
</tr><tr><td class="align-middle"><h4 class="table-text">3</h4></td>
<td class="align-middle"><a target="_blank" href=" "><h4 class="table-text">
<img src="./public/giotus.png" class="exchange-logo"/><span class="exchange-name ">Giotus</span></h4></a></td>
<td class="align-middle"><h4 class="table-text">₹ 1,79,000</h4></td><td class="align-middle"><h4 class="table-text"><span>₹ 1,78,010 / ₹ 1,79,000</span></h4></td>
<td class="align-middle"><h4 class="table-text color-green">6.97 %</h4></td>
<td class="align-middle"><h4 class="table-text color-green">▲ ₹ 11,665</h4></td>
</tr>
<tr>
<td class="align-middle"><h4 class="table-text">4</h4></td>
<td class="align-middle"><a target="_blank" href=" "><h4 class="table-text">
<img src="./public/colodax.png" class="exchange-logo" /><span class="exchange-name ">Colodax</span></h4></a></td>
<td class="align-middle"><h4 class="table-text">₹ 1,08,675</h4></td>
<td class="align-middle"><h4 class="table-text"><span>₹ 1,08,675 / ₹ 1,10,469</span></h4></td>
<td class="align-middle"><h4 class="table-text color-red">-35.06 %</h4></td>
<td class="align-middle"><h4 class="table-text color-red">▼ ₹ 58,659</h4></td>
</tr>
<tr>
<td class="align-middle"><h4 class="table-text">5</h4></td>
<td class="align-middle"><a target="_blank" href=" "><h4 class="table-text">
<img src="./public/zebpay.png" class="exchange-logo"/><span class="exchange-name ">Zebpay</span></h4></a></td>
<td class="align-middle"><h4 class="table-text">₹ 1,82,000</h4></td>
<td class="align-middle"><h4 class="table-text"><span>₹ 1,82,200 / ₹ 1,82,000</span></h4></td>
<td class="align-middle"><h4 class="table-text color-green">8.76 %</h4></td>
<td class="align-middle"><h4 class="table-text color-green">▲ ₹ 14,665</h4></td>
</tr>
<tr>
<td class="align-middle"><h4 class="table-text">6</h4></td>
<td class="align-middle"><a target="_blank" href=" "><h4 class="table-text">
<img src="./public/coibdcx.png" class="exchange-logo"/><span class="exchange-name ">CoinDCX</span></h4></a></td>
<td class="align-middle"><h4 class="table-text">₹ 1,77,959</h4></td>
<td class="align-middle"><h4 class="table-text"><span>₹ 1,77,959 / ₹ 1,78,763</span></h4></td>
<td class="align-middle"><h4 class="table-text color-green">6.35 %</h4></td>
<td class="align-middle"><h4 class="table-text color-green">▲ ₹ 10,624</h4></td>
</tr>
</tr>
</tbody>
</table>
</div>
<div class="padding-header" style="padding: 20px;">
<a target="_blank" href="https://ftx.com/#a=finstreet">
<img src="./public/BannerFTXNews.png" style="width: 100%;"/></a>
</div>
</div>
<div class="footer">
<div class="d-flex align-items-center text-center">
<div class="footer-text"> Copyright © 2019</div>
<div class="footer-text">HodlInfo.com</div>
<div class="footer-text">Developed By QuadBTech</div>
<div class="footer-text pointer" style="margin-left: auto;">
<a href="mailto:support@hodlinfo.com" class="footer-text-link">Support</a>
</div>
</div>
</div>
</div>
</body>
</html>

849
src/components/styles.css Normal file
View File

@ -0,0 +1,849 @@
@import url("https://fonts.googleapis.com/css?family=Oswald:200,300,400,500&family=Montserrat:400&display=swap");
.fiat-logo {
width: 80%;
}
.padding-none {
padding: 0 !important;
}
.margin-top-progress-bar {
margin-top: 15px;
}
.arrow {
font-size: 24px;
margin-top: -4px;
margin-right: 5px;
}
.average-header {
padding: 25px 0;
}
.header-telegram {
padding: 10px 0;
font-size: 34px;
display: flex;
align-items: center;
justify-content: center;
}
.header-telegram-heading {
padding: 15px 0 10px 0;
font-size: 24px;
}
.sub-heading-telegram {
padding: 3px 0;
font-size: 20px;
}
.progress-bar-wrapper {
height: 36px;
width: 36px;
margin: 10px;
}
.CircularProgressbar .CircularProgressbar-text {
fill: #3dc6c1 !important;
font-size: 44px !important;
font-weight: 500;
}
.CircularProgressbar .CircularProgressbar-path {
stroke: #3dc6c1 !important;
}
.footer {
bottom: 0;
position: absolute;
padding: 13px;
width: 100%;
}
.footer-text {
color: #888686;
white-space: nowrap;
padding-right: 12px;
font-size: 12px;
font-weight: 400;
}
.footer-text-link {
color: #888686;
}
.footer-text-link:hover {
color: #888686;
text-decoration: none;
}
.exchange-logo {
height: 24px;
width: 24px;
border-radius: 50%;
}
.exchange-name {
padding-left: 15px;
}
.padding-bottom-50 {
padding-bottom: 50px;
}
.padding-bottom-15 {
padding-bottom: 15px;
}
.padding-header {
padding: 30px;
}
.average-header-block {
padding-bottom: 30px;
}
a:hover {
text-decoration: none;
}
.average-block {
padding-bottom: 30px;
}
.average-header-maintext {
font-weight: 400;
font-size: 40px;
}
.average-header-subHeading {
font-weight: 400;
color: #0c0f48;
opacity: 0.45;
font-weight: 300;
font-size: 20px;
}
.average-header-subtext {
font-weight: 400;
color: #0c0f48;
opacity: 0.45;
font-weight: 300;
font-size: 16px;
}
.average-heading {
font-weight: 400;
font-size: 80px;
}
.average-subText {
font-weight: 400;
color: #0c0f48;
opacity: 0.45;
font-weight: 300;
font-size: 16px;
letter-spacing: 0.75px;
}
.subText-heading {
font-size: 28px;
}
.table-text {
white-space: nowrap;
align-items: center;
}
.commission-percent {
font-size: 1rem;
}
.pointer {
cursor: pointer;
}
.nowrap {
white-space: nowrap;
}
.loader-wrapper {
text-align: center;
width: 100%;
margin-top: 10%;
}
.loader {
margin: 0 auto;
border: 16px solid #ddd;
border-radius: 50%;
border-top: 16px solid #3dc6c1;
width: 120px;
height: 120px;
-webkit-animation: spin 2s linear infinite;
/* Safari */
animation: spin 2s linear infinite;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(360deg);
}
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.header-button {
margin: 10px;
padding: 6px 20px;
border-radius: 10px;
}
.telegram-logo {
height: 15px;
margin-right: 10px;
}
.theme-light .telegram-page {
font-weight: 400;
}
.theme-light .telegram-logo-tg {
filter: brightness(0);
}
.theme-light .tg-link {
color: #0c0f48;
}
.theme-dark .tg-link {
color: white;
}
.tg-link {
text-decoration: underline;
}
.telegram-logo-tg {
height: 30px;
margin-right: 10px;
margin-left: 10px;
}
.color-white {
color: white;
}
.color-white:hover {
color: white;
}
.header-telegram-button {
margin: 10px;
padding: 6px 20px;
border-radius: 10px;
background-color: #3dc6c1;
color: white !important;
}
.theme-light {
background: #fff;
position: relative;
min-height: 100vh;
color: #0c0f48;
font-family: Oswald, sans-serif;
font-weight: 300;
}
.theme-light .footer {
border-top: 2px solid #ddd;
}
.theme-light .header-button {
color: #0c0f48;
background-color: #f8f9fa;
border: 0px;
box-shadow: 0 0 2px #ddd;
}
.theme-light .toggle-button-circle {
height: 20px;
width: 20px;
background-color: #bcbcbc;
border-radius: 50%;
}
.theme-light .slider {
background-color: #f8f9fa;
}
.theme-light .slider:before {
background-color: #3dc6c1;
}
.theme-light .slider.round {
box-shadow: 0 0 2px #ddd;
}
.theme-light .telegram-logo-text:hover {
color: white !important;
}
.theme-light .fiat-crypto-table {
padding-left: 25px;
padding-right: 25px;
}
.theme-light .fiat-crypto-table table {
width: 100%;
max-width: 100%;
border-collapse: separate;
border-spacing: 0 1em;
margin: 0;
}
.theme-light .fiat-crypto-table th {
color: #0c0f48;
padding: 0 12px;
}
.theme-light .fiat-crypto-table th h4 {
font-family: "Oswald";
font-size: 16px;
opacity: 0.45;
letter-spacing: 1px;
margin: 0;
margin-bottom: -5px;
}
.theme-light .fiat-crypto-table td {
color: #0c0f48;
padding-top: 15px;
padding-bottom: 15px;
}
.theme-light .fiat-crypto-table td h4 {
font-family: "Oswald";
font-size: 16px;
margin: 0;
opacity: 1;
}
.theme-light .fiat-crypto-table td a {
color: #000;
}
.theme-light .fiat-crypto-table tbody tr {
background-color: #f8f9fa;
}
.theme-light .fiat-crypto-table tbody td:first-child {
border-radius: 10px 0 0 10px;
}
.theme-light .fiat-crypto-table tbody td:last-child {
border-radius: 0 10px 10px 0;
}
.theme-dark {
position: relative;
background: #191d28;
min-height: 100vh;
color: white;
font-family: "Oswald", sans-serif;
}
.theme-dark .average-subText {
color: white;
}
.theme-dark .average-header-subHeading {
color: white;
}
.theme-dark .footer {
border-top: 2px solid #2e3241;
}
.theme-dark .header-button {
background-color: #2e3241;
color: white;
border: 0px;
}
.theme-dark .toggle-button-circle {
height: 30px;
width: 30px;
background-color: #3459e6;
border-radius: 50%;
}
.theme-dark .slider {
background-color: #f0f0f0;
}
.theme-dark .slider:before {
background-color: #3dc6c1;
}
.theme-dark input:checked + .slider {
background-color: #2e3241;
}
.theme-dark .fiat-crypto-table {
padding-left: 25px;
padding-right: 25px;
}
.theme-dark .fiat-crypto-table table {
width: 100%;
max-width: 100%;
border-collapse: separate;
border-spacing: 0 1em;
margin: 0;
}
.theme-dark .fiat-crypto-table th {
color: white;
padding: 0 12px;
}
.theme-dark .fiat-crypto-table th h4 {
font-family: "Oswald";
font-size: 24px;
opacity: 0.45;
letter-spacing: 1px;
margin: 0;
margin-bottom: -5px;
}
.theme-dark .fiat-crypto-table td {
color: white;
padding-top: 15px;
padding-bottom: 15px;
}
.theme-dark .fiat-crypto-table td a {
color: #fff;
}
.theme-dark .fiat-crypto-table td h4 {
font-family: "Oswald";
font-size: 24px;
margin: 0;
opacity: 1;
}
.theme-dark .fiat-crypto-table tbody tr {
background-color: #2e3241;
}
.theme-dark .fiat-crypto-table tbody td:first-child {
border-radius: 10px 0 0 10px;
}
.theme-dark .fiat-crypto-table tbody td:last-child {
border-radius: 0 10px 10px 0;
}
.toggle-button {
background-color: #3dc6c1;
box-shadow: 0 0 15px;
border-radius: 18px;
}
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
margin: 0;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
-webkit-transition: 0.4s;
transition: 0.4s;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
-webkit-transition: 0.4s;
transition: 0.4s;
}
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}
.margin-5 {
margin: 5px;
}
.margin-10 {
margin: 10px;
}
.margin-15 {
margin: 15px;
}
.margin-20 {
margin: 20px;
}
.margin-25 {
margin: 25px;
}
.margin-30 {
margin: 30px;
}
.margin-35 {
margin: 35px;
}
.margin-40 {
margin: 40px;
}
.margin-45 {
margin: 45px;
}
.margin-50 {
margin: 50px;
}
.no-mrg-left {
margin-left: 0 !important;
}
.no-mrg-right {
margin-right: 0 !important;
}
.no-mrg-top {
margin-top: 0 !important;
}
.no-mrg-bottom {
margin-bottom: 0 !important;
}
.padding-5 {
padding: 5px;
}
.padding-10 {
padding: 10px;
}
.padding-top-10 {
padding-top: 10px;
}
.padding-left-15 {
padding-left: 15px;
}
.padding-15 {
padding: 15px;
}
.padding-col-15 {
padding-left: 15px;
padding-right: 15px;
}
.padding-20 {
padding: 20px;
}
.padding-25 {
padding: 25px;
}
.padding-30 {
padding: 30px;
}
.padding-35 {
padding: 35px;
}
.padding-40 {
padding: 40px;
}
.padding-45 {
padding: 45px;
}
.padding-50 {
padding: 50px;
}
.no-pdd-left {
padding-left: 0 !important;
}
.no-pdd-right {
padding-right: 0 !important;
}
.no-pdd-top {
padding-top: 0 !important;
}
.no-pdd-bottom {
padding-bottom: 0 !important;
}
.color-red {
color: #da5757;
}
.color-green {
color: #5dc7c2;
}
.right-header {
text-align: right;
}
@media screen and (max-width: 960px) {
.header-telegram-button {
font-size: 14px;
padding: 5px 10px;
}
.header-button {
font-size: 14px;
padding: 5px 10px;
margin: 5px;
}
.average-header {
padding: 20px 0;
}
.average-heading {
font-weight: 400;
font-size: 60px;
}
.fiat-logo {
width: 100%;
}
.average-subText {
font-weight: 400;
color: #0c0f48;
opacity: 0.45;
font-weight: 300;
font-size: 12px;
}
.subText-heading {
font-size: 22px;
}
}
@media screen and (max-width: 768px) {
.right-header {
text-align: center;
}
.fiat-logo {
width: 80%;
}
.text-center-xs {
text-align: center;
}
.padding-row-10-xs {
padding: 10x 0;
}
.header-telegram {
padding: 10px 0;
font-size: 24px;
}
.header-telegram-heading {
padding: 15px 0 10px 0;
font-size: 18px;
}
.sub-heading-telegram {
padding: 3px 0;
font-size: 15px;
}
.telegram-logo-tg {
height: 20px;
}
.arrow {
font-size: 10px;
margin-top: -2px;
margin-right: 3px;
}
.average-header {
padding: 10px 0;
}
.table-text {
font-size: 14px;
}
.fiat-crypto-table h4 {
white-space: nowrap;
}
.fiat-crypto-table td {
padding: 6px 3px !important;
white-space: nowrap;
}
.loader-wrapper {
margin-top: 40%;
}
.progress-bar-wrapper {
height: 25px;
width: 25px;
margin: 10px;
}
.average-block {
padding-bottom: 15px;
}
.average-header-block {
padding-top: 15px;
padding-bottom: 15px;
}
.average-header-maintext {
font-weight: 400;
font-size: 14px;
white-space: nowrap;
}
.average-header-subHeading {
font-weight: 400;
color: #0c0f48;
opacity: 0.45;
font-weight: 300;
font-size: 10px;
white-space: nowrap;
}
.average-header-subtext {
font-weight: 400;
color: #0c0f48;
opacity: 0.45;
font-weight: 300;
font-size: 8px;
white-space: nowrap;
}
.average-heading {
font-weight: 400;
font-size: 20px;
}
.average-subText {
font-weight: 400;
color: #0c0f48;
opacity: 0.45;
font-weight: 300;
font-size: 8px;
}
.subText-heading {
font-size: 14px;
}
.padding-header {
padding: 15px;
}
.exchange-name {
padding-left: 4px;
}
.exchange-logo {
height: 10px;
width: 10px;
}
.margin-top-progress-bar {
margin-top: 8px;
}
.commission-percent {
font-size: 8px;
}
.fiat-crypto-table {
padding: 0 10px !important;
}
.fiat-crypto-table th {
padding: 0 4px !important;
}
.fiat-crypto-table th h4 {
font-size: 10px !important;
}
}
@media screen and (max-width: 415px) {
.theme-light {
background: #fff;
position: relative;
min-height: 100vh;
color: #0c0f48;
font-family: "Oswald", sans-serif;
font-weight: 300;
}
.theme-light .footer {
border-top: 2px solid #ddd;
}
.theme-light .header-button {
color: #0c0f48;
background-color: #f8f9fa;
border: 0px;
box-shadow: 0 0 2px #ddd;
}
.theme-light .toggle-button-circle {
height: 20px;
width: 20px;
background-color: #bcbcbc;
border-radius: 50%;
}
.theme-light .slider {
background-color: #f8f9fa;
}
.theme-light .slider:before {
background-color: #3dc6c1;
}
.theme-light .slider.round {
box-shadow: 0 0 2px #ddd;
}
.theme-light .telegram-logo-text:hover {
color: white !important;
}
.theme-light .fiat-crypto-table {
padding-left: 25px;
padding-right: 25px;
}
.theme-light .fiat-crypto-table table {
width: 100%;
max-width: 100%;
border-collapse: separate;
border-spacing: 0 1em;
margin: 0;
}
.theme-light .fiat-crypto-table th {
color: #0c0f48;
padding: 0 12px;
}
.theme-light .fiat-crypto-table th h4 {
font-family: "Oswald";
font-size: 15px !important;
opacity: 0.45;
letter-spacing: 1px;
margin: 0;
margin-bottom: -5px;
}
.theme-light .fiat-crypto-table td {
color: #0c0f48;
padding-top: 15px;
padding-bottom: 15px;
}
.theme-light .fiat-crypto-table td a {
color: #000;
}
.theme-light .fiat-crypto-table td h4 {
font-family: "Oswald";
font-size: 14px;
margin: 0;
opacity: 1;
}
.theme-light .fiat-crypto-table tbody tr {
background-color: #f8f9fa;
}
.theme-light .fiat-crypto-table tbody td:first-child {
border-radius: 10px 0 0 10px;
}
.theme-light .fiat-crypto-table tbody td:last-child {
border-radius: 0 10px 10px 0;
}
.theme-dark {
position: relative;
background: #191d28;
min-height: 100vh;
color: white;
font-family: "Oswald", sans-serif;
}
.theme-dark .average-subText {
color: white;
}
.theme-dark .average-header-subHeading {
color: white;
}
.theme-dark .footer {
border-top: 2px solid #2e3241;
}
.theme-dark .header-button {
background-color: #2e3241;
color: white;
border: 0px;
}
.theme-dark .toggle-button-circle {
height: 30px;
width: 30px;
background-color: #3459e6;
border-radius: 50%;
}
.theme-dark .slider {
background-color: #f0f0f0;
}
.theme-dark .slider:before {
background-color: #3dc6c1;
}
.theme-dark input:checked + .slider {
background-color: #2e3241;
}
.theme-dark .fiat-crypto-table {
padding-left: 25px;
padding-right: 25px;
}
.theme-dark .fiat-crypto-table table {
width: 100%;
max-width: 100%;
border-collapse: separate;
border-spacing: 0 1em;
margin: 0;
}
.theme-dark .fiat-crypto-table th {
color: white;
padding: 0 12px;
}
.theme-dark .fiat-crypto-table th h4 {
font-family: "Oswald";
font-size: 15px !important;
opacity: 0.45;
letter-spacing: 1px;
margin: 0;
margin-bottom: -5px;
}
.theme-dark .fiat-crypto-table td {
color: white;
padding-top: 15px;
padding-bottom: 15px;
}
.theme-dark .fiat-crypto-table td a {
color: #fff;
}
.theme-dark .fiat-crypto-table td h4 {
font-family: "Oswald";
font-size: 14px;
margin: 0;
opacity: 1;
}
.theme-dark .fiat-crypto-table tbody tr {
background-color: #2e3241;
}
.theme-dark .fiat-crypto-table tbody td:first-child {
border-radius: 10px 0 0 10px;
}
.theme-dark .fiat-crypto-table tbody td:last-child {
border-radius: 0 10px 10px 0;
}
}
@media screen and (min-width: 1400px) {
.fiat-logo {
width: 70%;
}
}

13
src/index.css Normal file
View File

@ -0,0 +1,13 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
monospace;
}

17
src/index.js Normal file
View File

@ -0,0 +1,17 @@
import React from 'react';
import ReactDOM from 'react-dom';
import './index.css';
import App from './App';
import reportWebVitals from './reportWebVitals';
ReactDOM.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById('root')
);
// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();

1
src/logo.svg Normal file
View File

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 841.9 595.3"><g fill="#61DAFB"><path d="M666.3 296.5c0-32.5-40.7-63.3-103.1-82.4 14.4-63.6 8-114.2-20.2-130.4-6.5-3.8-14.1-5.6-22.4-5.6v22.3c4.6 0 8.3.9 11.4 2.6 13.6 7.8 19.5 37.5 14.9 75.7-1.1 9.4-2.9 19.3-5.1 29.4-19.6-4.8-41-8.5-63.5-10.9-13.5-18.5-27.5-35.3-41.6-50 32.6-30.3 63.2-46.9 84-46.9V78c-27.5 0-63.5 19.6-99.9 53.6-36.4-33.8-72.4-53.2-99.9-53.2v22.3c20.7 0 51.4 16.5 84 46.6-14 14.7-28 31.4-41.3 49.9-22.6 2.4-44 6.1-63.6 11-2.3-10-4-19.7-5.2-29-4.7-38.2 1.1-67.9 14.6-75.8 3-1.8 6.9-2.6 11.5-2.6V78.5c-8.4 0-16 1.8-22.6 5.6-28.1 16.2-34.4 66.7-19.9 130.1-62.2 19.2-102.7 49.9-102.7 82.3 0 32.5 40.7 63.3 103.1 82.4-14.4 63.6-8 114.2 20.2 130.4 6.5 3.8 14.1 5.6 22.5 5.6 27.5 0 63.5-19.6 99.9-53.6 36.4 33.8 72.4 53.2 99.9 53.2 8.4 0 16-1.8 22.6-5.6 28.1-16.2 34.4-66.7 19.9-130.1 62-19.1 102.5-49.9 102.5-82.3zm-130.2-66.7c-3.7 12.9-8.3 26.2-13.5 39.5-4.1-8-8.4-16-13.1-24-4.6-8-9.5-15.8-14.4-23.4 14.2 2.1 27.9 4.7 41 7.9zm-45.8 106.5c-7.8 13.5-15.8 26.3-24.1 38.2-14.9 1.3-30 2-45.2 2-15.1 0-30.2-.7-45-1.9-8.3-11.9-16.4-24.6-24.2-38-7.6-13.1-14.5-26.4-20.8-39.8 6.2-13.4 13.2-26.8 20.7-39.9 7.8-13.5 15.8-26.3 24.1-38.2 14.9-1.3 30-2 45.2-2 15.1 0 30.2.7 45 1.9 8.3 11.9 16.4 24.6 24.2 38 7.6 13.1 14.5 26.4 20.8 39.8-6.3 13.4-13.2 26.8-20.7 39.9zm32.3-13c5.4 13.4 10 26.8 13.8 39.8-13.1 3.2-26.9 5.9-41.2 8 4.9-7.7 9.8-15.6 14.4-23.7 4.6-8 8.9-16.1 13-24.1zM421.2 430c-9.3-9.6-18.6-20.3-27.8-32 9 .4 18.2.7 27.5.7 9.4 0 18.7-.2 27.8-.7-9 11.7-18.3 22.4-27.5 32zm-74.4-58.9c-14.2-2.1-27.9-4.7-41-7.9 3.7-12.9 8.3-26.2 13.5-39.5 4.1 8 8.4 16 13.1 24 4.7 8 9.5 15.8 14.4 23.4zM420.7 163c9.3 9.6 18.6 20.3 27.8 32-9-.4-18.2-.7-27.5-.7-9.4 0-18.7.2-27.8.7 9-11.7 18.3-22.4 27.5-32zm-74 58.9c-4.9 7.7-9.8 15.6-14.4 23.7-4.6 8-8.9 16-13 24-5.4-13.4-10-26.8-13.8-39.8 13.1-3.1 26.9-5.8 41.2-7.9zm-90.5 125.2c-35.4-15.1-58.3-34.9-58.3-50.6 0-15.7 22.9-35.6 58.3-50.6 8.6-3.7 18-7 27.7-10.1 5.7 19.6 13.2 40 22.5 60.9-9.2 20.8-16.6 41.1-22.2 60.6-9.9-3.1-19.3-6.5-28-10.2zM310 490c-13.6-7.8-19.5-37.5-14.9-75.7 1.1-9.4 2.9-19.3 5.1-29.4 19.6 4.8 41 8.5 63.5 10.9 13.5 18.5 27.5 35.3 41.6 50-32.6 30.3-63.2 46.9-84 46.9-4.5-.1-8.3-1-11.3-2.7zm237.2-76.2c4.7 38.2-1.1 67.9-14.6 75.8-3 1.8-6.9 2.6-11.5 2.6-20.7 0-51.4-16.5-84-46.6 14-14.7 28-31.4 41.3-49.9 22.6-2.4 44-6.1 63.6-11 2.3 10.1 4.1 19.8 5.2 29.1zm38.5-66.7c-8.6 3.7-18 7-27.7 10.1-5.7-19.6-13.2-40-22.5-60.9 9.2-20.8 16.6-41.1 22.2-60.6 9.9 3.1 19.3 6.5 28.1 10.2 35.4 15.1 58.3 34.9 58.3 50.6-.1 15.7-23 35.6-58.4 50.6zM320.8 78.4z"/><circle cx="420.9" cy="296.5" r="45.7"/><path d="M520.5 78.1z"/></g></svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

13
src/reportWebVitals.js Normal file
View File

@ -0,0 +1,13 @@
const reportWebVitals = onPerfEntry => {
if (onPerfEntry && onPerfEntry instanceof Function) {
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
getCLS(onPerfEntry);
getFID(onPerfEntry);
getFCP(onPerfEntry);
getLCP(onPerfEntry);
getTTFB(onPerfEntry);
});
}
};
export default reportWebVitals;

5
src/setupTests.js Normal file
View File

@ -0,0 +1,5 @@
// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
import '@testing-library/jest-dom';