Skip to content

Commit 9ee0041

Browse files
committed
docs updates
1 parent 5362b88 commit 9ee0041

File tree

10 files changed

+26
-6
lines changed

10 files changed

+26
-6
lines changed

adminforth/documentation/docs/tutorial/03-Customization/01-branding.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
description: "Learn how to customize the branding and theming of your AdminForth application."
3+
image: "/ogs/branding.png" # Path to the OG image
4+
---
5+
6+
17
# Branding and Theming
28

39
The first things you would probably like to change are the logo, favicon and the name of the application.
@@ -106,7 +112,7 @@ const admin = new AdminForth({
106112
});
107113
```
108114
Here is how it looks:
109-
![alt text](image-10.png)
115+
![AdminForth Themes](image-10.png)
110116

111117

112118

@@ -147,7 +153,7 @@ const admin = new AdminForth({
147153
});
148154
```
149155
Here is how it looks:
150-
![alt text](demo.adminforth.dev_login.png)
156+
![AdminForth Login Background](demo_adminforth_login.png)
151157

152158
You can also set background position and size:
153159

adminforth/documentation/docs/tutorial/03-Customization/04-hooks.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
description: "Hooks are powerful tools to modify the data before it is saved to the database, execute something after data were saved or deleted, change the query before fetching items from the database, modify the fetched data before it is displayed in the list and show, and prevent the request to db depending on some condition."
3+
image: "/ogs/hooks.png" # Path to the OG image
4+
---
5+
6+
17

28
# Hooks
39

@@ -25,7 +31,7 @@ Here we will consider possible flows one by one
2531

2632
When user opens edit page, AdminForth makes a request to the backend to get the initial data for the form.
2733

28-
![Initial data for edit page flow](image-28.png)
34+
![Initial data for edit page flow](initial_edit_data_flow.png)
2935

3036
Practically you can use `show.afterDatasourceResponse` to modify or add some data before it is displayed on the edit page.
3137

adminforth/documentation/docs/tutorial/03-Customization/06-customPages.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
---
2+
description: "Learn how to create custom pages in AdminForth."
3+
image: "/ogs/customPages.png"
4+
---
5+
16
# Custom pages
27

38
Most Admin Panels should have some Dashboards or custom pages.

adminforth/documentation/docs/tutorial/03-Customization/14-afcl.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
```
2-
image: "afcl-preview.png" # Path to the OG image
3-
```
1+
---
2+
description: "AFCL is a set of components which you can use as build blocks in your AdminForth application. AFCL allows to keep the design consistent with minimal efforts and build new pages faster. AFCL components follow styling standard and respect theme colors."
3+
image: "/ogs/afcl.png" # Path to the OG image
4+
---
45

56
# AdminForth Components Library
67

78
AFCL is a set of components which you can use as build blocks in your AdminForth application.
89
AFCL allows to keep the design consistent with minimal efforts and build new pages faster.
910
AFCL components follow styling standard and respect theme colors.
1011

12+
Components set is always growing, so you can expect new components to be added in the future.
13+
1114
## Button
1215

1316

adminforth/documentation/docs/tutorial/03-Customization/demo.adminforth.dev_login.png renamed to adminforth/documentation/docs/tutorial/03-Customization/demo_adminforth_login.png

File renamed without changes.

adminforth/documentation/docs/tutorial/03-Customization/image-28.png renamed to adminforth/documentation/docs/tutorial/03-Customization/initial_edit_data_flow.png

File renamed without changes.

adminforth/documentation/docs/tutorial/03-Customization/afcl-preview.png renamed to adminforth/documentation/static/ogs/afcl.png

File renamed without changes.
1.79 MB
Loading
285 KB
Loading
319 KB
Loading

0 commit comments

Comments
 (0)