F
Filament11mo ago
Chris

Creating a simple Help Page

I just want to create a simple page under "Help" in filament. Anyway to do this and just render out some plain jane HTML/blade so I can help users?
Solution:
Oh yeaup... I feel dumb now
Jump to solution
14 Replies
Chris
ChrisOP11mo ago
Do I just make the blade file and assign to the view string?
Solution
Chris
Chris11mo ago
Oh yeaup... I feel dumb now
Chris
ChrisOP11mo ago
Curious why it would not render with style though?
Chris
ChrisOP11mo ago
Thanks. Not quite what I am looking for. I created the page but I just want it to render h1,h2,h3 and p tags normally with the regular filament styling. Unless I am missing something.
Dennis Koch
Dennis Koch11mo ago
You removed the page blade component
Chris
ChrisOP11mo ago
I am new to laravel and filament
Dennis Koch
Dennis Koch11mo ago
I think it's <x-filament::page> which should wrap your content
Chris
ChrisOP11mo ago
No I kept it there, just rendering an english version. help.blade.php just called help-en or help-de depending on the locale
Dennis Koch
Dennis Koch11mo ago
Which one is the view used by the page and what does it look like? Ah. So you screenshot is zoomed in? I thought you mean the sidebar etc. are missing.
Chris
ChrisOP11mo ago
ah yes... sorry. zoomed in
Dennis Koch
Dennis Koch11mo ago
We use TailwindCSS. So your elements aren't styled unless you add a CSS class to them. You can use prose class on a wrapper for some auto-styling. (https://github.com/tailwindlabs/tailwindcss-typography)
GitHub
GitHub - tailwindlabs/tailwindcss-typography: Beautiful typographic...
Beautiful typographic defaults for HTML you don't control. - tailwindlabs/tailwindcss-typography
Chris
ChrisOP11mo ago
ah ok... that makes perfect sense then 🙂
Dennis Koch
Dennis Koch11mo ago
Btw. there is a @include() Blade directive for that case.

Did you find this page helpful?