mirror of
https://github.com/placeholder-soft/web.git
synced 2026-06-20 03:38:42 +08:00
100e7604fdcc2abbaabd2cd4a28632552db378fd
* 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
Base Web
Base is a secure, low-cost, developer-friendly Ethereum L2 built to bring the next billion users onchain. It's built on Optimism’s open-source OP Stack.
Setup
- Ensure
nvmis installed. - Clone the repository.
- If
nvmdoesn't auto-load the Node.js environment when changing to the repo directory, runnvm use. - 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
Languages
TypeScript
81.5%
JavaScript
14.2%
CSS
3.7%
MDX
0.3%
Shell
0.2%
