The content for this website is stored in this repository in the /src/content
folder as JSON files for each page.
To more easily edit these content files, there's an inline editing tool built into the website.
You can access it by appending #admin
to any page.
E.g.:
- https://safe.global/#admin - the main page
- https://safe.global/wallet#admin - the wallet page
When in this admin mode you can click on any text on the page and edit it. Even on buttons and links.
Once you edit a piece of text, a "Save edits" button will appear. Clicking on it will copy the content you've edited into your clipboard and take you to the corresponding JSON file on GitHub. There, you can paste the JSON into the GitHub editor and create a pull request from it.
The PR will be then reviewed, merged and deployed by developers.
These instructions will help you get a copy of the project up and running on your local machine for development and testing purposes.
We use yarn in our infrastructure, so we decided to go with yarn in the README. Please install yarn globally if you haven't already.
Install dependencies for the project:
yarn install
To launch the dev version of the app locally:
yarn start
To get a complete bundle use:
yarn build
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
This project is released under the MIT License - see the LICENSE.md file for details.