-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EthColombia site with status round data
- Loading branch information
Showing
186 changed files
with
14,044 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Ethereum Mainnet provider (used for ENS lookups) | ||
VITE_ETHEREUM_MAINNET_API_URL= | ||
|
||
# IPFS gateway for loading project logos | ||
VITE_IPFS_GATEWAY_URL=https://ipfs.io |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* eslint-env node */ | ||
require('@rushstack/eslint-patch/modern-module-resolution') | ||
|
||
module.exports = { | ||
root: true, | ||
extends: [ | ||
'plugin:vue/vue3-essential', | ||
'eslint:recommended', | ||
'@vue/eslint-config-typescript', | ||
'@vue/eslint-config-prettier', | ||
], | ||
parserOptions: { | ||
ecmaVersion: 'latest', | ||
}, | ||
rules: { | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
'@typescript-eslint/ban-ts-ignore': 'off', | ||
'@typescript-eslint/camelcase': 'off', | ||
'@typescript-eslint/no-undef': 'off', | ||
'@typescript-eslint/no-var-requires': 'off', | ||
'@typescript-eslint/no-use-before-define': ['error', { functions: false }], | ||
'vue/script-setup-uses-vars': 'error', | ||
}, | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Build and deploy | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
|
||
env: | ||
NODE_VERSION: 16.x | ||
|
||
jobs: | ||
|
||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
CI: true | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Install, build | ||
run: | | ||
yarn install --frozen-lockfile | ||
yarn build | ||
- name: Cache build | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./* | ||
key: ${{ github.sha }} | ||
|
||
deploy-website: | ||
needs: [build] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Use Node.js ${{ env.NODE_VERSION }} | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: ${{ env.NODE_VERSION }} | ||
- name: Restore build cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: ./* | ||
key: ${{ github.sha }} | ||
- name: Push to gh-pages | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./dist |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
|
||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
.env |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"printWidth": 80, | ||
"tabWidth": 2, | ||
"useTabs": false, | ||
"semi": false, | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,35 @@ | ||
# ethcolombia | ||
QF @ Devcon for the LatAm Community! | ||
# EthColombia | ||
|
||
This is a static site for the EthColombia CLRfund round. The round data is stored in the `src/rounds` folder. The data were extracted using the `fetch-round` hardhat task in the contract folder of the `monorepo` repository. | ||
|
||
This can be used as a template for any rounds that are finalized. The site does not have connection to smart contracts (other than resolving ENS names) or the subgrapth. | ||
|
||
The `deploy` github action will deploy the site to the github pages on push to the `main` branch. | ||
|
||
# Development | ||
|
||
### Install Node with nvm | ||
|
||
```sh | ||
nvm install 16 | ||
nvm use 16 | ||
``` | ||
|
||
### Install the dependencies | ||
|
||
```sh | ||
yarn | ||
``` | ||
|
||
### Setup env | ||
|
||
```sh | ||
cp .env.example .env # adjust if necessary | ||
``` | ||
|
||
## Start the web app in development mode (hot-code reloading, error reporting, etc.) | ||
|
||
```sh | ||
yarn dev | ||
``` | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/// <reference types="vite/client" /> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<link rel="icon" href="/favicon.ico"> | ||
<meta name="description" content="Permissionless quadratic funding for public goods"> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>clr.fund</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
{ | ||
"name": "ethcolombia", | ||
"homepage": "https://clrfund.github.io/ethcolombia", | ||
"version": "1.0.0", | ||
"private": true, | ||
"license": "GPL-3.0", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "run-p type-check build-only", | ||
"preview": "vite preview", | ||
"build-only": "vite build", | ||
"type-check": "vue-tsc --noEmit", | ||
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", | ||
"check-i18n": "vue-i18n-extract report --vueFiles 'src/**/*.?(vue)' --languageFiles 'src/locales/*.?(json)' --exclude dynamic" | ||
}, | ||
"dependencies": { | ||
"@openfonts/inter_all": "^1.0.2", | ||
"ethers": "^5.7.2", | ||
"floating-vue": "^2.0.0-beta.20", | ||
"luxon": "^3.2.1", | ||
"markdown-it": "^13.0.1", | ||
"markdown-it-link-attributes": "^4.0.1", | ||
"pinia": "^2.0.28", | ||
"vue": "^3.2.45", | ||
"vue-i18n": "^9.2.2", | ||
"vue-meta": "3.0.0-alpha.7", | ||
"vue-router": "^4.1.6" | ||
}, | ||
"devDependencies": { | ||
"@rollup/plugin-inject": "^5.0.3", | ||
"@rushstack/eslint-patch": "^1.1.4", | ||
"@types/luxon": "^3.2.0", | ||
"@types/markdown-it": "^12.2.3", | ||
"@types/markdown-it-link-attributes": "^3.0.1", | ||
"@types/node": "^18.11.12", | ||
"@vitejs/plugin-vue": "^4.0.0", | ||
"@vue/eslint-config-prettier": "^7.0.0", | ||
"@vue/eslint-config-typescript": "^11.0.0", | ||
"@vue/tsconfig": "^0.1.3", | ||
"eslint": "^8.22.0", | ||
"eslint-plugin-vue": "^9.3.0", | ||
"node-stdlib-browser": "^1.2.0", | ||
"npm-run-all": "^4.1.5", | ||
"prettier": "^2.7.1", | ||
"sass": "^1.57.1", | ||
"sass-loader": "^13.2.0", | ||
"typescript": "~4.7.4", | ||
"vite": "^4.0.0", | ||
"vue-i18n-extract": "^2.0.7", | ||
"vue-tsc": "^1.0.12" | ||
} | ||
} |
Binary file not shown.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
User-agent: * | ||
Disallow: |
Oops, something went wrong.