Skip to content

Commit

Permalink
solarbeam.io interface
Browse files Browse the repository at this point in the history
  • Loading branch information
- committed Sep 6, 2021
1 parent 4fe3139 commit 57fd935
Show file tree
Hide file tree
Showing 883 changed files with 110,224 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["next/babel"],
"plugins": ["macros", ["styled-components", { "ssr": true }]]
}
3 changes: 3 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NEXT_PUBLIC_TRANSAK_API_KEY=""
NEXT_PUBLIC_ARCHER_API_KEY=""
NEXT_PUBLIC_GOOGLE_ANALYTICS=""
7 changes: 7 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
// "extends": ["next", "next/core-web-vitals"]
"extends": ["next"],
"rules": {
"react/display-name": "off"
}
}
30 changes: 30 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# See https://help.github.com/ignore-files/ for more about ignoring files.

/node_modules

.DS_Store
.env

npm-debug.log*
yarn-debug.log*
yarn-error.log*

.vscode/
.idea/
.vercel
.next

public/sw.js
public/sw.js.map
public/workbox*.js
public/workbox*.js.map

/locale/_build/
/locale/**/*.js

/out

.env
.env.local

lokalise.yaml
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
5 changes: 5 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

yarn commitlint --edit $1
8 changes: 8 additions & 0 deletions .husky/common.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
command_exists () {
command -v "$1" >/dev/null 2>&1
}

# Workaround for Windows 10, Git Bash and Yarn
if command_exists winpty && test -t 1; then
exec < /dev/tty
fi
8 changes: 8 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"

yarn lint
yarn lint-staged
yarn lingui
# yarn test
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
14.17.4
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Ignore all CSS files:
*.css
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"endOfLine": "lf",
"printWidth": 120,
"tabWidth": 2,
"singleQuote": true,
"semi": false
}
1 change: 1 addition & 0 deletions _redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/ /exchange/swap 301
3 changes: 3 additions & 0 deletions commitlint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
extends: ['@commitlint/config-conventional']
};
13 changes: 13 additions & 0 deletions docs/CONTRIBUTION_GUIDELINES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Contribution guidelines

## Pages

Pages should be heavy, at least initially, try not to extract anything prematurely.

## Components

Components should be generic and reusable.

## Features

Features should be unique and specific.
1 change: 1 addition & 0 deletions docs/INTRODUCTION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Introduction
3 changes: 3 additions & 0 deletions docs/PROJECT_STRUCTURE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Project structure


19 changes: 19 additions & 0 deletions lingui.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
module.exports = {
catalogs: [
{
path: '<rootDir>/locale/{locale}',
include: ['<rootDir>/src'],
exclude: ['**/node_modules/**'],
},
],
compileNamespace: 'cjs',
extractBabelOptions: {},
fallbackLocales: {},
format: 'po',
sourceLocale: 'en',
locales: ['en', 'pt-BR'],
orderBy: 'messageId',
pseudoLocale: '',
rootDir: '.',
runtimeConfigModule: ['@lingui/core', 'i18n'],
}
Loading

0 comments on commit 57fd935

Please sign in to comment.