mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-10 14:46:54 +08:00
docs: remove info about id field
This commit is contained in:
parent
b0d2957896
commit
18069b30a0
@ -80,12 +80,8 @@ 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:
|
||||
|
||||
> [!IMPORTANT]
|
||||
> 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
|
||||
{
|
||||
"id": 45248,
|
||||
"title": "Title",
|
||||
"category": "Category",
|
||||
"route": "/library/your_logo.svg",
|
||||
@ -97,7 +93,6 @@ or to support a different logo for light and dark themes:
|
||||
|
||||
```json
|
||||
{
|
||||
"id": 45248,
|
||||
"title": "Title",
|
||||
"category": "Category",
|
||||
"route": {
|
||||
|
Loading…
Reference in New Issue
Block a user