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?
14 Replies
Do I just make the blade file and assign to the view string?
Solution
Oh yeaup... I feel dumb now
Curious why it would not render with style though?
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.
You removed the page blade component
I am new to laravel and filament
I think it's
<x-filament::page>
which should wrap your contentNo I kept it there, just rendering an english version.
help.blade.php
just called help-en
or help-de
depending on the localeWhich 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.
ah yes... sorry. zoomed in
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
ah ok... that makes perfect sense then π
Btw. there is a
@include()
Blade directive for that case.