mirror of
				https://github.com/Instadapp/boardroom-inc-protocol-Info.git
				synced 2024-07-29 22:37:02 +00:00 
			
		
		
		
	Information about protocols
			
		
		| aave | ||
| balancer | ||
| compound | ||
| defidollar | ||
| gnosis | ||
| indexCoop | ||
| pooltogether | ||
| powerpool | ||
| rarible | ||
| siren | ||
| synthetix | ||
| uniswap | ||
| yamv2 | ||
| yearn | ||
| .DS_Store | ||
| index.ts | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
Repo structure.
- index.ts: Contains basic info, branding colors of protocols
- Folders for each protocol contains.
- overview.md: Contains an overview of the protocol which will be displayed in boardroom protocol overview page below stats of the protocol. Ex: 
- logo.png: Used for showing protocol logo in various places of the app including protocol switcher. Ex: 
- header.png: Used for displaying logo at the top of sidebar when in the respective protocol pages Ex: 
- callsfolder: Used for displaying call notes in the calls page of the app. Ex: The following folder structure in the calls folder is displayed as
 
|   |   | 
How to edit Information or Branding of protocol
- Edit 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.
- Edit or add branding changes
- Add the unique protocol key in the object protocolBrandingof 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 
  },
- Add or edit the respective color variables and colors to the above object
- 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
How to add new meeting notes
Raise a new PR by following the steps below.
- Create a new file in the calls folder of the protocol. Filename will be used for displaying in the list of calls page.
- Add a summary of the call in the file. Contents of the file will be displayed in the respective note page.
- Raise a PR with the changes
How to add a new protocol
Raise a new PR by following the steps below.
- 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",
  },
- Create a folder with the same name as mentioned above in the root folder of the repo
- Add logo with the file name logo.pngin the folder with an aspect ratio of 1:1. This is used for displaying in Protocol switcher and various other places in the app.
- Add an image header.pngwhich is displayed at the top sidebar. Ideal dimensions are 400 × 150 (W× H)
- Add a folder with the name callswhich will be used for containing meeting notes files.
