Skip to content

Commit b98b65f

Browse files
committed
edit branding
1 parent 8e80a18 commit b98b65f

File tree

3 files changed

+13
-6
lines changed

3 files changed

+13
-6
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,21 @@ Then you can change the branding of the application in the configuration:
1616

1717
const admin = new AdminForth({
1818
...
19-
//diff-add
2019
customization: {
20+
//diff-remove
21+
brandName: "myadmin",
2122
//diff-add
2223
brandName: 'My App', // used in login page and sidebar
24+
//diff-remove
25+
title: "myadmin",
2326
//diff-add
2427
title: 'My App Admin', // used to set HTML title tag
28+
//diff-remove
29+
brandLogo: '@@/assets/logo.svg',
2530
//diff-add
2631
brandLogo: '@@/logo.svg',
32+
//diff-remove
33+
favicon: '@@/assets/favicon.png',
2734
//diff-add
2835
favicon: '@@/favicon.png',
2936
//diff-add

dev-demo/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dev-demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"license": "ISC",
1515
"dependencies": {
1616
"@prisma/client": "^5.22.0",
17-
"adminforth": "^1.5.8-next.20",
17+
"adminforth": "^1.5.8-next.29",
1818
"better-sqlite3": "^10.1.0",
1919
"express": "^4.21.0",
2020
"random-words": "^2.0.1",

0 commit comments

Comments
 (0)