📝 Update readme.

This commit is contained in:
pheralb 2023-12-11 16:27:58 +00:00
parent 0fb01f1025
commit ba574ac741

View File

@ -81,11 +81,11 @@ yarn install
4. Go to the [**`src/data/svgs.ts`**](https://github.com/pheralb/svgl/blob/main/src/data/svgs.ts) and add the information about your logo, following the structure: 4. Go to the [**`src/data/svgs.ts`**](https://github.com/pheralb/svgl/blob/main/src/data/svgs.ts) and add the information about your logo, following the structure:
> [!IMPORTANT] > [!IMPORTANT]
> To avoid conflicts with other svgs IDs, generate a short ``uuid`` for the id: [Generate](https://generateuuid.online/short-uuid). > To avoid conflicts with other svgs IDs, generate a short random number for the id: [Generate (only check 'include numbers')](https://nanoid.yuuniworks.com/).
```json ```json
{ {
"id": "28NcjLCRGMGz", "id": 45248,
"title": "Title", "title": "Title",
"category": "Category", "category": "Category",
"route": "/library/your_logo.svg", "route": "/library/your_logo.svg",