Laravel - Add Custom AppIcon
Mohamad's interest is in Programming (Mobile, Web, Database and Machine Learning). He is studying at the Center For Artificial Intelligence Technology (CAIT), Universiti Kebangsaan Malaysia (UKM).
[1] Upload icon file to the public folder
Put the icon image e.g. appicon.png into the public folder.
The file will be accessible at
https://demo.razzi.my/rearnet/public/appicon.png
![]()
[2] Edit the Welcome page
Put the following code...
<img src="appicon.png" style="width:100px;">
... within the first <div> element in the main container having a class="max-w-7xl mx-auto p-6 lg:p-8"

Outcome:

[3]Edit the layout file
Edit the file ...
/resources/views/components/application-logo.blade.php
... by replacing the current content with the following codes ...
<img src='appicon.png' width="50px"/>
Outcome for login page:

Outcome for dashboard page:
