mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-13 08:46:56 +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:
|
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
|
```json
|
||||||
{
|
{
|
||||||
"id": 45248,
|
|
||||||
"title": "Title",
|
"title": "Title",
|
||||||
"category": "Category",
|
"category": "Category",
|
||||||
"route": "/library/your_logo.svg",
|
"route": "/library/your_logo.svg",
|
||||||
@ -97,7 +93,6 @@ or to support a different logo for light and dark themes:
|
|||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"id": 45248,
|
|
||||||
"title": "Title",
|
"title": "Title",
|
||||||
"category": "Category",
|
"category": "Category",
|
||||||
"route": {
|
"route": {
|
||||||
|
Loading…
Reference in New Issue
Block a user