Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add option to change the logo of the login page
- Loading branch information
Showing
5 changed files
with
61 additions
and
10 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
export const LOGIN_LOGO = null; | ||
export const SHOW_TUTORIALS = true; |
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 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,28 @@ | ||
# Change the logo of the login page | ||
|
||
In order to change the logo of the login page follow these steps: | ||
|
||
### 1 Add your new logo in your `./my-project/admin/src/<mylogo>.png`'s folder project (the location doesn't matter) | ||
|
||
### 2 Create a configuration file: | ||
|
||
**`Path: ./my-project/admin/src/config.js`** | ||
|
||
```js | ||
import MyLogo from './<mylogo>.png'; | ||
|
||
export const LOGIN_LOGO = MyLogo; | ||
export const SHOW_TUTORIALS = true; | ||
``` | ||
|
||
### 3 Rebuild your app | ||
|
||
```js | ||
# Using yarn | ||
|
||
yarn build | ||
|
||
# Using npm | ||
|
||
npm run build | ||
``` |
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 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