mirror of
https://github.com/Instadapp/boardroom-inc-protocol-Info.git
synced 2024-07-29 22:37:02 +00:00
Merge pull request #10 from boardroom-inc/sudheerDev-patch-1
Update readme
This commit is contained in:
commit
449302b468
125
README.md
125
README.md
|
@ -1,2 +1,123 @@
|
||||||
# protocol-info
|
[![Discord][discord-shield]][discord-url]
|
||||||
Information about protocols
|
[![Twitter][twitter-shield]][twitter-url]
|
||||||
|
|
||||||
|
<br />
|
||||||
|
<p align="center">
|
||||||
|
<a href="http://app.boardroom.info/">
|
||||||
|
<img src="https://i.ibb.co/tBt9dLq/transparentblacktextsmall.png" alt="Logo" width="500" height="100">
|
||||||
|
</a>
|
||||||
|
|
||||||
|
<h3 align="center">Boardroom Project Information Repo</h3>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
This public repo contains project information which will be served to display on the Boardroom Governance Portal
|
||||||
|
<br />
|
||||||
|
<a href="http://app.boardroom.info/"><strong>Browse the Portal »</strong></a>
|
||||||
|
<br />
|
||||||
|
<br />
|
||||||
|
<a href="http://boardroom.info/">Landing</a>
|
||||||
|
·
|
||||||
|
<a href="https://discord.com/invite/tgrTFg9">Discord</a>
|
||||||
|
·
|
||||||
|
<a href="https://discord.com/invite/tgrTFg9">Get In Touch</a>
|
||||||
|
</p>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<details open="open">
|
||||||
|
<summary>Table of Contents</summary>
|
||||||
|
<ol>
|
||||||
|
<li><a href="#structure">Repo Structure</a></li>
|
||||||
|
<li>
|
||||||
|
<a href="#adding-content">Editing Content</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#protocol-information">Protocol Information</a></li>
|
||||||
|
<li><a href="#protocol-branding">Protocol Branding</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#adding-content">Adding Content</a>
|
||||||
|
<ul>
|
||||||
|
<li><a href="#new-calls">Adding Call Information</a></li>
|
||||||
|
<li><a href="#new-project">Adding a New Project</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ol>
|
||||||
|
</details>
|
||||||
|
|
||||||
|
## **Structure**
|
||||||
|
1. The `index.ts` file contains basic project metadata, as well as branding colors
|
||||||
|
2. Folders for each project contain the following:
|
||||||
|
1. `overview.md` contains a project's governance overview. _This content is displayed in each project's 'Overview' tab, below its statistics._
|
||||||
|
2. `logo.png` is a logo file displayed in various places accross the app, including protocol switcher.
|
||||||
|
3. `header.png` is a logo file is displayed at the top of sidebar when that project is selected in the navigation.
|
||||||
|
4. `calls` is a folder collects governance and community call agendas and meeting notes, displayed in each project's 'Calls' tab.
|
||||||
|
|
||||||
|
## **Editing Content**
|
||||||
|
### Protocol Information
|
||||||
|
Basic information of the protocol is saved in protocols object of index.ts file
|
||||||
|
|
||||||
|
```
|
||||||
|
protocol_key: {
|
||||||
|
name: "Protocol Name",
|
||||||
|
path: "Path used in boardroom url",
|
||||||
|
description: "Description of protocol",
|
||||||
|
suffix: "Token",
|
||||||
|
folder: "Folder name to host resources",
|
||||||
|
},
|
||||||
|
```
|
||||||
|
|
||||||
|
Edit the corresponding value in the object and raise a new PR for changes.
|
||||||
|
|
||||||
|
### Protocol Branding
|
||||||
|
1. Add the unique protocol key in the object `protocolBranding` of index.ts if it does not exist.
|
||||||
|
```
|
||||||
|
unique_protocol_key: {
|
||||||
|
"--background-primary-nav": "#001529", // Background color for sidebar, header and header information in protocol pages
|
||||||
|
"--color-text-nav": "#e7e8eb", // Color of text in sidebar, header and header information in protocol pages
|
||||||
|
"--background-switcher-active": "#000000", // Background color of the active nav element in sidebar
|
||||||
|
},
|
||||||
|
```
|
||||||
|
2. Add or edit the respective color variables and colors to the above object
|
||||||
|
3. Raise a PR with the changes
|
||||||
|
|
||||||
|
We have a codesandbox instance https://codesandbox.io/s/boardroombranding-q3u9z to visualize branding changes. Change the corresponding color variable in index.js file to have a sense of how the protocol pages will look after the updates
|
||||||
|
|
||||||
|
## **Adding Content**
|
||||||
|
|
||||||
|
### New Calls
|
||||||
|
Raise a new PR by following the steps below:
|
||||||
|
|
||||||
|
1. Create a new file in the calls folder of the protocol. _The Filename will be the title displayed in the 'Calls' tab list._
|
||||||
|
2. Add the call agenda and relevant meeting notes in the markdown file. The contents of the file will be displayed in the respective page.
|
||||||
|
3. Raise a PR with the changes.
|
||||||
|
|
||||||
|
### New Project
|
||||||
|
Please keep in mind that the Boardroom team will need to add your project before it displays on the portal. Raise a new PR by following the steps below:
|
||||||
|
|
||||||
|
1. Add a new object to index.ts in the format of
|
||||||
|
|
||||||
|
```
|
||||||
|
protocol_key: {
|
||||||
|
name: "Protocol Name",
|
||||||
|
path: "Path used in boardroom url",
|
||||||
|
description: "Description of protocol",
|
||||||
|
suffix: "Token",
|
||||||
|
folder: "Folder name to host resources",
|
||||||
|
},
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Create a folder with the same name mentioned above in the root folder of the repo.
|
||||||
|
3. Add logo with the file name `logo.png` in the folder with an aspect ratio of 1:1. This will display in the project switcher and various other places in the app.
|
||||||
|
4. Add an image `header.png` which will display at the top sidebar. Ideal dimensions are 400 × 150 (W× H)
|
||||||
|
5. Add a folder with the name `calls` which will contain meeting note files.
|
||||||
|
6. Raise a PR with the changes.
|
||||||
|
|
||||||
|
## Contact
|
||||||
|
|
||||||
|
Please reach out in Discord with any questions!
|
||||||
|
* Boardroom Support Channel - [#❓support](https://discord.gg/CEZ8WfuK8s)
|
||||||
|
|
||||||
|
[discord-shield]: https://img.shields.io/badge/Discord-Join-blueviolet?style=for-the-badge&logo=discord&logoColor=white
|
||||||
|
[discord-url]: https://discord.gg/CEZ8WfuK8s
|
||||||
|
[twitter-shield]: https://img.shields.io/badge/Twitter-Follow-blue?style=for-the-badge&logo=twitter&logoColor=white
|
||||||
|
[twitter-url]: https://twitter.com/boardroom_info
|
||||||
|
|
Loading…
Reference in New Issue
Block a user