Skip to content

Commit a3a5952

Browse files
Main Files Added 0.1.0
0 parents  commit a3a5952

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+25240
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
## Used API's
2+
- https://heliopolis.libreblocks.com/tokens.json (name, symbol, supply, marketCap, staked, apy) - will be updated every 12 hours
3+
- https://heliopolis.libreblocks.com/exchange-rates.json (PBTC Price, LIBRE Price) - will be updated every 12 hours
4+
5+
## Getting Started
6+
First, run the development server:
7+
8+
```bash
9+
yarn
10+
11+
yarn dev
12+
```
13+
14+
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

dockerfile

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
2+
FROM node:latest
3+
WORKDIR /app
4+
COPY package.json yarn.lock /app/
5+
COPY public /app/public
6+
COPY src /app/src
7+
RUN yarn install
8+
COPY . /app
9+
CMD ["yarn", "dev"]

next-env.d.ts

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
/// <reference types="next" />
2+
/// <reference types="next/image-types/global" />
3+
4+
// NOTE: This file should not be edited
5+
// see https://nextjs.org/docs/basic-features/typescript for more information.

next.config.js

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
eslint: {
4+
dirs: ['src'],
5+
},
6+
7+
reactStrictMode: true,
8+
9+
async redirects() {
10+
return [
11+
{
12+
source: '/home',
13+
destination: '/',
14+
permanent: true,
15+
},
16+
];
17+
},
18+
19+
// SVGR
20+
webpack(config) {
21+
config.module.rules.push({
22+
test: /\.svg$/i,
23+
issuer: /\.[jt]sx?$/,
24+
use: [
25+
{
26+
loader: '@svgr/webpack',
27+
options: {
28+
typescript: true,
29+
removeDimensions: true,
30+
icon: true,
31+
svgoConfig: {
32+
plugins: [
33+
{
34+
name: 'removeViewBox',
35+
active: false,
36+
},
37+
],
38+
},
39+
},
40+
},
41+
],
42+
});
43+
44+
return config;
45+
},
46+
};
47+
48+
module.exports = nextConfig;

0 commit comments

Comments
 (0)