Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
f19f27a
Add gatsby and tailwindcss
dohaki Aug 12, 2021
455b4d7
[WIP] Add home page
dohaki Aug 13, 2021
a192831
Add home page
dohaki Aug 16, 2021
82f2c04
Change folder structure for home components
dohaki Aug 16, 2021
c4925ee
Add protocol page
dohaki Aug 17, 2021
4029904
Change folder structure
dohaki Aug 17, 2021
a14e636
[WIP] Add auciton page
dohaki Aug 18, 2021
308d931
Fix auction chart
dohaki Aug 18, 2021
6b4dcfd
Update protocol page styles
nekhaly Sep 7, 2021
c1ae980
Update Auction page styles and add terms section
nekhaly Sep 7, 2021
95a5c8d
Update Home page styles
nekhaly Sep 7, 2021
5ec3ba3
Add missed common button component
nekhaly Sep 7, 2021
4eac3f7
Add Contact Us screen
nekhaly Sep 8, 2021
d8f1d62
Add contact screen logic
nekhaly Sep 9, 2021
9f0924f
Adjust common style configuration
nekhaly Sep 20, 2021
fc0a4fc
Update code fo Webpack5 supprot
nekhaly Sep 20, 2021
fe1c03c
Add common dynamic code
nekhaly Sep 20, 2021
0eaa3a9
Update auction screen style
nekhaly Sep 20, 2021
0a7ce2a
Add MerkleDrop screen
nekhaly Sep 20, 2021
10034b8
Change common styles and add more icons
nekhaly Sep 21, 2021
c8e5634
Add Grants page
nekhaly Sep 21, 2021
d60adbd
Fix style in grant apply box
nekhaly Sep 21, 2021
af6db2c
Adjust video size for different screen sizes
nekhaly Sep 21, 2021
10f53a7
Integrate Merkle drop claiming code
nekhaly Sep 22, 2021
9803e36
Add auction withdraw bid code in action
nekhaly Sep 22, 2021
5797fca
Allow newsletter signup in contact form
nekhaly Sep 22, 2021
faa0a5f
Add navbar to menu in mobile
nekhaly Sep 23, 2021
42dbe70
Adjust home screen for mobile
nekhaly Sep 24, 2021
dc7e2a9
Adjust Protocol screen mobile view
nekhaly Sep 24, 2021
2c2aff5
Adjust Auction screen for mobile screen size
nekhaly Sep 24, 2021
20f247c
Add more adjustments to auction mobile
nekhaly Sep 24, 2021
3a79de1
Adjust footer style in mobile size
nekhaly Sep 27, 2021
f40ed43
Adjust Merkle Drop screen for mobile size
nekhaly Sep 27, 2021
c03826f
Add privacy policy screen
nekhaly Sep 28, 2021
7f11210
Adjust Grants screen for mobile screen size
nekhaly Sep 28, 2021
df2ced1
Adjust Contact screen for mobile screen
nekhaly Sep 28, 2021
3c084de
Fix gaps in social links component
nekhaly Sep 28, 2021
8f73a00
Add external urls
nekhaly Sep 29, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENABLE_AUCTION_PARTICIPATION=true
AUCTION_START_TIMESTAMP=1614686400

# The auction API base URL
AUCTION_API_URL=https://backend.auction.tlbc.trustlines.foundation/auction-summary
AUCTION_API_URL=auction-summary.json

# The auction address that's rendered into the auction page
AUCTION_ADDRESS=0xCDB34843978684f8DD39B3eDE59e73Bf49d3FBf4
Expand All @@ -19,5 +19,15 @@ REACT_APP_EXPLORER_URL=https://etherscan.io/
REACT_APP_CHAIN_ID=1
REACT_APP_MERKLE_DROP_ADDRESS=0x0A6f0C541Be542c098B7Ee03C9C634f20BCf8422

# Number of decimal places of the Token. Will be 18 most of the time.
REACT_APP_TOKEN_DECIMALS=18

# Number of decimal places to show to the user. The Value will be rounded.
REACT_APP_SHOW_DECIMALS=2

# Configure newsletter subscription
REACT_APP_MAILCHIMP_URL=https://foundation.us20.list-manage.com/subscribe/post?u=ad97861a3786f82a87c0c7417&id=7125095980

# GATSBY
[email protected]
GATSBY_FORM_POST_URL=https://europe-west1-trustlines-network.cloudfunctions.net/websiteContact
6 changes: 6 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,9 @@ REACT_APP_CONFIRMATIONS=1

