Skip to content

Commit

Permalink
docs: remove info about id field
Browse files Browse the repository at this point in the history
  • Loading branch information
svensken94 authored Dec 12, 2023
1 parent b0d2957 commit 18069b3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -97,7 +93,6 @@ or to support a different logo for light and dark themes:

```json
{
"id": 45248,
"title": "Title",
"category": "Category",
"route": {
Expand Down

0 comments on commit 18069b3

Please sign in to comment.