Commit Graph

15 Commits

Author SHA1 Message Date
Brendan from DeFi
7180c0b40b Updated rainbowkit version on base-docs and base-web. (#636)
* Updated rainbowkit version and coinbase wallet preferences

* Updated rainbowkit version in base-docs

* Ran yarn
2024-07-13 13:35:16 -04:00
Brendan from DeFi
5f87d88740 Feat: OcsBanner added to docs.base.org (#579)
* started work on OcsBanner for docs.base.org

* matched banner style to implementation on base.org

* Added domain to href, fixed anchor style on hover

* updated designs and removed unnecessary isOnPage logic
2024-06-20 13:34:14 -04:00
Brendan from DeFi
58babadf41 Feat/update sprig (#572)
* moved Sprig integration from apps/web to libs

* deleted unused Sprig integration code from apps/web

* refactored useSprig hook to take configurable environmentId parameter

* Integrated Sprig into base-docs

* refactored sprig domains CSP to be hardcoded in apps

* Refactored base-docs Sprig integration to address import statement issues and supported sprig domains in CSP

* updated yarn dependencies

* refactored the base-docs Sprig integration to be on the layout Root instead of the index page

* Deleted eslintrc file
2024-06-18 14:50:24 -04:00
taycaldwell
81377c66e7 Add Wallet Connector to Base Developer Docs (#423)
* Add wallet connect to nav

* Add wallet connect

* Update Cafe to wagmi v2

* Fix pre-existing warnings

* Update Cafe w/ wagmi v2

* Address comments

* more fixes
2024-04-22 05:57:30 -07:00
taycaldwell
47ca5b7b77 Docs Site Revamp: Tutorials (#370)
* Add discord, twitter, and github icons.

* Update docusaurus.

* Move security page to sidebar.

* Remove copyright from site footers.

* Add caret icons for dropdown css override.

* Build and style custom docs navbar.

* Resolve Icon merge conflict.

* Change Developers dropdown to Builders.

* lint: Remove unused variable

* Add tutorials; initial commit

* Add and display new frontmatter

* Convert tutorials to single page pt. 1

* Update tutorial data; fix paths

* Ecopage - rubyscore + lore logos (#373)

* Update ecosystem.json (#374)

* Fix incorrectly rendering open graph metadata (#369)

* feat(web): Serve dynamic og:metadata server-side

* feat(docs): Serve dynamic og:metadata server-side

* fix(web): Resolve linting errors

* fix(web): Linting

* fix(web): Additional linting corrections

* fix(web): Resolve Typescript-related syntax error

* refactor(web): Add ogData to data structure

* fix(ecosystem): Typo in partner image name (#375)

* feat(bridge): Add planned paused note to top of page (#376)

* Update hyperframes to use state (#377)

* Update hyperframes to use state

* Respond to feedback

* fix(bridge): Add default open graph metadata (#378)

* Added Moralis to data indexers (#371)

* Added Moralis to data indexers

* typos

* Update copy

* Remove superlatives

---------

Co-authored-by: taycaldwell <taylor.lee.caldwell@gmail.com>

* docs(bridge): Update bridge pause to new date (#381)

* mention setting `OP_NODE_L1_BEACON` (#380)

* feat(docs): Add Uniswap V3 Base Sepolia contracts (#382)

* Improve loading experience on jobs page (#389)

* Docs Site Revamp: Navbar, Sidebar, and Doc Page (#379)

* Add discord, twitter, and github icons.

* Update docusaurus.

* Move security page to sidebar.

* Remove copyright from site footers.

* Add caret icons for dropdown css override.

* Build and style custom docs navbar.

* Resolve Icon merge conflict.

* Change Developers dropdown to Builders.

* lint: Remove unused variable

* Re-add node polyfills required for cookie manager to work.

* Disable DocFeedback component.

* Disable paginator and table of contents.

* Add collapse icons for css override.

* Fix Modal overlay styles.

* Adjust DocChat floating button position.

* Reorganize and restyle sidebar for new design.

* Update gray0 and modal overlay styles.

* Add stylesheet for new doc page styles.

* Remove TODO. Add sidebar link hover styles.

* Move responsive styles to bottom.

* Disable breadcrumb component. Update layout spacing.

---------

Co-authored-by: taycaldwell <taylor.lee.caldwell@gmail.com>

* refactor(bridge): Drop bridge maintenance notice (#390)

* Add tutorials; initial commit

* Add and display new frontmatter

* Update tutorial data

* Fix frontmatter

* Update TOC

* Update tutorials page

* Update toc margin

* fix nested categories in sidebar

* Add all tutorials back link

---------

Co-authored-by: Jacob Moore <jacob.moore@coinbase.com>
Co-authored-by: Kathryn <kathryn.snow@coinbase.com>
Co-authored-by: wbnns <hello@wbnns.com>
Co-authored-by: Brian Doyle <brian.doyle@coinbase.com>
Co-authored-by: Filip Martinsson <martinsson.filip@gmail.com>
Co-authored-by: abhi <abhijeet.bhagat@gmx.com>
Co-authored-by: Matthew Bunday <matthew.bunday@coinbase.com>
2024-03-28 11:33:18 -07:00
jacob-moore-cb
d492aab30b Docs Site Revamp: Navbar, Sidebar, and Doc Page (#379)
* Add discord, twitter, and github icons.

* Update docusaurus.

* Move security page to sidebar.

* Remove copyright from site footers.

* Add caret icons for dropdown css override.

* Build and style custom docs navbar.

* Resolve Icon merge conflict.

* Change Developers dropdown to Builders.

* lint: Remove unused variable

* Re-add node polyfills required for cookie manager to work.

* Disable DocFeedback component.

* Disable paginator and table of contents.

* Add collapse icons for css override.

* Fix Modal overlay styles.

* Adjust DocChat floating button position.

* Reorganize and restyle sidebar for new design.

* Update gray0 and modal overlay styles.

* Add stylesheet for new doc page styles.

* Remove TODO. Add sidebar link hover styles.

* Move responsive styles to bottom.

* Disable breadcrumb component. Update layout spacing.

---------

Co-authored-by: taycaldwell <taylor.lee.caldwell@gmail.com>
2024-03-27 13:44:59 -07:00
jacob-moore-cb
8fbeb790e3 Add GPT Chat to Base Docs (#323)
* Install fetch event source to handle SSEs

* Add docs chatbot modal UI.

* Update Modal and Icon components.

* Add no scroll class.

* Add DocChat component.

* Installed fetch event source.

* Add light theme styles. Clean up code.

* Remove unneeded React import.

* Adjust copy as deployment test change.

* Undo test changes.

* Add Mendable URLs to CSP.

* Add markdown rendering support for chatbot responses.

* Yarn lock update.

* Adjust modal layout spacing.

* Fix chatbot modal styling for mobile screens.

* Add UI for rating bot responses.

* Temporarily disable response rating feature.

* Add server API endpoint for processing Base GPT response rating requests.

* Update csp for new API version.

* Add CCA events for GPT interactions. Fix id data types.

* Swap in prod client-side API keys.

* Use session storage for conversation data.

* Swap in prod client-side API keys.

* Remove unneeded log.

* Simplify state updates.

* Replace dangerouslySetInnerHTML with useRef innerHTML.

* Updated yarn.lock

* Swap in test API key for dev.

* Fix typo.

* Swap in prod client-side key.

* Temporarily remove sources. Adjust scroll behavior. Adjust modal close handler. Update API keys.
2024-03-07 13:20:35 -08:00
jacob-moore-cb
3fad1c70bc Add Cookie Manager and Add CCA Device Tracking (#295)
* Add Coinbase cookie banner to Base Web.

* Base Web - Add cookie policy page and cookie manager. Init CCA with device ID cookie.

* Base Docs - Add cookie policy page and cookie manager. Init CCA with device ID cookie.

* Add custom CookieBanner theme to improve contrast.

* Ignore eslint rule affecting useCookie from @coinbase/cookie-manager.

* Explicitly set base.org domain for cookie.

* Remove domain param from setCookie.
2024-01-31 13:41:40 -08:00
jacob-moore-cb
bc78f6234a Revert "Add Cookie Manager and Add CCA Device Tracking" (#286) 2024-01-29 22:36:56 -01:00
jacob-moore-cb
15a66ea3d4 Add Cookie Manager and Add CCA Device Tracking (#284)
* Add Coinbase cookie banner to Base Web.

* Base Web - Add cookie policy page and cookie manager. Init CCA with device ID cookie.

* Base Docs - Add cookie policy page and cookie manager. Init CCA with device ID cookie.

* Add custom CookieBanner theme to improve contrast.

* Ignore eslint rule affecting useCookie from @coinbase/cookie-manager.

* Explicitly set base.org domain for cookie.
2024-01-29 14:25:23 -08:00
jacob-moore-cb
795ba3cbae Revert "Add Cookie Manager and Add CCA Device Tracking" (#272) 2024-01-22 11:45:25 -08:00
jacob-moore-cb
b549065ddd Add Cookie Manager and Add CCA Device Tracking (#257)
* Add Coinbase cookie banner to Base Web.

* Base Web - Add cookie policy page and cookie manager. Init CCA with device ID cookie.

* Base Docs - Add cookie policy page and cookie manager. Init CCA with device ID cookie.

* Add custom CookieBanner theme to improve contrast.

* Ignore eslint rule affecting useCookie from @coinbase/cookie-manager.
2024-01-22 09:56:56 -08:00
jacob-moore-cb
f857782341 Algolia Docs Search (#74)
* Add Algolia search.

* Remove kbar search code.
2023-10-20 08:32:09 -07:00
jacob-moore-cb
571ec394f8 Add Client Analytics Pageview Tracking (#29)
* Add Client Analytics pageview tracking to Base Docs app.

* Add Client Analytics pageview tracking to Base Web app.

* Add import plugin to fix dotenv linting in docusaurus.config.js

* Switch to .ts files and disable type-checking and linting.

* Update initCCA file extension in docs config.

* Add execution environment check before using window variable.

* Replace process.env with publicRuntimeConfig.

* Remove Amplitude env vars. Remove device id from analytics init files.

* Remove duplicate dotenv call.
2023-10-03 11:53:54 -07:00
Matthew Bunday
2872ecb0a1 Clean slate for open source 2023-09-19 16:21:42 -04:00