Update views/layout.erb for bulma 1.0.2

This commit is contained in:
James 2024-11-01 15:10:17 -05:00
parent 5a91e0d0dd
commit c05c3d3a89

View file

@ -1,16 +1,16 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"/> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title><%= @page_title || "My Website" %></title> <title><%= @page_title || "My Website" %></title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@1.0.2/css/bulma.min.css">
</head> </head>
<body> <body>
<section class="section"> <section class="section">
<div class="container"> <div class="container">
<h1 class="title is-1"><%= @page_title || 'Page Title Placeholder' %></h1> <h1 class="title"><%= @page_title || 'Page Title Placeholder' %></h1>
<% # maybe put a flash section here some day %> <% # maybe put a flash section here some day, what Bulma calls the Hero component I think %>
<%== yield %> <%== yield %>
</div> </div>
</section> </section>