Brendan from DeFi 100e7604fd 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
2024-06-25 15:06:59 -07:00
2023-09-20 13:18:25 -04:00
2023-09-19 16:21:42 -04:00
2024-06-25 15:06:59 -07:00
2023-09-21 14:29:34 -04:00
2023-09-19 16:21:42 -04:00
2023-09-19 16:21:42 -04:00
2023-09-19 16:21:42 -04:00
2023-09-19 16:21:42 -04:00
2023-09-19 16:21:42 -04:00
2023-09-19 16:21:42 -04:00
2023-09-19 16:21:42 -04:00
2023-10-02 22:02:32 +00:00
2023-09-19 16:21:42 -04:00
2023-09-19 16:21:42 -04:00

Base

Base Web

Base is a secure, low-cost, developer-friendly Ethereum L2 built to bring the next billion users onchain. It's built on Optimisms open-source OP Stack.

GitHub contributors GitHub commit activity GitHub Stars GitHub repo size GitHub

Website base.org Blog Docs Discord Twitter Base

GitHub pull requests by-label GitHub Issues

Setup

  1. Ensure nvm is installed.
  2. Clone the repository.
  3. If nvm doesn't auto-load the Node.js environment when changing to the repo directory, run nvm use.
  4. Enable Yarn by running corepack enable.

Getting started

After cloning the repository begin by installing dependencies at the root.

yarn
yarn build

Local development

To start a development server on localhost, run yarn workspace @app/<project> dev.

For example, to start the web app locally, you would run yarn workspace @app/web dev.

Projects

There are three projects which can be run individually.

Web

yarn workspace @app/web dev

Docs

yarn workspace @app/base-docs dev

Bridge

yarn workspace @app/bridge dev

Contribution

We welcome contributions to Base! To contribute, please see CONTRIBUTING.md.

Description
No description provided
Readme 216 MiB
Languages
TypeScript 81.5%
JavaScript 14.2%
CSS 3.7%
MDX 0.3%
Shell 0.2%