heex templates
This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| <main class="container min-h-full min-w-full"> | <main class="container h-full w-full"> | ||||||
|   <header class="mb-4 px-8 py-4 w-full bg-primary-400"> |   <header class="mb-4 px-8 py-4 w-full bg-primary-400"> | ||||||
|     <%= render("topbar.html", assigns) %> |     <%= render("topbar.html", assigns) %> | ||||||
|     <%= if get_flash(@conn, :info) do %> |     <%= if get_flash(@conn, :info) do %> | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| <main class="container"> | <main class="m-0 p-0 w-full h-full"> | ||||||
|   <LokalWeb.Component.Topbar.topbar current_user={assigns[:current_user]}> |   <LokalWeb.Component.Topbar.topbar current_user={assigns[:current_user]}> | ||||||
|   </LokalWeb.Component.Topbar.topbar> |   </LokalWeb.Component.Topbar.topbar> | ||||||
|   <%= if @flash && @flash |> Map.has_key?(:info) do %> |   <%= if @flash && @flash |> Map.has_key?(:info) do %> | ||||||
|   | |||||||
| @@ -1,5 +1,5 @@ | |||||||
| <!DOCTYPE html> | <!DOCTYPE html> | ||||||
| <html lang="en"> | <html lang="en" class="m-0 p-0 w-full h-full"> | ||||||
|   <head> |   <head> | ||||||
|     <meta charset="utf-8" /> |     <meta charset="utf-8" /> | ||||||
|     <meta http-equiv="X-UA-Compatible" content="IE=edge" /> |     <meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||||||
| @@ -15,7 +15,7 @@ | |||||||
|     > |     > | ||||||
|     </script> |     </script> | ||||||
|   </head> |   </head> | ||||||
|   <body class="m-0 p-0 min-w-full min-h-full"> |   <body class="m-0 p-0 w-full h-full"> | ||||||
|     <%= @inner_content %> |     <%= @inner_content %> | ||||||
|   </body> |   </body> | ||||||
| </html> | </html> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user