-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
37 changed files
with
3,818 additions
and
3,750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# How to contribute ? | ||
|
||
#### ➕ Creating a new widget | ||
|
||
> When creating a new widget, please follow the following guidelines: | ||
1. Structure the widget as follows: | ||
|
||
``` | ||
/lib/ | ||
-> components/ | ||
-> X/ | ||
-> new-widget/ | ||
-> loaders/ | ||
-> New-Widget-Widget.svelte | ||
Is the MAIN entry point to the widget that is being created, think of it as the *handler* | ||
for the widget, containing "data" getter for the widget, and showing loaders. | ||
-> New-Widget-Main.svelte | ||
Is the MAIN widget layout, design and logic, after the parent [...]-Widget.svelte has loaded all necessary | ||
data and deemed it OK to show the widget. | ||
-> New-Widget-Loader.svelte | ||
Is the MAIN widget loader layout, used for showing the widget outline and it's preloading-state. Used in | ||
conjuction with the .svelte files in the laoders/ folder, containing .svg elements within. | ||
``` | ||
|
||
⚠️ Take a look at the `src/lib/components/page/player/team` as an example. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.