# Mailchimp URL to register subscribers based on their signup forms
REACT_APP_MAILCHIMP_URL=https://<NAME>.<DC>.list.manage.com/subscribe/post?u=<TOKEN>&amp;id=<LIST-ID>

# Conatct email
[email protected]

# Contact message sending service URL
GATSBY_FORM_POST_URL=https://europe-west1-trustlines-network.cloudfunctions.net/websiteContact
4 changes: 4 additions & 0 deletions .env.production
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,7 @@ REACT_APP_MERKLE_DROP_ADDRESS=0x0A6f0C541Be542c098B7Ee03C9C634f20BCf8422

# Configure newsletter subscription
REACT_APP_MAILCHIMP_URL=https://foundation.us20.list-manage.com/subscribe/post?u=ad97861a3786f82a87c0c7417&amp;id=7125095980

# GATSBY
[email protected]
GATSBY_FORM_POST_URL=https://europe-west1-trustlines-network.cloudfunctions.net/websiteContact
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,6 @@ dist/

yarn-error.log
.DS_Store

public
.cache
3 changes: 1 addition & 2 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"trailingComma": "es5",
"semi": false,
"trailingComma": "es5"
}
1 change: 1 addition & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "./src/styles/global.css";
3 changes: 3 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
plugins: ["gatsby-plugin-postcss", "gatsby-plugin-react-helmet"],
};
21 changes: 21 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
exports.onCreateWebpackConfig = ({ actions, plugins }) => {
actions.setWebpackConfig({
resolve: {
fallback: {
crypto: require.resolve("crypto-browserify"),
stream: require.resolve("stream-browserify"),
vm: require.resolve("vm-browserify"),
http: require.resolve("stream-http"),
https: require.resolve("https-browserify"),
os: require.resolve("os-browserify/browser"),
scrypt: require.resolve("scrypt-js"),
},
},
plugins: [
plugins.provide({
Buffer: ["buffer/", "Buffer"],
process: "process/browser",
}),
],
});
};
24 changes: 18 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@
"html-minifier": "^4.0.0",
"husky": "^3.0.2",
"livereload": "^0.8.0",
"mathjs": "^7.0.0",
"moment-timezone": "^0.5.26",
"node-sass": "^4.13.1",
"nunjucks-cli": "^1.0.0",
"prettier": "^1.18.2",
"react": "^16.8.6",
"react": "^17.0.2",
"react-app-polyfill": "^1.0.1",
"react-dev-utils": "^9.0.1",
"react-dom": "^16.8.6",
"react-dom": "^17.0.2",
"react-notify-toast": "^0.5.0",
"serve": "^11.1.0",
"web3": "2.0.0-alpha.1",
"webpack": "^4.39.1",
"webpack-cli": "^3.3.6",
"webpack-merge": "^4.2.1",
"mathjs": "^7.0.0"
"webpack-merge": "^4.2.1"
},
"scripts": {
"docker-preview": "yarn run build-preview && docker build . -t preview.trustlines.foundation",
Expand All @@ -73,12 +73,24 @@
"format": "eslint ./src/**/*.js ./webpack.*.js --fix",
"prettier:big-tabs": "prettier --write --print-width 120 --no-semi --single-quote --tab-width 4 './src/**/*.js'",
"lint": "eslint ./src/**/*.js",
"deploy": "WHOAMI= yarn run build && gh-pages --dist dist --branch gh-pages -m 'Auto commit updates [ci skip]'"
"deploy": "WHOAMI= yarn run build && gh-pages --dist dist --branch gh-pages -m 'Auto commit updates [ci skip]'",
"start": "gatsby develop"
},
"husky": {
"hooks": {
"pre-commit": "npm run lint"
}
},
"dependencies": {}
"dependencies": {
"autoprefixer": "^10.3.1",
"chart.js": "2.8.0",
"gatsby": "^3.11.1",
"gatsby-plugin-postcss": "^4.11.0",
"gatsby-plugin-react-helmet": "^4.11.0",
"jquery": "^3.6.0",
"postcss": "^8.3.6",
"react-helmet": "^6.1.0",
"react-youtube": "^7.13.1",
"tailwindcss": "^2.2.7"
}
}
3 changes: 3 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = () => ({
plugins: [require("tailwindcss")],
});
Loading