phx update
This commit is contained in:
24
lib/homepage_web/components/layouts/root.html.heex
Normal file
24
lib/homepage_web/components/layouts/root.html.heex
Normal file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" style="scrollbar-gutter: stable;">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="csrf-token" content={get_csrf_token()} />
|
||||
<.live_title suffix="">
|
||||
<%= assigns[:page_title] || "Homepage" %>
|
||||
</.live_title>
|
||||
<link rel="apple-touch-icon" sizes="180x180"
|
||||
href={static_path(@conn, ~p"/apple-touch-icon.png")}>
|
||||
<link rel="icon" type="image/png" sizes="32x32"
|
||||
href={static_path(@conn, ~p"/favicon-32x32.png")}>
|
||||
<link phx-track-static rel="icon" type="image/png" sizes="16x16"
|
||||
href={static_path(@conn, ~p"/favicon-16x16.png")}>
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<link phx-track-static rel="stylesheet" href={static_url(@conn, ~p"/assets/app.css")} />
|
||||
<script defer phx-track-static type="text/javascript" src={static_url(@conn, ~p"/assets/app.js")}>
|
||||
</script>
|
||||
</head>
|
||||
<body class="bg-white antialiased">
|
||||
<%= @inner_content %>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user