How to add a Image to a Layout screen #2033
Answered
by
tabuna
alejandroGonGon
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
tabuna
Dec 27, 2021
Replies: 1 comment 1 reply
-
Hi, judging by the screenshot above, your layout looks like this: public function layout(): array
{
return [
Layout::legend(...),
Layout::rows(...)
]
} You can also insert an image into the legend using the control public function layout(): array
{
return [
Layout::view('yourBlade'),
Layout::legend(...),
Layout::rows(...)
]
} for reference you can look at this section of the documentation https://orchid.software/en/docs/custom-template/#views |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
alejandroGonGon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, judging by the screenshot above, your layout looks like this:
You can also insert an image into the legend using the control
Sight :: make (..)->render(...)
. Or from above using your own Blade template:for reference you can look at this section of the documentation https://orchid.software/en/docs/custom-template/#views