app/views/layouts/component.html.erb in shadcn-ui-0.0.1 vs app/views/layouts/component.html.erb in shadcn-ui-0.0.2

- old
+ new

@@ -1,9 +1,9 @@ <!DOCTYPE html> <html> <head> - <title>ShadcnRails</title> + <title><%= page_title %></title> <meta name="viewport" content="width=device-width,initial-scale=1"> <!--prettier-ignore--> <%= csrf_meta_tags %> @@ -21,10 +21,10 @@ <div class="flex-1"> <div class="border-b"> <div class="container flex-1 items-start md:grid md:grid-cols-[220px_minmax(0,1fr)] md:gap-6 lg:grid-cols-[240px_minmax(0,1fr)] lg:gap-10"> <!--prettier-ignore--> - <%= render 'layouts/sidebar' %> + <%= render 'layouts/shared/sidebar' %> <main class="relative py-6 lg:gap-10 lg:py-8 xl:grid xl:grid-cols-[1fr_300px]"> <div class="mx-auto w-full min-w-0"><%= yield %></div> </main> </div> </div>