F
Filamentβ€’7mo ago
HerrChris

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
HerrChris
HerrChrisOPβ€’7mo ago
Do I just make the blade file and assign to the view string?
Solution
HerrChris
HerrChrisβ€’7mo ago
Oh yeaup... I feel dumb now
HerrChris
HerrChrisOPβ€’7mo ago
Curious why it would not render with style though?
HerrChris
HerrChrisOPβ€’7mo 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 Kochβ€’7mo ago
You removed the page blade component
HerrChris
HerrChrisOPβ€’7mo ago
I am new to laravel and filament
Dennis Koch
Dennis Kochβ€’7mo ago
I think it's <x-filament::page> which should wrap your content
HerrChris
HerrChrisOPβ€’7mo 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 Kochβ€’7mo 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.
HerrChris
HerrChrisOPβ€’7mo ago
ah yes... sorry. zoomed in
Dennis Koch
Dennis Kochβ€’7mo 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
HerrChris
HerrChrisOPβ€’7mo ago
ah ok... that makes perfect sense then πŸ™‚
Dennis Koch
Dennis Kochβ€’7mo ago
Btw. there is a @include() Blade directive for that case.
Want results from more Discord servers?
Add your server