89 Commits

Author SHA1 Message Date
comfsrt
a2c486e50e Update isETHOrERC20Deposit.ts (#1472) 2024-12-27 14:56:34 +00:00
Bob
07a09656aa Fixed typos and improved clarity in documentation (#1474)
* Update token-list.md

* Update useWithdrawals.ts

* Update AppProviders.tsx

* Update Analytics.tsx

* Update index.ts
2024-12-27 14:53:43 +00:00
planetBoy
5300ed6c4a Update next.config.js (#1443) 2024-12-21 00:39:56 +00:00
Skylar Ray
34c3fb1f82 chore: correct typos docs (#1368)
* Update introduction-to-remix.md

* Update deployment-in-remix.md

* Update DesktopNav.tsx
2024-12-11 19:57:57 -08:00
Daniel Schlabach
b21cf9cdbe feat: add new ecosystem page (#1342) 2024-12-06 15:40:57 -05:00
Brendan from DeFi
254dae1254 Revert "feat: update ecosystem page (#1334)" (#1341)
This reverts commit e336f86e21.
2024-12-05 22:48:09 +00:00
Daniel Schlabach
e336f86e21 feat: update ecosystem page (#1334) 2024-12-05 21:45:11 +00:00
leopardracer
39c46133f3 fix: typos in documentation files (#1333)
* fix: spelling to British English

* fix: typo in error message

* fix: correct typo

* fix: typos in smart contract tutorial

* Update privacy-policy.md

* Update hardhat-verify-sbs.md
2024-12-05 08:49:25 -08:00
NikolaiKryshnev
2ee1723ba2 Enhancements: Add comments in tos.ts and switch Twitter icon to X (#1140)
* Update tos.ts: Add comments

 Included comments explaining the purpose of the array and the meaning of each code.

* Update tos.ts

Removed unnecessary parenthetical comment

* Update index.tsx:  switch Twitter icon to X

 switch Twitter icon to X in SVG assets

* Update socialPlatforms.ts: rename Twitter to X

 - Renaming  [SocialPlatform.Twitter]: 'twitter' to   [SocialPlatform.Twitter]: 'x'
- Modifying share link URL to `https://x.com/intent/tweet`
2024-11-07 15:50:38 -05:00
Brendan from DeFi
3c2353e6e3 updated farcaster social link (#1096)
* updated farcaster social link

* remove link utm
2024-10-21 12:05:15 -07:00
shak58
fadf255c34 repeated word (#856)
Co-authored-by: Jordan Frankfurt <jordanwfrankfurt@gmail.com>
2024-08-26 12:00:09 -04:00
Léo Galley
bd819d7a9f use node LTS and update nextjs (#768) 2024-07-31 18:17:53 -04:00
Léo Galley
53b7e70bfd [FEAT] Enable SSR (#727)
* Enable SSR and quick-fix rainbowkit hydration

* move static content to SSR components

* production ready
2024-07-30 15:50:52 -04:00
Jordan Frankfurt
ae6c2122b0 feat: usernames (#657)
* describe new endpoint

* add spinner icon and dropdown loading state

* loading avatar state

* use ricardo's endpoints

* better error handling for linked-addresses check

* create jwt with jose

* add loading state to registration UI

* dedupe some registrar controller references

* fix dropdown max height

* rename constant

* name -> names page

* refactor to use AddressMap

* undo docs change

* rm console.log

* set docs data to state on master

* remove classname conditional logic in favor of headless ui transition

* fix early return hook count error

* Extract Learn More Modal

* add dynamic og images for usernames

* clean up og image and url setup

* individually call each endpoint for attestation data--use linked accounts to check for existing registrations

* useAttestations

* fix linkedAddresses undefined error

* clean up api result

* tie in discount state to copy in registration form

* Add ShareUsernameModal for post-claim flow

* ShareUsernameModal: font weight and padding tweaks

* resolve conflicts

* useActiveDiscountValidators()

* ShareUsernameModal: design update

* update proof endpoints

* use response types, fix wrong network breaking name search

* ensure uniform utilization of the network check for contract args construction

* usernames: Update learn more modal

* Shelley feedback 1/6

* Shelley feedback 2/6

* Shelley feedback 3/6

* Brian doyle/zora tutorial (#588)

* Partial: Build with zora

* Stash progress

* Progress stash

* Add zora premint tutorial

* Apply feedback

* Fix typo

* Update title

* Shopify Storefront with Coinbase Commerce checkout (#562)

* Shopify Storefront with Coinbase Commerce checkout

* Implement @briandoyle81CB feedback

* Update Commerce section

* fix formatting

* use backticks for buttons

* add admonitions

* add a tip for checking out with crypto

* swap should with will

* update conclusion

* maintenance(node): Notate new requirement, NVME (#596)

* Swap typescript Code Blocks to tsx (#597)

* Start

* Switch typescript code blocks to tsx

* Feat/add events to docs (#587)

* Created logEvent utility

* Added event tracking to OCS Banner

* Created CustomNavbarLink with event tracking

* created custom navbar dropdown link with event tracking

* added event tracking to P0 navbar elements

* Added eventDetail parameter to event tracking

* Updated Bootcamp link

* enforced cursor pointer on custom navbar links

* updated navbar elements to include event tracking

* event tracking for navbar social links

* added target property to custom navbar elements

* made links to off-domain locations open in new tab

* updated tutorials data

* implemented tracking on connect wallet buttons

* removed duplicate connect button from StudentProgress component

* Links now send events with high importance

* Cleaned up StudentProgress component

* Social clicks use useCallback

* bugfix for logEvent

* created callbacks for social click handlers

* improved social click callbacks

* updated event names

* updated connect wallet event names on base.org

* added full typing to logEvent utility

* refactored logEvent typing

* added userId to event data options

* updated base-docs logEvent immplementations

* updated Connect Wallet event for base.org

* changed component_type to the expected

* Updated event logging for onchain summer banner

* fixed key errors on tutorials page (#598)

* chore: updated node versioning to be latest of 18 (hydrogen) (#560)

* updated node versioning to be latest of 18 (hydrogen) lts

* check if build version update works w/ gh action

* chore: add a pre-commit hook for linting (#601)

* add a precommit hook for linting

* test

* Revert "test"

This reverts commit f5329bd73c927424777cbac81606d19103a1b616.

* add eslintcache to gitignore

* Shelley feedback 4/6

* fix lint

* Shelley feedback 5/6

* Shelley feedback 6/6

* use chain query param

* talk to the individual discount validators

* fix parse cdp key issues

* add error messages

* fix register name callback types

* remove some linkedAddresses stuff from the frontend

* Mobile pass and update contract addresses

* useBaseEnsName hook

* fake hasUsedADiscount

* return error

* return error

* return error

* add back hasRegisteredWithDiscount from backend

* restrict name to 20 chars

* UsernameProfileForm, TextArea, Fieldset, Label, Hint and more

* UsernameProfileForm: use useEnsText and rename bio to description

* utilize proofs apis for checking validity of discounts

* add (discounted)pricing hooks

* useWriteMultipleBaseEnsTextRecords: hooks to multicall

* update register name callback to include non-discounted registrations

* render eth price correctly

* minor cleanup

* fiddling with register call & viem

* clean up discount/non price passthrough

* Move hooks into /src/hooks, clean up useFocusWithin

* fix import path

* Add USD price display

* Fix multiple imports

* Better placeholder

* cleanup

* .json->.ts abi

* fix import

* Update abis to consistent format

* clean + add validateEnsDomainName

* show error message

* reset values when user skip

* format search to avoid space

* button loading state & emoji lenght fix

* add support for discounted registration

* move to profile after registration

* update address type

* add keywords

* check for previously registered addresses on cb.id endpoint

* add states and state switcher

* determine if the name registration is free

* small refactor of RegistrationProvider

* move selectedName to provider

* move hash to provider

* fix broken imports

* rm console.log

* clean up and design fixes for success stage

* connect discounts to explainer modal state

* rm console.log

* Profile page light

* fix pill animation

* update default expire

* redirect to user profile after registration

* fix expiration time

* fix ellipsis

* fix colors

* rename registration-specific profile form

* move brand logic to component

* move components from file to folder

* remove button in the username search input

* fix redirect if no field was edited, rename variables

* update card links and order

* fix some styles

* addAddr and fix the resolvers

* test full flow, reload data

* add correct styling to discounted price

* User can edit profile

* add social links on Profile page

* css cleanup

* fix styles from merge

* fix tooltip opacity

* re-arrange layout to avoid overflow

* wip: fetch coinbase verifications badges

* add usernames early access endpoint

* add name is free pricing subtext

* Fix text on kv errors

* layout fixes and animation

* Add EAS badges

* fix key rendering issue

* Don't display verifications if we have none

* return error on hasPreviouslyClaimed proofs

* rename area of expertise to skill

* add analytics

* use a provider for sanity

* context chaining

* update analytics

* move discount logic to registration context

* add analytics to user profile page

* allow for 2 discounts to create a signature on sybil resistance

* set chain based on env

* switch chain

* fix frogmonkee

* add error states and dropdown components

* fix spacing

* design and usability improvements

* fix navigation and registration profile form

* rm dev controls

* default to env chain

* unify logic for chain check

* fix getAttestations chain logic

* add real name suggestions with cb-gpt

* use cb1 discounts first, if available

* address some TODOs and fix copy-to-clipboard UX in dropdown

* fix domain url, enable metadata and svg card support

* get chain client correctly

* add twemoji support

* Fix css-loader build error

* add endpoints for contract-uri

* add redirect when json is missing

* ECO-75: Fix input focused state with blue background

* ECO-81: Discount modal: external link open in a new tab

* switch key to static value on ens pills

* ECO-93: add <ImageWithLoading> component for nice image load

* ECO-80: add nice animation to the Modal component

* ECO-73: align blue dot

* ECO-72: use Basenames for the pages titles

* ECO-84: transition between registration profile form steps

* ECO-76: Fix jumping layout when changing years

* automatic redirect when missing domain

* fix focus error causing blue reset

* upgrade tanstack

* Add Guild badges

* minimal yarn.lock changes

* Coerce schema type

* Feat/local paymaster (#645)

* paymaster working with url

* Wallet type verification complete

* Packages updated

* configure smart wallet

* Cleanup

* Update yarn.lock

* vercel error fixed

* Build fixed

* Resolved Comments

* Resolved chains

---------

Co-authored-by: Jordan Frankfurt <jordan.frankfurt@coinbase.com>

* remove nav menu item for EA

* fix avatar overflow on pills

* tentative onchainkit implementation

* fix package

* fix padding and ECO-100

* ECO-60: fix validation

* ECO-12: remove perk value

* ECO-12-2: rename

* ECO-16: change tooltip copy

* update to latest onchainkit

* Fix non member found from Base Guild

* fix lock file

* Stub talentprotocol, fix verified country badge

* fix path

* avatar support with Vercel Blob

* lock

* Add TalentProtocol API endpoint

* Remove CSP for talentprotocol

* add radix tooltip pkg w/ refactor and add ai tooltip text

* use universal resolver address, check the avatar upload path

* reset address resolver for now

* error state & 404 page

* Display talent protocol score in badge

* add new discounts to discount modal

* add missing images and EA discount

* remove error stringifying from transactionError component

* ECO-85: skill badge design fix

* fix avatar resolution

* log avatar errors

* add EA contracts and validators

* update contract

* rename key

* debug early access checks

* add message if user is not eligible for early access

* don't discounts modal during early access

* connect wallet fixes

* dual chain support

* Unearned badges

* improve testnet/mainnet banner messaging

* proper chain resolution

* Move badge images

* Fix redirect after customizing profile

* better handling of EA roadblock

* fix cdp get vulnerability

* encode talentprotol URI

* fix cdp get vulnerability

* revert encodeUriComponent

* Fix a bunch of a11y errors

* alt image

* fix label

* Fix yarn lint issues

* lint error on getLinkedAddresses

* refactor paymaster code to fix ts errors (#680)

* add example env vars for paymaster links

* Remove .env

* gitignore .env

---------

Co-authored-by: Léo Galley <contact@kirkas.ch>
Co-authored-by: Ricardo Moguel <ricardo.moguel@coinbase.com>
Co-authored-by: Matthew Bunday <matthew.bunday@coinbase.com>
Co-authored-by: Brian Doyle <brian.doyle@coinbase.com>
Co-authored-by: Pat <patrick.hughes@coinbase.com>
Co-authored-by: wbnns <hello@wbnns.com>
Co-authored-by: Brendan from DeFi <brendan.forster@coinbase.com>
Co-authored-by: Keshav Singhal <107991050+Keshavrajsinghal@users.noreply.github.com>
2024-07-25 12:43:30 -05:00
Brian Doyle
566e5f5832 Rename Base Camp to Base Learn (#649)
* Rename Base Camp to Base Learn

* Rename Base Camp to Base Learn

* Update learn link

* change wallet type property from camel to snake case (#643)

* Update api key requirement, minor style updates (#642)

* Fix type and clarify inheritance ex (#655)

* Document Reth snapshot URLs (#651)

* feat(ecosystem): New additions to Ecosystem page (#647)

* feat(ecosystem): New additions to Ecosystem page

* chore(Ecosystem): Add image for Dynamic

* Update preparing-for-fault-proofs-on-base-sepolia.md (#633)

Update preparing-for-fault-proofs-on-base-sepolia

* Fix conflict

* fix conflict

---------

Co-authored-by: Brendan from DeFi <brendan.forster@coinbase.com>
Co-authored-by: Danyal Prout <danyal.prout@coinbase.com>
Co-authored-by: wbnns <hello@wbnns.com>
Co-authored-by: Olexandr Radovenchyk <radole1203@gmail.com>
2024-07-23 17:44:11 -04:00
wbnns
51206f7565 fix(block explorer): Point to Blockscout alongside outage (#571)
Basescan is currently experiencing an outage. This updates relevant
block explorer links to point to Blockscout in the interim.
2024-06-18 11:08:07 +00:00
Brian Doyle
bb3608a8f8 Add Learn link to nav (#567) 2024-06-17 15:07:52 -04:00
Jordan Frankfurt
bc7c37668e @next/font has been deprecated in favor of the builtin next/font</local> (#561) 2024-06-15 13:44:03 +00:00
Brendan from DeFi
fe134710a4 Chore/bridge cleanup (#556)
* deleted unused bridge components

* second run through bridge components

* third deletion of unused bridge components
2024-06-13 12:35:59 -07:00
Matthew Bunday
33ab0189f4 Design pass with Shelly (#514) 2024-05-23 16:41:48 -04:00
Arjun Dureja
fd46c9080e Update Cross-Origin-Opener-Policy header (#511) 2024-05-23 18:32:23 +02:00
Matthew Bunday
552ba70331 Remove modals, improve layout (#509)
* Remove modals, improve layout

* Lint
2024-05-22 12:31:58 -04:00
wbnns
13f411e946 refactor(bridge + docs): Update metadata to reference Superchain Bridges (#508)
* refactor(bridge): Update metadata to reference Superchain Bridges

* refactor(docs): Drop Bridge FAQ from Sidebar

* refactor(docs): Drop faq for bridge.base.org (deprecated)

* refactor(docs): Add redirect for deprecated bridge faq

* refactor(docs): Combine mainnet and testnet bridge resources

* refactor(docs): Add link to brid.gg landing page for Base

* refactor(docs): Add links to both mainnet/testnet options

* fix(docs): Typo in page description

* refactor(docs): Drop artifact
2024-05-21 21:11:46 +02:00
Matthew Bunday
b1971016c2 Fix team name (#507) 2024-05-21 13:41:54 -04:00
Matthew Bunday
6cba5dc5f6 Bridge deprecation (#505)
* Deprecation content

* checkpoint, considering factoring out nav

* Update FAQ

* Configure code sharing ; nav

* Disable SSR to avoid hydration errors

* Add comment

* Lint

* Update FAQ

* Deprecate every page
2024-05-21 12:37:58 -04:00
wbnns
46ceb58cf0 docs(bridge) Update Superchain Bridge date to May 21st (#495)
Updates the switchover date from the 17th to the 21st.
2024-05-15 09:07:42 -04:00
wbnns
1469c3b656 docs(bridge) Update Superchain Bridge date to May 17th (#490)
Updates the switch over date from the 10th to the 17th.
2024-05-07 12:46:30 -04:00
wbnns
619bf1466d docs(bridge): Fix Superbridge URL (#482)
Updates Superbridge's URL to the correct one:
s/superbridge.com/sueprbridge.app/
2024-05-04 17:08:17 -07:00
wbnns
3e45f3717e docs(bridge): Update banner and FAQs (#481)
* docs(bridge): Update banner and FAQs

Updates the banner with deprecation date, expands additional FAQs and
links to Superbridge

* fix(bridge): Escape quotes in strings
2024-05-04 07:00:02 -07:00
Matthew Bunday
5034fe35db Add Bridge deprecation warning (#479)
* Add deprecation modal

* Add deprecation modal

* Add deprecation header

* Add deprecation questions to FAQ

* Update DeprecationModal copy

* Update faq copy

* Update faq copy
2024-05-03 13:04:54 -07:00
Matthew Bunday
3ecd38815e Get eslint typescript rules working correctly with transpiled packages and wagmi types (#475) 2024-05-01 16:35:51 -07:00
Carl Aiau
ac2bf04154 Add digital accessibility improvements to Base Bridge (#439) (#448) 2024-04-23 19:46:17 -04:00
taycaldwell
5e66754369 Add more redirects for docs (#416)
* Update using-base.md

* Update docusaurus.config.js

* Update DesktopNav.tsx

* Update MobileMenu.tsx

* Add query parameters to tutorial filtering

* Fix broken link

* Fix broken link

* Update redirects

* Update redirects

* Fix broken link

* Update server.js

* Update middleware.ts

* Update server.js

* Update middleware.ts

* Update server.js

* Update middleware.ts

* Update middleware.ts
2024-04-06 11:40:21 -04:00
Tyurin Kirill
d166dc8c7c fix: logo svg width error (#372) 2024-04-04 15:23:05 -04:00
wbnns
8c324f4d33 refactor(bridge): Drop bridge maintenance notice (#390) 2024-03-27 17:24:08 -04:00
wbnns
4241ff5eea docs(bridge): Update bridge pause to new date (#381) 2024-03-21 07:14:23 -07:00
wbnns
fe401968b0 fix(bridge): Add default open graph metadata (#378) 2024-03-19 18:05:43 -04:00
wbnns
eff40eb584 feat(bridge): Add planned paused note to top of page (#376) 2024-03-18 22:43:22 -04:00
wbnns
b3f40f0454 chore(README): Force redeploy on sepolia-bridge.base.org (#366)
Trivial change to README to enable a deployment on
sepolia-bridge.base.org on top of a stale commit.

Stale commit that wasn't deployed:
fb4b13cd0d
2024-03-15 10:26:26 -04:00
Danyal Prout
fb4b13cd0d Revert "add goerli deprecation notice (#256)" (#327)
This reverts commit d2727d539e.
2024-02-13 17:17:48 -06:00
Matthew Bunday
7a157a85a7 Add a more obvious button to the transaction page within withdraw flow (#317) 2024-02-09 15:26:12 -01:00
Henri Devieux
e10142e2cd Add warning banner on Transactions page (#308) 2024-02-08 12:05:31 -05:00
Matthew Bunday
f691dfe858 Revert explorerTx transform logic to handle all transaction types (#304) 2024-02-06 10:15:55 -05:00
cody-wang-cb
cf78792bcc support USDC sepolia bridging (#296) 2024-02-02 15:00:04 -05:00
Matthew Bunday
d6b66f0a26 Merge transactions from indexer and explorer for redundancy (#279) 2024-01-27 10:29:40 -05:00
Matthew Bunday
4972401738 Fix withdraw/deposit max (#277) 2024-01-25 15:06:14 -05:00
Lukas
a1f9714a4e goerli deposit eol (#270) 2024-01-22 13:26:32 -05:00
Lukas
97762aac31 max fix (#269) 2024-01-22 13:26:08 -05:00
Lukas
d2727d539e add goerli deprecation notice (#256)
* add goerli deprecation notice

* update
2024-01-17 18:28:42 -05:00
cavalier_eth
ed59ccec4f feat: add SNX on Base (#232)
* add SNX

* add SNX

* spacing
2024-01-05 09:05:14 -05:00