- Generate Rails 8.1 app with PostgreSQL and TailwindCSS - Add docker-compose.yml (postgres:17) for local database - Configure database.yml to connect to Dockerized Postgres via env vars - Add Pages#home root route, application layout, and navbar partial
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title><%= content_for(:title) || "Characterization Tool For Git Workflows" %></title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="application-name" content="Characterization Tool For Git Workflows">
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<%= csrf_meta_tags %>
|
|
<%= csp_meta_tag %>
|
|
|
|
<%= yield :head %>
|
|
|
|
<%# Enable PWA manifest for installable apps (make sure to enable in config/routes.rb too!) %>
|
|
<%#= tag.link rel: "manifest", href: pwa_manifest_path(format: :json) %>
|
|
|
|
<link rel="icon" href="/icon.png" type="image/png">
|
|
<link rel="icon" href="/icon.svg" type="image/svg+xml">
|
|
<link rel="apple-touch-icon" href="/icon.png">
|
|
|
|
<%# Includes all stylesheet files in app/assets/stylesheets %>
|
|
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
|
|
</head>
|
|
|
|
<body class="min-h-screen bg-gray-50 text-gray-900 antialiased">
|
|
<%= render "layouts/navbar" %>
|
|
|
|
<main class="mx-auto max-w-5xl px-4 py-8 sm:px-6 lg:px-8">
|
|
<%= yield %>
|
|
</main>
|
|
</body>
|
|
</html>
|