adds js and css build, remove importmap, add tailwind and daisy
This commit is contained in:
@ -1,16 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Gateway</title>
|
||||
<meta name="viewport" content="width=device-width,initial-scale=1">
|
||||
<%= csrf_meta_tags %>
|
||||
<%= csp_meta_tag %>
|
||||
|
||||
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
||||
<%= javascript_importmap_tags %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<%= yield %>
|
||||
</body>
|
||||
</html>
|
@ -6,7 +6,7 @@
|
||||
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
|
||||
= csrf_meta_tags
|
||||
= csp_meta_tag
|
||||
= stylesheet_link_tag "application", "data-turbo-track": "reload"
|
||||
= javascript_importmap_tags
|
||||
= stylesheet_link_tag "application"
|
||||
= javascript_include_tag "application", defer: true
|
||||
%body
|
||||
= yield
|
||||
|
@ -1,4 +1,17 @@
|
||||
%h1 Hello Gateway
|
||||
|
||||
%p
|
||||
Gateway to what? And so you may well ask . . .
|
||||
Gateway to what? And so you may well ask . . .
|
||||
|
||||
.card.w-96.bg-base-100.shadow-xl
|
||||
.card-body
|
||||
%h2.card-title Shoes!
|
||||
%p If a dog chews shoes whose shoes does he choose?
|
||||
%figure
|
||||
%img{:alt => "Shoes", :src => "https://api.lorem.space/image/shoes?w=400&h=225"}/
|
||||
.card.w-96.bg-base-100.shadow-xl
|
||||
.card-body
|
||||
%h2.card-title Shoes!
|
||||
%p If a dog chews shoes whose shoes does he choose?
|
||||
%figure
|
||||
%img{:alt => "Shoes", :src => "https://api.lorem.space/image/shoes?w=400&h=225"}/
|
||||
|
Reference in New Issue
Block a user