Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repo sync #8

Merged
merged 198 commits into from
Jul 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
198 commits
Select commit Hold shift + click to select a range
96c1d79
Host pre release Firefox version of the extension
cairomassimo Apr 12, 2022
e28983f
Merge pull request #51 from tallycash/host-firefox-pre-release
greg-nagy Apr 12, 2022
c918626
v0.13.1 firefox xpi
Apr 22, 2022
87e0586
Use NVM with node 14
mhluongo Jun 6, 2022
44c07c2
Replace home with the community edition page
mhluongo Jun 6, 2022
9d1f7bd
Update home page copy
mhluongo Jun 6, 2022
8d979af
Remove old community edition route & redirect to /
mhluongo Jun 6, 2022
f4ef14c
Link to more recent blog posts on the homepage
mhluongo Jun 6, 2022
7df4535
Merge pull request #53 from tallycash/all-for-one-and-one-edition-for…
henryboldi Jun 6, 2022
2f75b59
Update website to new design
cairomassimo Jun 30, 2022
4baf164
Merge pull request #55 from tallycash/update-website
Shadowfiend Jun 30, 2022
a951c5d
WIP
cairomassimo Jul 14, 2022
8f8c620
remove ff download
Jul 26, 2022
7bd2329
Merge pull request #56 from tallycash/remove-ff-download
greg-nagy Jul 26, 2022
11ce816
deploy twitter pixel
Jul 29, 2022
97a72a8
add custom twitter pixel events to download
Jul 29, 2022
673ba52
Change banner copy to Optimism coming soon
henryboldi Aug 2, 2022
33ebca6
Merge pull request #58 from tallycash/banner-text-update
greg-nagy Aug 3, 2022
f436614
Add "Arbitrum" to banner
henryboldi Aug 8, 2022
460fde9
Merge pull request #60 from tallycash/banner-update-2
greg-nagy Aug 9, 2022
8baf4c4
Implement Sign in with Discord
cairomassimo Aug 11, 2022
8841019
Update some layouts in Manifesto dApp
cairomassimo Aug 12, 2022
8d73427
Petition dApp: update layouts and visuals
cairomassimo Aug 13, 2022
dc55d54
WIP
cairomassimo Aug 14, 2022
fc6545d
WIP
cairomassimo Aug 14, 2022
bdd41b2
Fix SSR
cairomassimo Aug 15, 2022
20881aa
add barodcast helper
Aug 15, 2022
1087559
add firebase hosting + config
Aug 15, 2022
0a5da55
add discord credentials
Aug 15, 2022
b2b117d
Merge pull request #64 from tallycash/mf-dapp-fb-init
greg-nagy Aug 15, 2022
c2b6e71
add firebase to domain whitelist
Aug 15, 2022
96c7365
Merge pull request #66 from tallycash/add-firebase-to-domain-whitelist
greg-nagy Aug 15, 2022
e634c0a
Merge branch 'main' into manifesto-dapp
Aug 15, 2022
5f4db67
update signed manifesto text
Aug 15, 2022
01794a1
turn of PR deploy for now
Aug 15, 2022
57d22a1
simplify manifesto text
Aug 15, 2022
dcf35be
turn on isTally check
Aug 15, 2022
1e1acba
add final manifesto text to sign
Aug 16, 2022
b709ce6
add links directly to chrome store and sign commit
puppycodes Aug 16, 2022
1bd9b44
Merge pull request #74 from puppycodes/download-link-edit-signed
puppycodes Aug 16, 2022
43ea32f
update twitter message
Aug 17, 2022
f15811c
cta updates
Aug 17, 2022
c530680
update body text of petition
Aug 17, 2022
29e4a98
show QR code for discord login
Aug 19, 2022
74f62d9
Update manifesto plain text copy
cairomassimo Aug 20, 2022
dd7f1b0
Change color of error messages
cairomassimo Aug 20, 2022
cf50367
Small copy updates in petition dApp
cairomassimo Aug 20, 2022
5ef57ae
Change Web3 Pledge slug to `web3pledge`
cairomassimo Aug 20, 2022
07ce9ce
Fix some linting issues
cairomassimo Aug 20, 2022
84b3aa9
Update Web3 pledge meta tags and cover images
cairomassimo Aug 20, 2022
3b98c38
Show signature list in Web3 Pledge dApp
cairomassimo Aug 21, 2022
b1b4206
Update pledge copy
cairomassimo Aug 22, 2022
8cf1781
Update signing block graphic
cairomassimo Aug 22, 2022
c3d3835
add multiple projects to the setup
Aug 22, 2022
afb020c
consolidate CI
Aug 22, 2022
7119390
Merge pull request #67 from tallycash/manifesto-dapp
greg-nagy Aug 22, 2022
1e9f23a
Update Tweet copy
cairomassimo Aug 23, 2022
2179c73
Update pledge copy
cairomassimo Aug 23, 2022
7ec73a5
update siwe error msg
Aug 23, 2022
4b39e95
Web3 Pledge: implement some responsive styling
cairomassimo Aug 23, 2022
62f5e02
use window.tally instead of window.ethereum
Aug 23, 2022
5b1bc01
Merge pull request #90 from tallycash/manifesto-dapp
greg-nagy Aug 23, 2022
dfe9bfa
implement 1 address 1 discord role restriction
Aug 23, 2022
043cf33
Merge pull request #92 from tallycash/manifesto-dapp
greg-nagy Aug 23, 2022
1f8ac96
move discord role persist
Aug 23, 2022
955545a
Merge pull request #93 from tallycash/manifesto-dapp
greg-nagy Aug 23, 2022
44d9b23
Add styling of links in Web3 pledge body
cairomassimo Aug 24, 2022
d16528f
Update home page features section
cairomassimo Aug 24, 2022
38cc8b7
Add community pledge section to home page
cairomassimo Aug 24, 2022
d964a53
Wrap address in signature list on small screens
cairomassimo Aug 24, 2022
5c0a399
Temporarily hide community pledge from home page
cairomassimo Aug 24, 2022
2004e9a
Merge branch 'main' of github.com:tallycash/tally.cash into manifesto…
cairomassimo Aug 24, 2022
d1da8f1
Merge pull request #95 from tallycash/manifesto-dapp
greg-nagy Aug 24, 2022
acd6796
Revert "Temporarily hide community pledge from home page"
Aug 24, 2022
f98d1ac
Merge pull request #97 from tallycash/manifesto-dapp
jagodarybacka Aug 24, 2022
3afab40
better error handling for getUser > verifyToken
Aug 25, 2022
c91e737
workaround to handle in process account change
Aug 25, 2022
e4f4908
add account permission request for useSIWE
Aug 25, 2022
5562734
update verified domains to work with netlify preview
Aug 25, 2022
b0937bc
Merge pull request #103 from tallycash/manifesto-dapp
greg-nagy Aug 25, 2022
6d85cbf
Update download hero image
cairomassimo Aug 29, 2022
096b027
galxeImported flag
Sep 19, 2022
1417d17
add galxe synchronization
Sep 19, 2022
55610b5
add matomo dl class to all chrome store links
puppycodes Sep 21, 2022
c579fdf
Update index.tsx
VladUXUI Sep 22, 2022
8b8dca6
Update index.tsx
VladUXUI Sep 22, 2022
7cc567d
Merge pull request #107 from tallycash/Optimism-update
greg-nagy Sep 22, 2022
0fdbd7b
Merge pull request #105 from puppycodes/add-motomo-dl-class
puppycodes Sep 22, 2022
6801aa3
Merge pull request #104 from tallycash/update-download-hero
puppycodes Oct 3, 2022
07e7e63
update footer
puppycodes Oct 8, 2022
43cb6a0
little spacing tweak
puppycodes Oct 8, 2022
4a384f1
update to just use 1024px breakpoint
puppycodes Oct 8, 2022
6a227b0
Merge pull request #111 from puppycodes/add-alchemy-footer
VladUXUI Oct 10, 2022
c7d84c2
Arbitrum website updates
Oct 20, 2022
9936eb4
README tweaks
Shadowfiend Oct 23, 2022
e83b4c5
Merge pull request #114 from tallycash/arbitrum-website-updates
jagodarybacka Oct 24, 2022
460975d
Move all relevant tally.cash references to tallyho.org
Shadowfiend Oct 27, 2022
2b37faf
Merge pull request #116 from tallycash/orgify
greg-nagy Oct 28, 2022
6edf6ee
Update index.tsx
VladUXUI Nov 14, 2022
a8199c1
Update index.tsx
VladUXUI Nov 14, 2022
a5e637c
Suporter-19 (Across protocol)
VladUXUI Nov 14, 2022
2a65251
Add files via upload
VladUXUI Nov 15, 2022
4be1eee
404 Page
zuuring Nov 9, 2022
0ff9696
Merge pull request #120 from tallycash/118-no-404-page
greg-nagy Nov 24, 2022
c4c83c4
Goodbye page
zuuring Nov 8, 2022
ce6b578
Social links
zuuring Nov 8, 2022
6756cad
Center fix
zuuring Nov 8, 2022
36b73bc
Text edits
zuuring Nov 10, 2022
00c7221
Responsive fixes
zuuring Nov 10, 2022
0225006
Quick CSS edits
zuuring Nov 10, 2022
a3fd0d2
Merge pull request #119 from tallycash/goodbye-page
greg-nagy Nov 24, 2022
c9348a2
header updates
alsoknownaslj Oct 26, 2022
60c2c93
polished copy on homepage
alsoknownaslj Oct 26, 2022
0f494bc
Merge pull request #115 from tallycash/copy-updates
greg-nagy Nov 24, 2022
9828f3b
Merge pull request #121 from tallycash/Logo-Wall-update-+-Least-Auth-…
greg-nagy Nov 24, 2022
0cfd8bf
rename twitter handle in tweet
Dec 23, 2022
9c5c871
Merge pull request #125 from tallyhowallet/twitter-rename
greg-nagy Dec 23, 2022
ac9f06b
Update index.tsx
VladUXUI Jan 18, 2023
4a426d7
Merge pull request #127 from tallyhowallet/Change-Twitter-Link
Jan 18, 2023
08a1a05
updated twitter link on goodbye page to new handle
alsoknownaslj Jan 24, 2023
3070987
Updated Notion and Github links on DAO page
alsoknownaslj Jan 24, 2023
70791e2
Updated new Github URL in footer
alsoknownaslj Jan 24, 2023
a129315
Updated to new Github link on Security page
alsoknownaslj Jan 24, 2023
5a7637a
Added FAQ to footer + removed Docs
alsoknownaslj Jan 24, 2023
7b1f2d5
Added FAQ to header
alsoknownaslj Jan 24, 2023
25e9136
Merge pull request #128 from tallyhowallet/social-faq-update
jagodarybacka Jan 26, 2023
4064816
Add snapshot-strategies dir for GitHub upload
Shadowfiend Jan 30, 2023
f02165b
Added pledge signer files
alsoknownaslj Jan 30, 2023
cff9ede
Format snapshot strategy JSON compactly
Shadowfiend Jan 30, 2023
7faca37
Merge pull request #130 from tallyhowallet/snapshots
Shadowfiend Jan 30, 2023
8bc60ff
adding dummy json file
alsoknownaslj Jan 30, 2023
1df604c
Merge pull request #131 from tallyhowallet/alsoknownaslj-patch-1
Shadowfiend Jan 30, 2023
5491aaf
Adding corrected pledge sig files
alsoknownaslj Jan 31, 2023
dece5f6
Compact web3pledge5 and 6 JSON files
Shadowfiend Jan 31, 2023
76ae17b
Adding corrected pledge sig files (#132)
Shadowfiend Jan 31, 2023
d0b4806
Removed CCPA page. Fixes #134
alsoknownaslj Feb 7, 2023
124b26b
updated privacy policy
alsoknownaslj Feb 8, 2023
8635883
added privacy policy banner. fixes #135
alsoknownaslj Feb 8, 2023
ad7fc0b
Removed CCPA page. Fixes #134 (#136)
0xDaedalus Feb 10, 2023
c3bc60e
Revert "Removed CCPA page. Fixes #134"
Shadowfiend Feb 11, 2023
a260cfc
Revert "Removed CCPA page. Fixes #134" (#137)
Shadowfiend Feb 11, 2023
a32de6c
Revert "Revert "Removed CCPA page. Fixes #134""
Shadowfiend Feb 11, 2023
3f5bb10
Restore CCPA page removal and other changes (#138)
0xDaedalus Feb 13, 2023
87f2cf6
Fix issue for spacing in home page
Feb 14, 2023
2905f78
Fix issue for spacing on the home page (#140)
jagodarybacka Feb 14, 2023
2721d7d
Add a logo gif
Feb 17, 2023
876cfdc
Add a new gif (#141)
0xDaedalus Feb 17, 2023
3369fb5
Updated copy, links, and config files to Taho
alsoknownaslj Feb 21, 2023
2d8730e
Updated header logo + more copy
alsoknownaslj Feb 21, 2023
3eeafa5
Updated copy, links, and config files to Taho (#143)
Shadowfiend Feb 21, 2023
6549215
Add taho.xyz to list of allowed domains for pledge
0xDaedalus Feb 21, 2023
a3c48f9
Add taho.xyz to list of allowed domains for pledge (#146)
Shadowfiend Feb 21, 2023
d5757a1
Add DS_Store to gitignore
0xDaedalus Feb 21, 2023
d74f507
Add DS_Store to .gitignore (#147)
0xDaedalus Feb 21, 2023
3d92a7d
updated pledge signer tweet
alsoknownaslj Feb 21, 2023
998c159
Updated pledge signer tweet (#150)
0xDaedalus Feb 21, 2023
a68a0eb
Add Posthog integration to goodbye page
Shadowfiend Feb 23, 2023
844197f
Add Posthog integration to goodbye page (#152)
0xDaedalus Feb 23, 2023
972f749
updated homepage images and github links
alsoknownaslj Feb 23, 2023
533e8ba
updated homepage images and github links (#153)
Shadowfiend Feb 23, 2023
b08d0d9
Update logo on goodbye screen
jagodarybacka Feb 24, 2023
a7f39dd
Update logo on goodbye screen (#154)
Shadowfiend Feb 24, 2023
df85485
updated metadata and image on download page
alsoknownaslj Feb 24, 2023
cdaf14d
Styling tweaks for the summary section
Feb 28, 2023
dd667b1
Increase `font-weight` for strong elements in `Legal` component
Feb 28, 2023
fdb5411
Use the hunter green color for strong elements
Feb 28, 2023
c5d9989
Add a more spacing between bullet point
Mar 1, 2023
ba1f71a
Fix chat.taho.org reference
Shadowfiend Mar 1, 2023
803a239
Add a segment-bold font for privacy policy
Mar 2, 2023
21f73be
Styling tweaks on privacy policy (#157)
jagodarybacka Mar 3, 2023
60e2c5f
Added title to goodbye page. Fixes #158
alsoknownaslj Mar 9, 2023
b3f28d7
Updated Goodbye page copy.
alsoknownaslj Mar 9, 2023
9ca46af
Added comma to signature count. Fixes #108
alsoknownaslj Mar 9, 2023
10299c0
Update src/shared/seo.tsx
alsoknownaslj Mar 10, 2023
24f29f0
updated site metadata and image on download page (#155)
Shadowfiend Mar 10, 2023
a2b8079
Goodbye updates (#159)
jagodarybacka Mar 13, 2023
eb4c7d8
Added comma to signature count. Fixes #108 (#161)
alsoknownaslj Mar 13, 2023
77aa638
Add a Typeform to uninstall page
Mar 14, 2023
8908044
Styles updates for goodbye page
Mar 15, 2023
40c9929
Remove options from typeform widget
Mar 15, 2023
33abe0e
Change size for typeform
Mar 15, 2023
7f626f0
Updates for page uninstall styles
Apr 3, 2023
dec6921
Uninstall page (#163)
jagodarybacka Apr 7, 2023
d02bed3
Add `padding-bottom` for social icons
Apr 10, 2023
312409d
Remove the unnecessary code
Apr 10, 2023
190d16f
Fix spacing for goodbye page (#169)
jagodarybacka Apr 10, 2023
6cc1aea
Fix links that were using old name instead of Taho
jagodarybacka May 4, 2023
61bf493
Fix link in gatsby-config
jagodarybacka May 4, 2023
2765e15
Fix links that were using old name instead of Taho (#172)
hyphenized May 8, 2023
14bf189
Update coming soon section
jagodarybacka May 9, 2023
29a091a
Update "Coming soon" section (#174)
May 9, 2023
e8e3160
Add shared eslint/prettier configs
hyphenized Jul 10, 2023
acb5508
Add `baseUrl` to `.tsconfig.json` to fix imports
jagodarybacka Jul 11, 2023
b3ece53
Disable `noImplicitOverride`
jagodarybacka Jul 11, 2023
6a72f6b
Add types for `react-helmet` package
jagodarybacka Jul 11, 2023
3a76e18
Fix ts error in `ClaimDiscordRole` component
jagodarybacka Jul 11, 2023
a1478e6
Format codebase while ignoring static json files
jagodarybacka Jul 11, 2023
2dbe98a
Bump typescript version
hyphenized Jul 12, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Binary file added .DS_Store
Binary file not shown.
13 changes: 13 additions & 0 deletions .env.dev
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://www.gatsbyjs.com/docs/how-to/local-development/environment-variables/
# We need GATSBY_ prefix for the variable to be available for the front-end code

GATSBY_USE_FIREBASE_EMULATOR="false"

GATSBY_FIREBASE_API_KEY="AIzaSyDPjFWHXWMEVHL7Bf-AMWLQVSJCWpB_S2k"
GATSBY_FIREBASE_AUTH_DOMAIN="tally-dev-0.firebaseapp.com"
GATSBY_FIREBASE_PROJECT_ID="tally-dev-0"
GATSBY_FIREBASE_STORAGE_BUCKET="tally-dev-0.appspot.com"
GATSBY_FIREBASE_MESSAGING_SENDER_ID="923152079345"
GATSBY_FIREBASE_APP_I="1:923152079345:web:3ed820b6f8f36026848c50"

GATSBY_DISCORD_APP_ID="1008427467918295044"
13 changes: 13 additions & 0 deletions .env.prd
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://www.gatsbyjs.com/docs/how-to/local-development/environment-variables/
# We need GATSBY_ prefix for the variable to be available for the front-end code

GATSBY_USE_FIREBASE_EMULATOR="false"

GATSBY_FIREBASE_API_KEY="AIzaSyAa78OwfLesUAW8hdzbhUkc5U8LSVH3y7s"
GATSBY_FIREBASE_AUTH_DOMAIN="tally-prd.firebaseapp.com"
GATSBY_FIREBASE_PROJECT_ID="tally-prd"
GATSBY_FIREBASE_STORAGE_BUCKET="tally-prd.appspot.com"
GATSBY_FIREBASE_MESSAGING_SENDER_ID="567502050788"
GATSBY_FIREBASE_APP_I="1:567502050788:web:17610f22d27b6caed363f1"

GATSBY_DISCORD_APP_ID="1008427467918295044"
13 changes: 13 additions & 0 deletions .env.stg
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# https://www.gatsbyjs.com/docs/how-to/local-development/environment-variables/
# We need GATSBY_ prefix for the variable to be available for the front-end code

GATSBY_USE_FIREBASE_EMULATOR="false"

GATSBY_FIREBASE_API_KEY="AIzaSyDLTwPM6GVJjr88jV8wpALgqwMpVod1p84"
GATSBY_FIREBASE_AUTH_DOMAIN="tally-stg.firebaseapp.com"
GATSBY_FIREBASE_PROJECT_ID="tally-stg"
GATSBY_FIREBASE_STORAGE_BUCKET="tally-stg.appspot.com"
GATSBY_FIREBASE_MESSAGING_SENDER_ID="110043097074"
GATSBY_FIREBASE_APP_I="1:110043097074:web:48cfac48940f26cc912d6b"

GATSBY_DISCORD_APP_ID="1008427467918295044"
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
root: true,
extends: ["@thesis-co"],
env: {
browser: true,
},
};
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "tally-dev-0"
}
}
75 changes: 15 additions & 60 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
# Static site build
public/

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
Expand All @@ -23,12 +16,11 @@ lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
Expand All @@ -37,78 +29,41 @@ bower_components
# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
# Typescript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next
# dotenv environment variable files
.env*

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
# gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/
public

# DynamoDB Local files
.dynamodb/
# Mac files
.DS_Store

# TernJS port file
.tern-port

# Netlify local directory
.netlify
.history/**

# Linaria cache
.linaria-cache
# Yarn
yarn-error.log
.pnp/
.pnp.js
# Yarn Integrity file
.yarn-integrity
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v14.15.3
25 changes: 25 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
repos:
- repo: local
hooks:
- id: lint-js
name: "lint typescript and javascript"
entry: /usr/bin/env npx eslint
files: '\.jsx?$|\.tsx?$'
language: script
description: "Checks JS/TS code according to the package's linter configuration"
- repo: local
hooks:
- id: lint-config
name: "lint config files"
entry: /usr/bin/env npx prettier -c
files: '\.json$|\.yaml$|\.toml$|\.yml$'
language: script
description: "Checks config files according to the package's linter configuration"
- repo: local
hooks:
- id: lint-docs
name: "lint documentation files"
entry: /usr/bin/env npx prettier -c
files: '\.md$'
language: script
description: "Checks documentation files according to the package's linter configuration"
5 changes: 5 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.cache
package.json
package-lock.json
public
/static/**/*.json
5 changes: 5 additions & 0 deletions .tsconfig-eslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": [".eslintrc.js", "**/*.js", "**/*.ts", "**/*.tsx"],
"exclude": ["node_modules"]
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# tally.cash
# taho.xyz

The primary website for Tally Ho, the community-owned Web3 wallet.
The primary website for Taho, the community-owned web3 wallet.

## Local development

Expand Down
4 changes: 4 additions & 0 deletions env.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
interface Window {
twttr: any;
posthog: any;
}
12 changes: 12 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"hosting": {
"public": "public",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
}
}
2 changes: 1 addition & 1 deletion gatsby-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
*/

// You can delete this file if you're not using it
import "./static/fonts.css";
import "shared/styles/global-styles";
34 changes: 28 additions & 6 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
require("dotenv").config({
path: `.env.${process.env.TARGET_ENV ?? "dev"}`,
});

module.exports = {
siteMetadata: {
title: `Tally Ho — The community owned & operated wallet`,
title: `Taho — The community owned & operated wallet`,
description: ``,
image: `https://tally.cash/Tally-Web3-Wallet-website.png`, // Twitter wants an absolute rather than relative url.
image: `https://taho.xyz/cover.png`, // Twitter wants an absolute rather than relative url.
author: `@thesis_co`,
},
plugins: [
Expand All @@ -12,13 +16,13 @@ module.exports = {
{
resolve: `gatsby-plugin-manifest`,
options: {
name: `Tally Ho — The community owned & operated wallet`,
short_name: `Tally Ho`,
name: `Taho — The community owned & operated wallet`,
short_name: `Taho`,
start_url: `/`,
background_color: `#fbf9f2`,
theme_color: `#fbf9f2`,
display: `minimal-ui`,
icon: `src/common/favicon.svg`, // This path is relative to the root of the site.
icon: `src/shared/favicon.svg`, // This path is relative to the root of the site.
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
Expand All @@ -32,7 +36,25 @@ module.exports = {
options: {
siteId: "1",
matomoUrl: "https://tallycash.matomo.cloud",
siteUrl: "https://tally.cash",
siteUrl: "https://tallyho.org",
},
},
{
resolve: `gatsby-plugin-twitter-pixel`,
options: {
pixelId: "o9kgt",
},
},
{
resolve: `gatsby-plugin-posthog`,
options: {
apiKey: "phc_VzveyNxrn2xyiKDYn7XjrgaqELGeUilDZGiBVh6jNmh",
initOptions: {
persistence: "localStorage",
autocapture: false,
capture_pageview: false,
disable_session_recording: true,
},
},
},
],
Expand Down
19 changes: 17 additions & 2 deletions gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,26 @@

const path = require("path");

// https://www.gatsbyjs.com/docs/how-to/custom-configuration/add-custom-webpack-config/#absolute-imports
exports.onCreateWebpackConfig = ({ actions }) => {
exports.onCreateWebpackConfig = ({ actions, stage, loaders }) => {
// https://www.gatsbyjs.com/docs/how-to/custom-configuration/add-custom-webpack-config/#absolute-imports
actions.setWebpackConfig({
resolve: {
modules: [path.resolve(__dirname, "src"), "node_modules"],
},
});

// https://github.com/gatsbyjs/gatsby/issues/29012#issuecomment-817185831
// https://www.gatsbyjs.com/docs/debugging-html-builds/#fixing-third-party-modules
if (stage === "build-html" || stage === "develop-html") {
actions.setWebpackConfig({
module: {
rules: [
{
test: /firebase/,
use: loaders.null(),
},
],
},
});
}
};
9 changes: 9 additions & 0 deletions manifesto-dapp-backend/.firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"projects": {
"dev": "tally-dev-0",
"prd": "tally-prd",
"stg": "tally-stg"
},
"targets": {},
"etags": {}
}
Loading