-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: custom component for logo file and platform name
Signed-off-by: pranalidhanavade <[email protected]>
- Loading branch information
1 parent
fab1491
commit df0aa30
Showing
7 changed files
with
32 additions
and
54 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
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,20 @@ | ||
|
||
import { envConfig } from '../config/envConfig'; | ||
|
||
const LogoFile = () => { | ||
return ( | ||
<> | ||
<img | ||
src={envConfig.PLATFORM_DATA.logo} | ||
className="h-8 mr-3" | ||
alt={`${envConfig.PLATFORM_DATA.name} logo`} | ||
/> | ||
<span | ||
className="self-center text-xl font-semibold sm:text-2xl whitespace-nowrap dark:text-white" | ||
>{envConfig.PLATFORM_DATA.name}</span> | ||
</> | ||
|
||
) | ||
} | ||
|
||
export default LogoFile; |
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
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