Skip to content

Commit

Permalink
impr(webapp): tailwindcss accent colours + landing hero accent colour…
Browse files Browse the repository at this point in the history
… upt (#353)

* chore: add @types/uuid

* chore: add @types/uuid

* fix(app-lib): tsconfig pkg extends

* fix: missing encoding dep

* feat: sitemap (#290)

* feat: add sitemap

* fix: error handling

* fix: move common types

* fix: update base url in sitemap

* Update apps/webapp/app/(routes)/[lang]/blog/[category]/sitemap.ts

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Update apps/webapp/app/(routes)/[lang]/wallet/sitemap.ts

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Update apps/webapp/app/(routes)/[lang]/whitepaper/sitemap.ts

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* fix: build error

* fix: remove unnecessary async declarative

* vendor: add @types/uuid

* fix: remove console log for debug

* fix: add 'async' to all sitemaps

* fix: make ProjectPageParams extends CommonPageParams

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* fix(webapp): UI/UX tweaks and upts from final v1 landing designs (#291)

* (webapp)fix:FAQ border radi + muted color

* (webapp)fix:newsletter spacing

* (webapp)fix:participate spacing and font family

* (webapp)fix:header spacing + bitlauncher logo size

* (webapp)fix:blog section 4 per row + purple link + gap

* (webapp)fix:hero-card spacing

* (webapp)fix:auction-card spaces

* (webapp)fix:Upcoming grid gap

* (webapp)fix:article card - text-left

* (webapp)fix:media-card text-start

* (webapp)fix:media-section purple link + space

* (webapp)fix:participate gap + section font and padding

* (webapp)fix:footer links padding + other spacing fix

* (webapp)fix:upcoming background circle

* (webapp)fix:footer margin-10

* (webapp)fix:upcoming bg shape

* (webapp)-andler-changes-request

* (webapp)-debug-toggle navigation icon

* (webapp)-create-mobile-navigation-context

* (webapp)-create-mobile-navigation-context

* (webapp)-fix navigation bug - add key

* (webapp)-Andler-changes

* (webapp)-responsive - upcoming

* (webapp)-fix-responsive-whychooseUs

* (webapp)-fix-responsive-participate

* (webapp)-fix-responsive-media

* (webapp)-fix-responsive-articles

* (webapp)-responsive-project-header+info+sharebtn

* (webapp)-feat-about-base

* (webapp)-feat-about-landing-complete

* (webapp)-feat-security-updated

* (webapp)-fix-steps-padding

* fix typo

* fix bgHeader type

* fix bgHeader type

* impr(webapp): layout tweaks

* impr(webapp): info pages img asset + css class

* fix: bun.lockb

---------

Co-authored-by: Roberto Lucas <[email protected]>

* feat: multichain indexer ( part 1 ) (#293)

* chore: update app-contracts

* feat: multichain indexer

* feat: prod chains

* feat: presale wallet

* feat: blpl token

* feat: blpl token

* chore: update bunlock

* feat: blpl token

* feat: presale evm contribs

* feat: blpl token

* wip: presale indexer

* chore(indexer): fix dockerfile

* feat: presale transaction indexing (#296)

* feat: report transaction id

* feat: save deposits data

* feat: save deposits data

* feat: read presale transactions

* chore: disable view all

* feat: update presale deposits ui

* feat: display amount raised and contributors

* chore: environment chains and tokens

* fix(webapp): desktop padding (#297)

* feat: multichain presale deposits (#298)

* chore: environment chains and tokens

* fix: chain switch

* fix: chain switch

* feat: update nav links (#299)

* chore: environment chains and tokens

* feat: update nav links

* chore: renable swaps service, index token from latest block

* feat(webapp): wallet ui updates (#300)

* fix: wagmi config

* feat(webapp): presale contribution report

* feat: realtime presale data

* feat: realtime presale data

* feat: update dropdown menu

* feat(supabase): update schema and types

* chore: debug presale token issuance

* feat: show issuance trx link on table

* impr(webapp): upt mob ver of more info cards (#294)

* styles: update mobile version for information cards of home page

* styles: use tailwind css variables

* styles: add font family futura pt

* styles, config: add cornflowerblue variables on tailwind config and update information cards' background

* config: update font importation

* chore: replace BC with BL

* chore: replace bc files with bl files

* chore: replace bc files with bl files

---------

Co-authored-by: Roberto Lucas <[email protected]>

* impr(webapp): upt mob ver of more info cards (#294) (#305)

* styles: update mobile version for information cards of home page

* styles: use tailwind css variables

* styles: add font family futura pt

* styles, config: add cornflowerblue variables on tailwind config and update information cards' background

* config: update font importation

* chore: replace BC with BL

* chore: replace bc files with bl files

* chore: replace bc files with bl files

---------

Co-authored-by: Leandro Gavidia Santamaria <[email protected]>

* fix(impr): verify font-style and text wording across landing (#309)

* fix(impr): verify font-style across landing

* fix(webapp): lufga bold font config

* fix(webapp): investor wording to contributor on texts

* fix(webapp): investors wording to contributors on texts (plural)

* chore(webapp): text, invest wording upt to contribute

* config: add multibase custom hook (#310)

* config: add multibase custom hook

* chore: update multibase hook and session hook

* chore: change inverted params

* impr(fix): multibase init call

---------

Co-authored-by: Roberto Lucas <[email protected]>

* feat: referral section ui - ver 0.1a (#311)

* chore(webapp): update gitignore

* chore: update cursor agent rules

* fix: action example on cursor rules

* fix: action example on cursor rules

* fix: action example on cursor rules

* feat(webapp): use dynamic loading in homepage (#313)

* feat: token issuance with trigger.dev and alchemy hooks - part 1 (#312)

* feat: alchemy transfer hooks

* feat(trigger): listen token transfers

* feat(app-lib): add pino logger

* feat(trigger): address activity handler

* feat(indexer): security updates and alchemy proxy

* fix(webapp): logger bug

* chore(indexer): sentry middleware and app config

* chore(indexer): cleanup

* chore: update bunlock

* docs: update readme

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* feat(indexer): trigger address activity job (#316)

* impr(webapp): check short link gen (#301)

* fix(webapp): desktop padding

* wip(imp): check user share link

* fix(webapp): error var name scope

* chore: updating supabase schema & types

* feat(webapp): user table short link + session upsert

* chore: use biome 🚀 (#317)

* chore: use biome

* chore: use biome

* chore(indexer): verify call with alchemy signing key (#318)

* devops(indexer): update dockerfile

* chore(indexer): cleanup

* chore: update gitignore

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* fix(trigger): install right trigger.dev dep

* chore: august 2nd release [at TEST]  (#315)

* impr(webapp): upt mob ver of more info cards (#294)

* styles: update mobile version for information cards of home page

* styles: use tailwind css variables

* styles: add font family futura pt

* styles, config: add cornflowerblue variables on tailwind config and update information cards' background

* config: update font importation

* chore: replace BC with BL

* chore: replace bc files with bl files

* chore: replace bc files with bl files

---------

Co-authored-by: Roberto Lucas <[email protected]>

* fix(impr): verify font-style and text wording across landing (#309)

* fix(impr): verify font-style across landing

* fix(webapp): lufga bold font config

* fix(webapp): investor wording to contributor on texts

* fix(webapp): investors wording to contributors on texts (plural)

* chore(webapp): text, invest wording upt to contribute

* config: add multibase custom hook (#310)

* config: add multibase custom hook

* chore: update multibase hook and session hook

* chore: change inverted params

* impr(fix): multibase init call

---------

Co-authored-by: Roberto Lucas <[email protected]>

* feat: referral section ui - ver 0.1a (#311)

* chore(webapp): update gitignore

* chore: update cursor agent rules

* fix: action example on cursor rules

* fix: action example on cursor rules

* fix: action example on cursor rules

* feat(webapp): use dynamic loading in homepage (#313)

* feat: token issuance with trigger.dev and alchemy hooks - part 1 (#312)

* feat: alchemy transfer hooks

* feat(trigger): listen token transfers

* feat(app-lib): add pino logger

* feat(trigger): address activity handler

* feat(indexer): security updates and alchemy proxy

* fix(webapp): logger bug

* chore(indexer): sentry middleware and app config

* chore(indexer): cleanup

* chore: update bunlock

* docs: update readme

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* feat(indexer): trigger address activity job (#316)

* impr(webapp): check short link gen (#301)

* fix(webapp): desktop padding

* wip(imp): check user share link

* fix(webapp): error var name scope

* chore: updating supabase schema & types

* feat(webapp): user table short link + session upsert

* chore: use biome 🚀 (#317)

* chore: use biome

* chore: use biome

* chore(indexer): verify call with alchemy signing key (#318)

* devops(indexer): update dockerfile

* chore(indexer): cleanup

* chore: update gitignore

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* fix(trigger): install right trigger.dev dep

---------

Co-authored-by: Leandro Gavidia Santamaria <[email protected]>
Co-authored-by: Gabo Esquivel <[email protected]>
Co-authored-by: Gabo Esquivel <[email protected]>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* fix: merge typo

* fix: tailwind font config

* fix(indexer): trust proxy

* feat: token issuance trigger part 2 (#321)

* chore(alchemy): use gcloud endpoint

* docs(alchemy): update readme file

* docs(indexer): update readme file

* debug(indexer): gcloud automated deployment

* chore(alchemy): env values validation

* chore(indexer): improve logging

* chore(indexer): improve logging

* chore(indexer): stringify all logs

* debug(indexer): disable alchemy signature validation

* debug(indexer): disable alchemy signature validation

* chore(indexer): validate env and use trigger secret

* debug(faucet): save dist/ empty folder in git

* chore: update deps

* chore: improve env validations

* fix(alchemy): wrong import

* chore(indexer): improve logging

* debug(indexer): alchemy webhook handler

* debug(indexer): disable helmet

* debug(indexer): alchemy hook handler

* debug(indexer): alchemy hook handler

* debug(indexer): alchemy hook handler

* debug(indexer): alchemy hook handler

* feat(indexer): alchemy signature middleware

* feat(indexer): validate alchemy signature

* chore(indexer): security improvements (#323)

* chore(indexer): disable alchemy validation

* feat: presale token issuance part 3 (#325)

* chore(alchemy): export types

* chore(indexer): log process event id

* chore(indexer): log process event id

* chore: prod network conig, validate networks

* wip(indexer): validate before triggering

* chore: add try catch

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: clean up

* devops(indexer): update dockerfile

* chore: format code

* devops: remove lhci reports

* fix(indexer): wrong import

* feat(trigger): transfer blpl token (#327)

* feat(trigger): transfer blpl token

* docs(trigger): token issuance jsdocs

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* devops(indexer): update dockerfile

* chore: remove type:module (#329)

* chore: remove type:module

* chore: remove type:module

* devops(indexer): test deployment

* devops(indexer): test deployment

* chore(supabase): use module

* feat(trigger): presale token issuance

* chore: format

* chore: use type:module for monorepo

* impr(webapp): add multibase provider (#326)

* config: create multibase provider

* chore: update multibase env variable

* impr(webapp): UI Update (#314)

* (wepapp)impr:landing distribution + filenames

* (wepapp)impr:auction card badge

* (wepapp)impr:steps pading + new text-size

* (wepapp)impr:text-size

* (wepapp)impr:refactored about us section

* (wepapp)impr:new tittles learning section

* (wepapp)impr:security section

* (wepapp)impr:tittle style and fonts

* (wepapp)impr:responsive impr

* fix:about section text-18 instead of text-sm

* fix:security responsive

* fix:hero padding

* fix:Final Mobil Tweaks

* impr(webapp): landing heros + mob-nav spacing

* impr(webapp): landing learn section updated blog links

* fix(webapp): info text foreground color

* impr(webapp): landing responsiveness

* imp(webapp): 3 steps needed responsiveness

* chore(webapp): rm duplicate component

---------

Co-authored-by: Roberto Lucas <[email protected]>

* feat: security updates (#331)

* feat(indexer): validate right usdt,usdc address

* feat(indexer): wait for finality and trx log

* fix(indexer): wrong import

* chore(indexer): fix build

* chore(webapp): format

* feat(webapp): bitlauncher blog category + blog tweaks (#324)

* wip: static blog files upt

* fix(webapp): blog article file gen + article ui tweaks

* chore(webapp): app ver upt + cms gen script

* docs: upt cms-ql.sh

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* impr(webapp): upt /services/datocms/datocms-blog.service.ts

coderabbitai suggestion.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* impr(webapp): upt /services/datocms/datocms-blog.service.ts

coderabbitai suggestion.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix(webapp): app build, missing file

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: format files

* fix(webapp): cached files error catch

* impr(webapp): static blog file error catch

* fix(webapp): static cached file chk

* feat: supabase schema and webapp updates  (#335)

* feat(indexer): add address registration validation

* feat: update database schema to support presales

* feat: repo/tokens (#336)

* chore: update repo packages (#338)

* feat: stable coin selector

* feat: presale ux ui

* chore: repo/contracts pkg

* chore: repo/utils pkg

* chore: repo/tsconfig pkg

* chore: repo/alchemy pkg

* chore: repo/jobs pkg

* chore: repo/supabase pkg

* docs: update readme

* chore: update bunlock

* chore(indexer): alchemy webhook

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* docs: update readme

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* docs: update readme

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* chore(alchemy): invert ternary

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* chore: not nullable values, format code

* chore: update node:crypto

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* feat(indexer): alchemy signature validation

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: fix build (#339)

* feat: validate user registration on event proxy (#340)

* chore: fix imports

* feat(indexer): validate user is registered

* feat: add presale deposit checks (#341)

* feat(indexer): is registered address

* feat(indexer): validate amount and timing

* wip(webapp): update project, presale and auction pages

* chore(webapp): improve error handling

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* feat: realtime presale data (#342)

* feat: real time presale data

* feat: real time presale data

* fix(webapp): header margin (#343)

* webapp:fix margin top

* webapp:add header tag

* webapp:fix margin top

* webapp:add md top

* webapp:add md top

* webapp:fix project tittle + pills responsive

* chore: august 3rd release [pre-prod] (#334)

* impr(webapp): upt mob ver of more info cards (#294)

* styles: update mobile version for information cards of home page

* styles: use tailwind css variables

* styles: add font family futura pt

* styles, config: add cornflowerblue variables on tailwind config and update information cards' background

* config: update font importation

* chore: replace BC with BL

* chore: replace bc files with bl files

* chore: replace bc files with bl files

---------

Co-authored-by: Roberto Lucas <[email protected]>

* fix(impr): verify font-style and text wording across landing (#309)

* fix(impr): verify font-style across landing

* fix(webapp): lufga bold font config

* fix(webapp): investor wording to contributor on texts

* fix(webapp): investors wording to contributors on texts (plural)

* chore(webapp): text, invest wording upt to contribute

* config: add multibase custom hook (#310)

* config: add multibase custom hook

* chore: update multibase hook and session hook

* chore: change inverted params

* impr(fix): multibase init call

---------

Co-authored-by: Roberto Lucas <[email protected]>

* feat: referral section ui - ver 0.1a (#311)

* chore(webapp): update gitignore

* chore: update cursor agent rules

* fix: action example on cursor rules

* fix: action example on cursor rules

* fix: action example on cursor rules

* feat(webapp): use dynamic loading in homepage (#313)

* feat: token issuance with trigger.dev and alchemy hooks - part 1 (#312)

* feat: alchemy transfer hooks

* feat(trigger): listen token transfers

* feat(app-lib): add pino logger

* feat(trigger): address activity handler

* feat(indexer): security updates and alchemy proxy

* fix(webapp): logger bug

* chore(indexer): sentry middleware and app config

* chore(indexer): cleanup

* chore: update bunlock

* docs: update readme

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* feat(indexer): trigger address activity job (#316)

* impr(webapp): check short link gen (#301)

* fix(webapp): desktop padding

* wip(imp): check user share link

* fix(webapp): error var name scope

* chore: updating supabase schema & types

* feat(webapp): user table short link + session upsert

* chore: use biome 🚀 (#317)

* chore: use biome

* chore: use biome

* chore(indexer): verify call with alchemy signing key (#318)

* devops(indexer): update dockerfile

* chore(indexer): cleanup

* chore: update gitignore

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* debug(indexer): gcloud deployment

* fix(trigger): install right trigger.dev dep

* fix(indexer): trust proxy

* feat: token issuance trigger part 2 (#321)

* chore(alchemy): use gcloud endpoint

* docs(alchemy): update readme file

* docs(indexer): update readme file

* debug(indexer): gcloud automated deployment

* chore(alchemy): env values validation

* chore(indexer): improve logging

* chore(indexer): improve logging

* chore(indexer): stringify all logs

* debug(indexer): disable alchemy signature validation

* debug(indexer): disable alchemy signature validation

* chore(indexer): validate env and use trigger secret

* debug(faucet): save dist/ empty folder in git

* chore: update deps

* chore: improve env validations

* fix(alchemy): wrong import

* chore(indexer): improve logging

* debug(indexer): alchemy webhook handler

* debug(indexer): disable helmet

* debug(indexer): alchemy hook handler

* debug(indexer): alchemy hook handler

* debug(indexer): alchemy hook handler

* debug(indexer): alchemy hook handler

* feat(indexer): alchemy signature middleware

* feat(indexer): validate alchemy signature

* chore(indexer): security improvements (#323)

* chore(indexer): disable alchemy validation

* feat: presale token issuance part 3 (#325)

* chore(alchemy): export types

* chore(indexer): log process event id

* chore(indexer): log process event id

* chore: prod network conig, validate networks

* wip(indexer): validate before triggering

* chore: add try catch

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: clean up

* devops(indexer): update dockerfile

* chore: format code

* devops: remove lhci reports

* fix(indexer): wrong import

* feat(trigger): transfer blpl token (#327)

* feat(trigger): transfer blpl token

* docs(trigger): token issuance jsdocs

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* devops(indexer): update dockerfile

* chore: remove type:module (#329)

* chore: remove type:module

* chore: remove type:module

* devops(indexer): test deployment

* devops(indexer): test deployment

* chore(supabase): use module

* feat(trigger): presale token issuance

* chore: format

* chore: use type:module for monorepo

* impr(webapp): add multibase provider (#326)

* config: create multibase provider

* chore: update multibase env variable

* impr(webapp): UI Update (#314)

* (wepapp)impr:landing distribution + filenames

* (wepapp)impr:auction card badge

* (wepapp)impr:steps pading + new text-size

* (wepapp)impr:text-size

* (wepapp)impr:refactored about us section

* (wepapp)impr:new tittles learning section

* (wepapp)impr:security section

* (wepapp)impr:tittle style and fonts

* (wepapp)impr:responsive impr

* fix:about section text-18 instead of text-sm

* fix:security responsive

* fix:hero padding

* fix:Final Mobil Tweaks

* impr(webapp): landing heros + mob-nav spacing

* impr(webapp): landing learn section updated blog links

* fix(webapp): info text foreground color

* impr(webapp): landing responsiveness

* imp(webapp): 3 steps needed responsiveness

* chore(webapp): rm duplicate component

---------

Co-authored-by: Roberto Lucas <[email protected]>

* feat: security updates (#331)

* feat(indexer): validate right usdt,usdc address

* feat(indexer): wait for finality and trx log

* fix(indexer): wrong import

* chore(indexer): fix build

* chore(webapp): format

* feat(webapp): bitlauncher blog category + blog tweaks (#324)

* wip: static blog files upt

* fix(webapp): blog article file gen + article ui tweaks

* chore(webapp): app ver upt + cms gen script

* docs: upt cms-ql.sh

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* impr(webapp): upt /services/datocms/datocms-blog.service.ts

coderabbitai suggestion.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* impr(webapp): upt /services/datocms/datocms-blog.service.ts

coderabbitai suggestion.

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* fix(webapp): app build, missing file

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: format files

* fix(webapp): cached files error catch

* impr(webapp): static blog file error catch

* fix(webapp): static cached file chk

* feat: supabase schema and webapp updates  (#335)

* feat(indexer): add address registration validation

* feat: update database schema to support presales

* feat: repo/tokens (#336)

* chore: update repo packages (#338)

* feat: stable coin selector

* feat: presale ux ui

* chore: repo/contracts pkg

* chore: repo/utils pkg

* chore: repo/tsconfig pkg

* chore: repo/alchemy pkg

* chore: repo/jobs pkg

* chore: repo/supabase pkg

* docs: update readme

* chore: update bunlock

* chore(indexer): alchemy webhook

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* docs: update readme

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* docs: update readme

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* chore(alchemy): invert ternary

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* chore: not nullable values, format code

* chore: update node:crypto

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* feat(indexer): alchemy signature validation

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* chore: fix build (#339)

* feat: validate user registration on event proxy (#340)

* chore: fix imports

* feat(indexer): validate user is registered

* feat: add presale deposit checks (#341)

* feat(indexer): is registered address

* feat(indexer): validate amount and timing

* wip(webapp): update project, presale and auction pages

* chore(webapp): improve error handling

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

---------

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>

* feat: realtime presale data (#342)

* feat: real time presale data

* feat: real time presale data

* fix(webapp): header margin (#343)

* webapp:fix margin top

* webapp:add header tag

* webapp:fix margin top

* webapp:add md top

* webapp:add md top

* webapp:fix project tittle + pills responsive

---------

Co-authored-by: Leandro Gavidia Santamaria <[email protected]>
Co-authored-by: Gabo Esquivel <[email protected]>
Co-authored-by: Gabo Esquivel <[email protected]>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: Brandon Fernández <[email protected]>

* chore(fix): update apps/trigger package.json dep

* fix: cms gen merged files + use-session table upt + trigger/tsconfig upt

* fix: registration logic and indexer checks (#347)

* feat(indexer): check if address already bought

* fix(webapp): registration logic

* chore: update bunlock

* fix(webapp): arrow icon

* fix(webapp): arrow icon

* feat: upsert accounts table on login

* fix(webapp): move accounts to session hook

* feat: webapp/hotfix bl project status tag (#348)

* fix(webapp): tablet/small-screen header breakpoint

* impr(webapp): project page hero + blog links upt

* fix(webapp): project badge text upt

* content(webapp): token sale date tbd

* fix(webapp): hero title size (#350)

* fix(webapp): hero title size

* impr(webapp): share link toaster msg

* chore: presale hardcoded txt tweak

* impr(webapp): tailwindcss accent colour upt (#352)

---------

Co-authored-by: Gabo Esquivel <[email protected]>
Co-authored-by: Nathanael Liu <[email protected]>
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Co-authored-by: Brandon Fernández <[email protected]>
Co-authored-by: Leandro Gavidia Santamaria <[email protected]>
Co-authored-by: Gabo Esquivel <[email protected]>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
8 people authored Aug 29, 2024
1 parent 6c76e8d commit 601c999
Show file tree
Hide file tree
Showing 19 changed files with 74 additions and 72 deletions.
6 changes: 3 additions & 3 deletions apps/webapp/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

--accent: 319.38, 80.67%, 53.33%;
--accent-foreground: 0, 0%, 98%;
--accent-secondary: 261, 29%, 56%;
--accent-500: 261, 29%, 56%;

--destructive: 0, 62.8%, 30.6%;
--destructive-foreground: 0, 85.7%, 97.3%;
Expand Down Expand Up @@ -78,7 +78,7 @@

--accent: 319.38, 80.67%, 53.33%;
--accent-foreground: 0, 0%, 98%;
--accent-secondary: 261, 29%, 56%;
--accent-500: 261, 29%, 56%;

--destructive: 0, 62.8%, 30.6%;
--destructive-foreground: 0, 85.7%, 97.3%;
Expand Down Expand Up @@ -314,7 +314,7 @@ iframe[title="reCAPTCHA"],

/* Subheading in About - Security - Whitepaper */
.sectionsSubheading {
@apply text-start text-2xl font-medium leading-[42.35px] text-[#ff51ed] md:text-[2.188rem];
@apply text-start text-2xl font-medium leading-[42.35px] text-accent-400 md:text-[2.188rem];
}

.heading2 {
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/components/dialogs/session/session-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function SessionButton() {
</PopoverTrigger>
<PopoverContent
align="end"
className="w-44 border-[#845BBF] bg-background text-center"
className="w-44 border-accent-500 bg-background text-center"
>
<ul className="flex flex-col gap-5 py-2">
{/* biome-ignore lint/a11y/useKeyWithClickEvents: not needed rn */}
Expand Down
8 changes: 4 additions & 4 deletions apps/webapp/components/layout/footer/newsletter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import Link from 'next/link'
import { useEffect } from 'react'
import { useFormStatus } from 'react-dom'
import {
GoogleReCaptcha,
GoogleReCaptchaProvider,
GoogleReCaptcha,
GoogleReCaptchaProvider,
} from 'react-google-recaptcha-v3'
import { useForm } from 'react-hook-form'
import { useSetState } from 'react-use'
Expand Down Expand Up @@ -195,10 +195,10 @@ function DiscordButton() {
variant: 'outline',
radius: 'full',
}),
'size-14 border-transparent p-3.5 md:border-accent-secondary lg:size-14',
'size-14 border-transparent p-3.5 md:border-accent-500 lg:size-14',
)}
>
<IconDiscord className={'block size-full fill-accent-secondary'} />
<IconDiscord className={'block size-full fill-accent-500'} />
<span className="sr-only">Discord</span>
</Link>
)
Expand Down
12 changes: 6 additions & 6 deletions apps/webapp/components/routes/home/auction-card-buttons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { ExternalLinkButton } from '@/components/nextjs/button-link'
import { NestedLinkButton } from '@/components/nextjs/nested-link'
import { Button, buttonVariants } from '@/components/ui/button'
import {
IconDiscord,
IconDownRightArrow,
IconTelegram,
IconTwitterX,
IconDiscord,
IconDownRightArrow,
IconTelegram,
IconTwitterX,
} from '@/components/ui/icons'
import { cn } from '@/lib/utils'
import { Suspense } from 'react'
Expand Down Expand Up @@ -57,7 +57,7 @@ export function AuctionCardButtons({ project }: { project: Project }) {
className={buttonLinkClassName}
data-title={`${title}´s ${socialTitle}`}
>
<Icon className="size-7 fill-accent-secondary" />
<Icon className="size-7 fill-accent-500" />
</Button>
}
>
Expand All @@ -71,7 +71,7 @@ export function AuctionCardButtons({ project }: { project: Project }) {
className={buttonLinkClassName}
data-title={`${title}´s ${socialTitle}`}
>
<Icon className="size-7 fill-accent-secondary" />
<Icon className="size-7 fill-accent-500" />
</ExternalLinkButton>
</Suspense>
))}
Expand Down
6 changes: 3 additions & 3 deletions apps/webapp/components/routes/home/hero/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ export function NewHomeHero() {
<h1 className="heroHeading">
<Balancer>
EARLY ACCESS TO <br />
THE NEXT <span className="text-pink-500">GLOBAL</span> <br />
<span className="text-pink-500">AI UNICORNS</span>
THE NEXT <span className="text-accent-400">GLOBAL</span> <br />
<span className="text-accent-400">AI UNICORNS</span>
</Balancer>
</h1>
</div>
<div className="relative mt-16 lg:ml-16 lg:mt-0">
<div className="absolute inset-0 m-auto h-[300px] w-[300px] rounded-full bg-pink-500 sm:h-[400px] sm:w-[400px]"></div>
<div className="absolute inset-0 m-auto h-[300px] w-[300px] rounded-full bg-accent-400 sm:h-[400px] sm:w-[400px]"></div>
<Image
src="/images/home/horse.png"
alt="AI Unicorn"
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/components/routes/home/hero/old-home-hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function HomeHero({
>
{dict.home.title.split('AI/WEB3')[0]}{' '}
<span className="!text-[#E94FB8]">
AI <span className="font-light !text-[#845BBF]">/</span> WEB3
AI <span className="font-light !text-accent-500">/</span> WEB3
</span>
{'\n'}
{dict.home.title.split('AI/WEB3')[1]}
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/components/routes/home/motion-figcaption.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const figcaptionVariants = cva(
variants: {
color: {
default: 'bg-[#262626]',
comingSoon: 'bg-[#ff51ed]',
comingSoon: 'bg-accent-400',
open: 'bg-[#70be33]',
},
size: {
Expand Down
4 changes: 2 additions & 2 deletions apps/webapp/components/routes/project/copy-shorlink.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,9 +98,9 @@ export function CopyShortlinkIcon() {

const iconsMap = {
loading: (
<LucideLoader2 size={26} className="animate-spin stroke-accent-secondary" />
<LucideLoader2 size={26} className="animate-spin stroke-accent-500" />
),
copied: <LucideCheck size={26} className="stroke-success" />,
error: <LucideX size={26} className="stroke-destructive" />,
default: <LucideShare size={26} className="stroke-accent-secondary" />,
default: <LucideShare size={26} className="stroke-accent-500" />,
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ import { Button, buttonVariants } from '@/components/ui/button'
import { CardDescription, CardHeader, CardTitle } from '@/components/ui/card'
import { Input } from '@/components/ui/input'
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from '@/components/ui/select'
import { useSession } from '@/hooks/use-session'
import { useSigningRequest } from '@/hooks/use-signing-request'
import {
genBitusdDepositSigningRequest,
genUsdtDepositSigningRequest,
genBitusdDepositSigningRequest,
genUsdtDepositSigningRequest,
} from '@/lib/eos'
import type { ProjectWithAuction } from '@/lib/projects'
import { cn } from '@/lib/utils'
Expand Down Expand Up @@ -178,7 +178,7 @@ function PresaleDeposit() {
variant: 'outline',
radius: 'full',
}),
'h-auto w-full whitespace-normal border border-solid border-accent-secondary bg-background px-10 py-2',
'h-auto w-full whitespace-normal border border-solid border-accent-500 bg-background px-10 py-2',
)}
onClick={deposit}
>
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/components/routes/project/project-info.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export function ProjectInfo({
<ListItem {...item} />

{ik < items.length - 1 && (
<hr className="w-full my-2 border-accent-secondary/50" />
<hr className="w-full my-2 border-accent-500/50" />
)}
</Fragment>
))}
Expand Down
6 changes: 3 additions & 3 deletions apps/webapp/components/routes/project/project-share.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function ProjectShare({ project }: { project: Project }) {
target="_blank"
rel="noopener noreferrer"
>
<IconTwitterX className="size-6 fill-accent-secondary" />
<IconTwitterX className="size-6 fill-accent-500" />
</Link>
<Link
key={'share-discord'}
Expand All @@ -31,7 +31,7 @@ export function ProjectShare({ project }: { project: Project }) {
target="_blank"
rel="noopener noreferrer"
>
<IconDiscord className="size-7 fill-accent-secondary" />
<IconDiscord className="size-7 fill-accent-500" />
</Link>
<Link
key={'share-telegram'}
Expand All @@ -45,7 +45,7 @@ export function ProjectShare({ project }: { project: Project }) {
target="_blank"
rel="noopener noreferrer"
>
<IconTelegram className="size-7 fill-accent-secondary" />
<IconTelegram className="size-7 fill-accent-500" />
</Link>

<CopyShortlinkIcon key={'share-shortlink'} />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use client'
import { registerAddress } from '@/app/actions/general'
import {
Button,
type ButtonProps,
buttonVariants,
Button,
type ButtonProps,
buttonVariants,
} from '@/components/ui/button'
import { useSession } from '@/hooks/use-session'
import { cn } from '@/lib/utils'
Expand Down Expand Up @@ -100,7 +100,7 @@ function RegisterButton(props: ButtonProps & { text: string }) {
variant: 'outline',
radius: 'full',
}),
'flex h-auto whitespace-normal border border-solid border-accent-secondary bg-background px-5',
'flex h-auto whitespace-normal border border-solid border-accent-500 bg-background px-5',
)}
{...props}
>
Expand Down
28 changes: 14 additions & 14 deletions apps/webapp/components/routes/wallet/deposit-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,26 @@

import { Button, buttonVariants } from '@/components/ui/button'
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from '@/components/ui/card'
import { Input } from '@/components/ui/input'
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from '@/components/ui/select'
import { useSigningRequest } from '@/hooks/use-signing-request'
import { appConfig } from '@/lib/config'
import {
genBitusdDepositSigningRequest,
genUsdtDepositSigningRequest,
genBitusdDepositSigningRequest,
genUsdtDepositSigningRequest,
} from '@/lib/eos'
import { cn } from '@/lib/utils'
import type { EVMTokenContractData } from '@repo/contracts'
Expand Down Expand Up @@ -141,7 +141,7 @@ export function DepositCard() {
variant: 'outline',
radius: 'full',
}),
'h-auto w-full whitespace-normal border border-solid border-accent-secondary bg-background px-10 py-2',
'h-auto w-full whitespace-normal border border-solid border-accent-500 bg-background px-10 py-2',
)}
onClick={deposit}
disabled
Expand Down
24 changes: 12 additions & 12 deletions apps/webapp/components/routes/wallet/withdraw-card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

import { Button, buttonVariants } from '@/components/ui/button'
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from '@/components/ui/card'
import {
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
Select,
SelectContent,
SelectItem,
SelectTrigger,
SelectValue,
} from '@/components/ui/select'
import { cn } from '@/lib/utils'
import { TestnetUSDCred } from '@repo/contracts'
Expand Down Expand Up @@ -92,7 +92,7 @@ export function WithdrawCard() {
variant: 'outline',
radius: 'full',
}),
'h-auto w-full whitespace-normal border border-solid border-accent-secondary bg-background px-10 py-2',
'h-auto w-full whitespace-normal border border-solid border-accent-500 bg-background px-10 py-2',
)}
// disabled={!session?.account}
onClick={withdraw}
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/components/shared/banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export function Banner() {
<section className="w-full gap-20">
<div className="inline-flex flex-col items-center justify-start gap-[37px]">
<h2 className="text-center heading2">{content.title}</h2>
<div className="h-[2.37px] w-[118.61px] bg-[#ff51ed]"></div>
<div className="h-[2.37px] w-[118.61px] bg-accent-400"></div>
<div className="narrow-container">
<p className="paragraph text-center text-[15px] font-normal">
{content.paragraph}
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/components/shared/content.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export function PageContent({ data }: { data: PageContentData }) {
>
<Balancer>
{item.text}
<div className="w-1/4 h-[2.37px] bg-[#ff51ed] my-4 m-auto" />
<div className="w-1/4 h-[2.37px] bg-accent-400 my-4 m-auto" />
</Balancer>
</item.type>
)
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/components/shared/section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export function Section({ heading, children }: SectionProps) {
<h2 className="relative z-10 flex justify-center w-full pb-10 text-center shadow-sm heading">
<Balancer>{heading}</Balancer>
</h2>
<div className="m-auto mb-4 h-[2.37px] w-[118.61px] bg-[#ff51ed]" />
<div className="m-auto mb-4 h-[2.37px] w-[118.61px] bg-accent-400" />
<div className="w-full pt-10">{children}</div>
</section>
)
Expand Down
2 changes: 1 addition & 1 deletion apps/webapp/components/ui/button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const buttonVariants = cva(
destructive:
'bg-destructive text-destructive-foreground hover:bg-destructive/90 dark:bg-destructive dark:text-destructive-foreground dark:hover:bg-destructive/90',
outline:
'border border-accent-secondary bg-transparent hover:bg-accent-foreground focus-within:bg-accent-foreground hover:text-black/90 focus-within:text-black/90',
'border border-accent-500 bg-transparent hover:bg-accent-foreground focus-within:bg-accent-foreground hover:text-black/90 focus-within:text-black/90',
ghost: 'bg-transparent',
link: 'text-link underline-offset-4 hover:underline',
},
Expand Down
12 changes: 7 additions & 5 deletions apps/webapp/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ module.exports = {
600: '#9A9EFC',
},
tertiary: { blue: '#0000EE' },
accent: {
DEFAULT: 'hsla(var(--accent))',
foreground: 'hsla(var(--accent-foreground))',
400: '#FF51ED',
500: '#845BBF',
600: '#433974',
},
destructive: {
DEFAULT: 'hsla(var(--destructive))',
foreground: 'hsla(var(--destructive-foreground))',
Expand All @@ -72,11 +79,6 @@ module.exports = {
DEFAULT: 'hsla(var(--muted))',
foreground: 'hsla(var(--muted-foreground))',
},
accent: {
DEFAULT: 'hsla(var(--accent))',
foreground: 'hsla(var(--accent-foreground))',
secondary: 'hsla(var(--accent-secondary))',
},
popover: {
DEFAULT: 'hsla(var(--popover))',
foreground: 'hsla(var(--popover-foreground))',
Expand Down

0 comments on commit 601c999

Please sign in to comment.