railsui 3.1.5 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.claude/settings.local.json +10 -0
- data/Gemfile.lock +29 -27
- data/README.md +1 -1
- data/app/assets/images/tailwind-corgie-thumbnail.jpg +0 -0
- data/app/assets/stylesheets/railsui/railsui.css +18 -0
- data/app/helpers/railsui/application_helper.rb +22 -17
- data/app/helpers/railsui/host_route_fallback_helper.rb +18 -0
- data/app/javascript/controllers/alert_controller.js +0 -0
- data/app/models/railsui/default.rb +28 -109
- data/app/views/railsui/admin/fields/_color.html.erb +6 -1
- data/app/views/railsui/admin/fields/_theme.html.erb +16 -8
- data/app/views/railsui/shared/_flash_messages.html.erb +2 -2
- data/app/views/railsui/shared/_full_access_cta.html.erb +27 -0
- data/app/views/railsui/shared/_preview.html.erb +1 -1
- data/app/views/railsui/shared/_rui_email_preview.html.erb +60 -3
- data/app/views/railsui/systems/forms/form_builder.html.erb +171 -0
- data/app/views/railsui/themes/corgie/_components.html.erb +7 -0
- data/app/views/railsui/themes/corgie/_content.html.erb +9 -0
- data/app/views/railsui/themes/corgie/_fonts.html.erb +0 -0
- data/app/views/railsui/themes/corgie/_forms.html.erb +19 -0
- data/app/views/railsui/themes/corgie/_icons.html.erb +125 -0
- data/app/views/railsui/themes/corgie/_nav.html.erb +166 -0
- data/app/views/railsui/themes/corgie/_scaffolds.html.erb +42 -0
- data/app/views/railsui/themes/corgie/authentication/_overview.html.erb +5 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_change_password.html.erb +74 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_confirmation.html.erb +63 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_edit.html.erb +103 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_overview.html.erb +225 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_reset_password.html.erb +60 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_signin.html.erb +93 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_signup.html.erb +98 -0
- data/app/views/railsui/themes/corgie/authentication/devise/_unlocks.html.erb +60 -0
- data/app/views/railsui/themes/corgie/authentication/static/_change_password.html.erb +67 -0
- data/app/views/railsui/themes/corgie/authentication/static/_confirmation.html.erb +58 -0
- data/app/views/railsui/themes/corgie/authentication/static/_overview.html.erb +204 -0
- data/app/views/railsui/themes/corgie/authentication/static/_reset_password.html.erb +59 -0
- data/app/views/railsui/themes/corgie/authentication/static/_signin.html.erb +102 -0
- data/app/views/railsui/themes/corgie/authentication/static/_signup.html.erb +108 -0
- data/app/views/railsui/themes/corgie/authentication/static/_unlocks.html.erb +60 -0
- data/app/views/railsui/themes/corgie/components/_accordion.html.erb +17 -0
- data/app/views/railsui/themes/corgie/components/_alert.html.erb +23 -0
- data/app/views/railsui/themes/corgie/components/_avatar.html.erb +13 -0
- data/app/views/railsui/themes/corgie/components/_badge.html.erb +20 -0
- data/app/views/railsui/themes/corgie/components/_breadcrumb.html.erb +14 -0
- data/app/views/railsui/themes/corgie/components/_button.html.erb +16 -0
- data/app/views/railsui/themes/corgie/components/_card.html.erb +23 -0
- data/app/views/railsui/themes/corgie/components/_combobox.html.erb +11 -0
- data/app/views/railsui/themes/corgie/components/_dropdown.html.erb +22 -0
- data/app/views/railsui/themes/corgie/components/_flash.html.erb +17 -0
- data/app/views/railsui/themes/corgie/components/_modal.html.erb +27 -0
- data/app/views/railsui/themes/corgie/components/_navigation.html.erb +7 -0
- data/app/views/railsui/themes/corgie/components/_pagination.html.erb +15 -0
- data/app/views/railsui/themes/corgie/components/_tab.html.erb +23 -0
- data/app/views/railsui/themes/corgie/components/_toast.html.erb +75 -0
- data/app/views/railsui/themes/corgie/components/_tooltip.html.erb +77 -0
- data/app/views/railsui/themes/corgie/components/accordion/_contained.html.erb +90 -0
- data/app/views/railsui/themes/corgie/components/accordion/_flush.html.erb +92 -0
- data/app/views/railsui/themes/corgie/components/alert/_dismissable.html.erb +45 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_accent_border.html.erb +32 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_actions.html.erb +57 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_description.html.erb +41 -0
- data/app/views/railsui/themes/corgie/components/alert/_with_list.html.erb +46 -0
- data/app/views/railsui/themes/corgie/components/avatar/_circle.html.erb +53 -0
- data/app/views/railsui/themes/corgie/components/avatar/_rounded.html.erb +53 -0
- data/app/views/railsui/themes/corgie/components/badge/_basic.html.erb +70 -0
- data/app/views/railsui/themes/corgie/components/badge/_outline.html.erb +67 -0
- data/app/views/railsui/themes/corgie/components/badge/_pill.html.erb +67 -0
- data/app/views/railsui/themes/corgie/components/badge/_tag.html.erb +277 -0
- data/app/views/railsui/themes/corgie/components/breadcrumb/_article.html.erb +88 -0
- data/app/views/railsui/themes/corgie/components/breadcrumb/_base.html.erb +77 -0
- data/app/views/railsui/themes/corgie/components/button/_base.html.erb +38 -0
- data/app/views/railsui/themes/corgie/components/button/_expanded.html.erb +24 -0
- data/app/views/railsui/themes/corgie/components/button/_sizes.html.erb +31 -0
- data/app/views/railsui/themes/corgie/components/card/_article.html.erb +119 -0
- data/app/views/railsui/themes/corgie/components/card/_base.html.erb +34 -0
- data/app/views/railsui/themes/corgie/components/card/_feature.html.erb +54 -0
- data/app/views/railsui/themes/corgie/components/card/_team_member.html.erb +60 -0
- data/app/views/railsui/themes/corgie/components/card/_value.html.erb +54 -0
- data/app/views/railsui/themes/corgie/components/combobox/_base.html.erb +250 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_base.html.erb +61 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_dropdown.html.erb +24 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_dropdown_w_icon.html.erb +27 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_right_aligned.html.erb +82 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_with_dividers.html.erb +93 -0
- data/app/views/railsui/themes/corgie/components/dropdown/_with_icons.html.erb +85 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_1.html.erb +44 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_2.html.erb +16 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_3.html.erb +16 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_4.html.erb +27 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_dependencies.html.erb +3 -0
- data/app/views/railsui/themes/corgie/components/dropdown/tutorial/_tutorial.html.erb +25 -0
- data/app/views/railsui/themes/corgie/components/flash/_alert.html.erb +29 -0
- data/app/views/railsui/themes/corgie/components/flash/_dynamic.html.erb +46 -0
- data/app/views/railsui/themes/corgie/components/flash/_notice.html.erb +29 -0
- data/app/views/railsui/themes/corgie/components/modal/_base.html.erb +110 -0
- data/app/views/railsui/themes/corgie/components/modal/_centered_dual_action.html.erb +124 -0
- data/app/views/railsui/themes/corgie/components/modal/_dismiss_icon.html.erb +124 -0
- data/app/views/railsui/themes/corgie/components/modal/_settings.html.erb +201 -0
- data/app/views/railsui/themes/corgie/components/modal/_single_action.html.erb +119 -0
- data/app/views/railsui/themes/corgie/components/modal/_with_form.html.erb +148 -0
- data/app/views/railsui/themes/corgie/components/navigation/_base.html.erb +215 -0
- data/app/views/railsui/themes/corgie/components/navigation/_chat.html.erb +194 -0
- data/app/views/railsui/themes/corgie/components/navigation/_nav_preview.html.erb +9 -0
- data/app/views/railsui/themes/corgie/components/pagination/_contained.html.erb +131 -0
- data/app/views/railsui/themes/corgie/components/pagination/_pagy.html.erb +97 -0
- data/app/views/railsui/themes/corgie/components/pagination/_simple.html.erb +114 -0
- data/app/views/railsui/themes/corgie/components/tab/_base.html.erb +101 -0
- data/app/views/railsui/themes/corgie/components/tab/_pills.html.erb +102 -0
- data/app/views/railsui/themes/corgie/components/tab/_rounded.html.erb +104 -0
- data/app/views/railsui/themes/corgie/components/tab/_vertical.html.erb +145 -0
- data/app/views/railsui/themes/corgie/components/tab/_with_icons.html.erb +138 -0
- data/app/views/railsui/themes/corgie/components/toast/_base.html.erb +98 -0
- data/app/views/railsui/themes/corgie/components/tooltip/_base.html.erb +51 -0
- data/app/views/railsui/themes/corgie/content/_image.html.erb +31 -0
- data/app/views/railsui/themes/corgie/content/_table.html.erb +21 -0
- data/app/views/railsui/themes/corgie/content/_typography.html.erb +47 -0
- data/app/views/railsui/themes/corgie/content/image/_object_contain.html.erb +31 -0
- data/app/views/railsui/themes/corgie/content/image/_object_cover.html.erb +32 -0
- data/app/views/railsui/themes/corgie/content/image/_object_fill.html.erb +32 -0
- data/app/views/railsui/themes/corgie/content/image/_object_scale_down.html.erb +34 -0
- data/app/views/railsui/themes/corgie/content/image/_responsive.html.erb +24 -0
- data/app/views/railsui/themes/corgie/content/table/_bordered.html.erb +93 -0
- data/app/views/railsui/themes/corgie/content/table/_borderless.html.erb +92 -0
- data/app/views/railsui/themes/corgie/content/table/_comparison.html.erb +494 -0
- data/app/views/railsui/themes/corgie/content/typography/_blockquote.html.erb +41 -0
- data/app/views/railsui/themes/corgie/content/typography/_display_headings.html.erb +70 -0
- data/app/views/railsui/themes/corgie/content/typography/_fonts.html.erb +30 -0
- data/app/views/railsui/themes/corgie/content/typography/_headings.html.erb +88 -0
- data/app/views/railsui/themes/corgie/content/typography/_inline_formatting.html.erb +44 -0
- data/app/views/railsui/themes/corgie/content/typography/_lead_paragraph.html.erb +26 -0
- data/app/views/railsui/themes/corgie/content/typography/_lists.html.erb +82 -0
- data/app/views/railsui/themes/corgie/content/typography/_paragraphs.html.erb +33 -0
- data/app/views/railsui/themes/corgie/forms/_action_text.html.erb +54 -0
- data/app/views/railsui/themes/corgie/forms/_checkbox.html.erb +60 -0
- data/app/views/railsui/themes/corgie/forms/_form_builder.html.erb +487 -0
- data/app/views/railsui/themes/corgie/forms/_input.html.erb +378 -0
- data/app/views/railsui/themes/corgie/forms/_input_group.html.erb +485 -0
- data/app/views/railsui/themes/corgie/forms/_radio.html.erb +92 -0
- data/app/views/railsui/themes/corgie/forms/_select.html.erb +118 -0
- data/app/views/railsui/themes/corgie/forms/_switch.html.erb +60 -0
- data/app/views/railsui/themes/corgie/forms/_validation.html.erb +52 -0
- data/app/views/railsui/themes/corgie/mailers/_devise.html.erb +44 -0
- data/app/views/railsui/themes/corgie/mailers/_layout.html.erb +536 -0
- data/app/views/railsui/themes/corgie/mailers/_mailer_preview.html.erb +523 -0
- data/app/views/railsui/themes/corgie/mailers/_minimal.html.erb +63 -0
- data/app/views/railsui/themes/corgie/mailers/_promotion.html.erb +62 -0
- data/app/views/railsui/themes/corgie/mailers/_transactional.html.erb +133 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_confirmation_instructions.html.erb +34 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_email_changed.html.erb +32 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_password_changed.html.erb +25 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_reset_password_instructions.html.erb +33 -0
- data/app/views/railsui/themes/corgie/mailers/devise/_unlock_instructions.html.erb +32 -0
- data/app/views/railsui/themes/corgie/scaffolds/_edit.html.erb +88 -0
- data/app/views/railsui/themes/corgie/scaffolds/_index.html.erb +88 -0
- data/app/views/railsui/themes/corgie/scaffolds/_new.html.erb +80 -0
- data/app/views/railsui/themes/corgie/scaffolds/_partial.html.erb +56 -0
- data/app/views/railsui/themes/corgie/scaffolds/_show.html.erb +85 -0
- data/app/views/railsui/themes/hound/_forms.html.erb +2 -0
- data/app/views/railsui/themes/hound/_nav.html.erb +2 -0
- data/app/views/railsui/themes/hound/authentication/devise/_change_password.html.erb +1 -27
- data/app/views/railsui/themes/hound/authentication/devise/_confirmation.html.erb +1 -20
- data/app/views/railsui/themes/hound/authentication/devise/_edit.html.erb +1 -44
- data/app/views/railsui/themes/hound/authentication/devise/_overview.html.erb +3 -51
- data/app/views/railsui/themes/hound/authentication/devise/_reset_password.html.erb +1 -17
- data/app/views/railsui/themes/hound/authentication/devise/_signin.html.erb +1 -30
- data/app/views/railsui/themes/hound/authentication/devise/_signup.html.erb +1 -31
- data/app/views/railsui/themes/hound/authentication/devise/_unlocks.html.erb +1 -17
- data/app/views/railsui/themes/hound/authentication/static/_change_password.html.erb +1 -32
- data/app/views/railsui/themes/hound/authentication/static/_confirmation.html.erb +1 -23
- data/app/views/railsui/themes/hound/authentication/static/_edit.html.erb +1 -39
- data/app/views/railsui/themes/hound/authentication/static/_overview.html.erb +2 -40
- data/app/views/railsui/themes/hound/authentication/static/_reset_password.html.erb +1 -22
- data/app/views/railsui/themes/hound/authentication/static/_signin.html.erb +1 -35
- data/app/views/railsui/themes/hound/authentication/static/_signup.html.erb +1 -31
- data/app/views/railsui/themes/hound/authentication/static/_unlocks.html.erb +1 -20
- data/app/views/railsui/themes/hound/components/_toast.html.erb +0 -3
- data/app/views/railsui/themes/hound/components/accordion/_contained.html.erb +0 -27
- data/app/views/railsui/themes/hound/components/accordion/_flush.html.erb +0 -27
- data/app/views/railsui/themes/hound/components/alert/_dismissable.html.erb +0 -8
- data/app/views/railsui/themes/hound/components/alert/_with_accent_border.html.erb +0 -7
- data/app/views/railsui/themes/hound/components/alert/_with_actions.html.erb +0 -11
- data/app/views/railsui/themes/hound/components/alert/_with_description.html.erb +0 -7
- data/app/views/railsui/themes/hound/components/alert/_with_list.html.erb +0 -8
- data/app/views/railsui/themes/hound/components/avatar/_circle.html.erb +0 -12
- data/app/views/railsui/themes/hound/components/avatar/_rounded.html.erb +0 -12
- data/app/views/railsui/themes/hound/components/badge/_basic.html.erb +0 -22
- data/app/views/railsui/themes/hound/components/badge/_outline.html.erb +0 -22
- data/app/views/railsui/themes/hound/components/badge/_pill.html.erb +0 -22
- data/app/views/railsui/themes/hound/components/badge/_tag.html.erb +0 -52
- data/app/views/railsui/themes/hound/components/breadcrumb/_base.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/breadcrumb/_contained.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/button/_base.html.erb +0 -10
- data/app/views/railsui/themes/hound/components/button/_expanded.html.erb +0 -3
- data/app/views/railsui/themes/hound/components/button/_sizes.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/card/_base.html.erb +0 -6
- data/app/views/railsui/themes/hound/components/card/_user_card.html.erb +0 -13
- data/app/views/railsui/themes/hound/components/card/_user_card_dropdown.html.erb +0 -20
- data/app/views/railsui/themes/hound/components/card/_user_card_with_actions.html.erb +0 -18
- data/app/views/railsui/themes/hound/components/card/_with_action.html.erb +0 -13
- data/app/views/railsui/themes/hound/components/card/_with_header.html.erb +0 -43
- data/app/views/railsui/themes/hound/components/combobox/_base.html.erb +0 -40
- data/app/views/railsui/themes/hound/components/dropdown/_base.html.erb +0 -10
- data/app/views/railsui/themes/hound/components/dropdown/_right_aligned.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/dropdown/_with_dividers.html.erb +0 -14
- data/app/views/railsui/themes/hound/components/dropdown/_with_icons.html.erb +0 -20
- data/app/views/railsui/themes/hound/components/flash/_alert.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/flash/_dynamic.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/flash/_notice.html.erb +0 -5
- data/app/views/railsui/themes/hound/components/modal/_base.html.erb +0 -13
- data/app/views/railsui/themes/hound/components/modal/_centered_dual_action.html.erb +0 -16
- data/app/views/railsui/themes/hound/components/modal/_dismiss_icon.html.erb +0 -20
- data/app/views/railsui/themes/hound/components/modal/_single_action.html.erb +0 -15
- data/app/views/railsui/themes/hound/components/modal/_with_form.html.erb +0 -23
- data/app/views/railsui/themes/hound/components/navigation/_base.html.erb +1 -41
- data/app/views/railsui/themes/hound/components/navigation/_with_action.html.erb +1 -38
- data/app/views/railsui/themes/hound/components/navigation/_with_dropdowns.html.erb +1 -105
- data/app/views/railsui/themes/hound/components/navigation/_with_search.html.erb +1 -41
- data/app/views/railsui/themes/hound/components/pagination/_contained.html.erb +0 -31
- data/app/views/railsui/themes/hound/components/pagination/_minimal.html.erb +0 -27
- data/app/views/railsui/themes/hound/components/pagination/_pagy.html.erb +47 -72
- data/app/views/railsui/themes/hound/components/tab/_base.html.erb +1 -18
- data/app/views/railsui/themes/hound/components/tab/_pills.html.erb +1 -18
- data/app/views/railsui/themes/hound/components/tab/_rounded.html.erb +1 -18
- data/app/views/railsui/themes/hound/components/tab/_with_icons.html.erb +1 -26
- data/app/views/railsui/themes/hound/components/toast/_base.html.erb +0 -16
- data/app/views/railsui/themes/hound/components/tooltip/_base.html.erb +0 -3
- data/app/views/railsui/themes/hound/content/image/_object_contain.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_object_cover.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_object_fill.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_object_scale_down.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/image/_responsive.html.erb +0 -4
- data/app/views/railsui/themes/hound/content/table/_bordered.html.erb +0 -21
- data/app/views/railsui/themes/hound/content/table/_borderless.html.erb +0 -21
- data/app/views/railsui/themes/hound/content/typography/_blockquote.html.erb +0 -9
- data/app/views/railsui/themes/hound/content/typography/_display_headings.html.erb +0 -9
- data/app/views/railsui/themes/hound/content/typography/_headings.html.erb +0 -12
- data/app/views/railsui/themes/hound/content/typography/_inline_formatting.html.erb +0 -20
- data/app/views/railsui/themes/hound/content/typography/_lead_paragraph.html.erb +0 -5
- data/app/views/railsui/themes/hound/content/typography/_lists.html.erb +0 -17
- data/app/views/railsui/themes/hound/content/typography/_paragraphs.html.erb +0 -4
- data/app/views/railsui/themes/hound/forms/_action_text.html.erb +0 -6
- data/app/views/railsui/themes/hound/forms/_checkbox.html.erb +0 -9
- data/app/views/railsui/themes/hound/forms/_form_builder.html.erb +487 -0
- data/app/views/railsui/themes/hound/forms/_input.html.erb +0 -93
- data/app/views/railsui/themes/hound/forms/_input_group.html.erb +0 -83
- data/app/views/railsui/themes/hound/forms/_radio.html.erb +0 -13
- data/app/views/railsui/themes/hound/forms/_select.html.erb +0 -16
- data/app/views/railsui/themes/hound/forms/_switch.html.erb +0 -9
- data/app/views/railsui/themes/hound/forms/_validation.html.erb +0 -15
- data/app/views/railsui/themes/hound/mailers/_layout.html.erb +1 -432
- data/app/views/railsui/themes/hound/mailers/_minimal.html.erb +1 -16
- data/app/views/railsui/themes/hound/mailers/_promotion.html.erb +1 -20
- data/app/views/railsui/themes/hound/mailers/_transactional.html.erb +1 -43
- data/app/views/railsui/themes/hound/mailers/devise/_confirmation_instructions.html.erb +1 -9
- data/app/views/railsui/themes/hound/mailers/devise/_email_changed.html.erb +1 -13
- data/app/views/railsui/themes/hound/mailers/devise/_password_changed.html.erb +1 -7
- data/app/views/railsui/themes/hound/mailers/devise/_reset_password_instructions.html.erb +1 -9
- data/app/views/railsui/themes/hound/mailers/devise/_unlock_instructions.html.erb +1 -9
- data/app/views/railsui/themes/hound/scaffolds/_edit.html.erb +1 -19
- data/app/views/railsui/themes/hound/scaffolds/_index.html.erb +1 -14
- data/app/views/railsui/themes/hound/scaffolds/_new.html.erb +1 -17
- data/app/views/railsui/themes/hound/scaffolds/_partial.html.erb +1 -17
- data/app/views/railsui/themes/hound/scaffolds/_show.html.erb +1 -20
- data/app/views/railsui/themes/shepherd/_forms.html.erb +5 -3
- data/app/views/railsui/themes/shepherd/_nav.html.erb +2 -0
- data/app/views/railsui/themes/shepherd/authentication/devise/_change_password.html.erb +1 -23
- data/app/views/railsui/themes/shepherd/authentication/devise/_confirmation.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/devise/_edit.html.erb +1 -74
- data/app/views/railsui/themes/shepherd/authentication/devise/_overview.html.erb +2 -57
- data/app/views/railsui/themes/shepherd/authentication/devise/_reset_password.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/devise/_signin.html.erb +1 -25
- data/app/views/railsui/themes/shepherd/authentication/devise/_signup.html.erb +1 -26
- data/app/views/railsui/themes/shepherd/authentication/devise/_unlocks.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/static/_change_password.html.erb +1 -23
- data/app/views/railsui/themes/shepherd/authentication/static/_confirmation.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/static/_edit.html.erb +1 -67
- data/app/views/railsui/themes/shepherd/authentication/static/_overview.html.erb +1 -56
- data/app/views/railsui/themes/shepherd/authentication/static/_reset_password.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/authentication/static/_signin.html.erb +1 -24
- data/app/views/railsui/themes/shepherd/authentication/static/_signup.html.erb +1 -26
- data/app/views/railsui/themes/shepherd/authentication/static/_unlocks.html.erb +1 -16
- data/app/views/railsui/themes/shepherd/components/_toast.html.erb +0 -3
- data/app/views/railsui/themes/shepherd/components/accordion/_contained.html.erb +0 -28
- data/app/views/railsui/themes/shepherd/components/accordion/_flush.html.erb +0 -27
- data/app/views/railsui/themes/shepherd/components/alert/_dismissable.html.erb +0 -8
- data/app/views/railsui/themes/shepherd/components/alert/_with_accent_border.html.erb +0 -6
- data/app/views/railsui/themes/shepherd/components/alert/_with_actions.html.erb +0 -11
- data/app/views/railsui/themes/shepherd/components/alert/_with_description.html.erb +0 -7
- data/app/views/railsui/themes/shepherd/components/alert/_with_list.html.erb +0 -8
- data/app/views/railsui/themes/shepherd/components/avatar/_circle.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/avatar/_rounded.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/badge/_basic.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/badge/_outline.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/badge/_pill.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/badge/_tag.html.erb +0 -52
- data/app/views/railsui/themes/shepherd/components/breadcrumb/_base.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/breadcrumb/_contained.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/button/_base.html.erb +0 -17
- data/app/views/railsui/themes/shepherd/components/button/_expanded.html.erb +0 -3
- data/app/views/railsui/themes/shepherd/components/button/_sizes.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/card/_base.html.erb +0 -6
- data/app/views/railsui/themes/shepherd/components/card/_property_card.html.erb +0 -28
- data/app/views/railsui/themes/shepherd/components/card/_property_user_card.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/card/_user_card_with_actions.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/card/_with_action.html.erb +0 -7
- data/app/views/railsui/themes/shepherd/components/card/_with_header.html.erb +0 -7
- data/app/views/railsui/themes/shepherd/components/combobox/_base.html.erb +0 -40
- data/app/views/railsui/themes/shepherd/components/datalist/_booking_list.html.erb +0 -45
- data/app/views/railsui/themes/shepherd/components/datalist/_property_list.html.erb +0 -47
- data/app/views/railsui/themes/shepherd/components/dropdown/_base.html.erb +0 -10
- data/app/views/railsui/themes/shepherd/components/dropdown/_right_aligned.html.erb +0 -13
- data/app/views/railsui/themes/shepherd/components/dropdown/_with_dividers.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/dropdown/_with_menu_icons.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/components/flash/_alert.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/flash/_dynamic.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/flash/_notice.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/components/modal/_base.html.erb +0 -12
- data/app/views/railsui/themes/shepherd/components/modal/_centered_dual_action.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/components/modal/_dismiss_icon.html.erb +0 -23
- data/app/views/railsui/themes/shepherd/components/modal/_single_action.html.erb +0 -14
- data/app/views/railsui/themes/shepherd/components/modal/_with_form.html.erb +0 -23
- data/app/views/railsui/themes/shepherd/components/navigation/_base.html.erb +0 -81
- data/app/views/railsui/themes/shepherd/components/navigation/_logged_out.html.erb +0 -22
- data/app/views/railsui/themes/shepherd/components/navigation/_with_dropdowns.html.erb +0 -88
- data/app/views/railsui/themes/shepherd/components/navigation/_with_search.html.erb +1 -83
- data/app/views/railsui/themes/shepherd/components/pagination/_contained.html.erb +0 -31
- data/app/views/railsui/themes/shepherd/components/pagination/_dark.html.erb +0 -31
- data/app/views/railsui/themes/shepherd/components/pagination/_pagy.html.erb +53 -98
- data/app/views/railsui/themes/shepherd/components/pagination/_simple.html.erb +0 -27
- data/app/views/railsui/themes/shepherd/components/tab/_base.html.erb +1 -18
- data/app/views/railsui/themes/shepherd/components/tab/_pills.html.erb +1 -18
- data/app/views/railsui/themes/shepherd/components/tab/_rounded.html.erb +1 -18
- data/app/views/railsui/themes/shepherd/components/tab/_with_icons.html.erb +1 -26
- data/app/views/railsui/themes/shepherd/components/toast/_base.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/components/tooltip/_base.html.erb +0 -3
- data/app/views/railsui/themes/shepherd/content/_image_old.html.erb +0 -20
- data/app/views/railsui/themes/shepherd/content/image/_object_contain.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_object_cover.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_object_fill.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_object_scale_down.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/image/_responsive.html.erb +0 -4
- data/app/views/railsui/themes/shepherd/content/table/_bordered.html.erb +0 -21
- data/app/views/railsui/themes/shepherd/content/table/_borderless.html.erb +0 -21
- data/app/views/railsui/themes/shepherd/content/typography/_blockquote.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/content/typography/_display_headings.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/content/typography/_headings.html.erb +0 -15
- data/app/views/railsui/themes/shepherd/content/typography/_inline_formatting.html.erb +0 -21
- data/app/views/railsui/themes/shepherd/content/typography/_lead_paragraph.html.erb +0 -5
- data/app/views/railsui/themes/shepherd/content/typography/_lists.html.erb +0 -17
- data/app/views/railsui/themes/shepherd/content/typography/_paragraphs.html.erb +0 -4
- data/app/views/railsui/themes/shepherd/forms/_action_text.html.erb +0 -6
- data/app/views/railsui/themes/shepherd/forms/_checkbox.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/forms/_form_builder.html.erb +487 -0
- data/app/views/railsui/themes/shepherd/forms/_input.html.erb +0 -119
- data/app/views/railsui/themes/shepherd/forms/_input_group.html.erb +0 -81
- data/app/views/railsui/themes/shepherd/forms/_radio.html.erb +0 -13
- data/app/views/railsui/themes/shepherd/forms/_select.html.erb +0 -16
- data/app/views/railsui/themes/shepherd/forms/_switch.html.erb +0 -9
- data/app/views/railsui/themes/shepherd/forms/_validation.html.erb +0 -11
- data/app/views/railsui/themes/shepherd/mailers/_layout.html.erb +1 -493
- data/app/views/railsui/themes/shepherd/mailers/_minimal.html.erb +1 -16
- data/app/views/railsui/themes/shepherd/mailers/_promotion.html.erb +1 -20
- data/app/views/railsui/themes/shepherd/mailers/_transactional.html.erb +1 -43
- data/app/views/railsui/themes/shepherd/mailers/devise/_confirmation_instructions.html.erb +1 -9
- data/app/views/railsui/themes/shepherd/mailers/devise/_email_changed.html.erb +1 -12
- data/app/views/railsui/themes/shepherd/mailers/devise/_password_changed.html.erb +1 -7
- data/app/views/railsui/themes/shepherd/mailers/devise/_reset_password_instructions.html.erb +1 -9
- data/app/views/railsui/themes/shepherd/mailers/devise/_unlock_instructions.html.erb +1 -9
- data/app/views/railsui/themes/shepherd/scaffolds/_edit.html.erb +1 -19
- data/app/views/railsui/themes/shepherd/scaffolds/_index.html.erb +1 -11
- data/app/views/railsui/themes/shepherd/scaffolds/_new.html.erb +1 -17
- data/app/views/railsui/themes/shepherd/scaffolds/_partial.html.erb +1 -17
- data/app/views/railsui/themes/shepherd/scaffolds/_show.html.erb +1 -18
- data/config/pages.yml +103 -0
- data/config/routes.rb +6 -5
- data/config/theme.yml +2 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/auth-bg.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog-feature.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog1.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog2.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog3.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog4.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog5.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog6.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog7.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog8.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/blog9.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/copy.svg +6 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/pencil.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/scroll-text.svg +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/facebook.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/github.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/google.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/instagram.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/linkedin.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/twitter.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/x.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/social/youtube.svg +1 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/stethoscope.svg +8 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/icons/test-tubes.svg +11 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/logo.svg +10 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/android-chrome-192x192.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/android-chrome-512x512.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/apple-touch-icon.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon-16x16.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon-32x32.png +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon.ico +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/favicon.svg +20 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/opengraph-mark.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/opengraph.jpg +0 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/meta/site.webmanifest +19 -0
- data/lib/generators/railsui/install/templates/themes/corgie/images/railsui/railsui.svg +3 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/character_count_controller.js +134 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/chat_controller.js +45 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/help_search_controller.js +333 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/highlight_controller.js +13 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/markdown_controller.js +106 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/search_controller.js +311 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/sidebar_controller.js +105 -0
- data/lib/generators/railsui/install/templates/themes/corgie/javascript/controllers/railsui/snippet_controller.js +223 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/minimal.html.erb +21 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/minimal.text.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/promotion.html.erb +23 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/promotion.text.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/transactional.html.erb +55 -0
- data/lib/generators/railsui/install/templates/themes/corgie/mail/railsui_mailer/transactional.text.erb +22 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/actiontext.css +173 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/blog.css +29 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/buttons.css +49 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/card.css +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/chat.css +27 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/code.css +233 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/dropdown.css +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/forms.css +321 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/sidebar.css +15 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/tailwind.config.js +24 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/theme.css +77 -0
- data/lib/generators/railsui/install/templates/themes/corgie/stylesheets/railsui/typography.css +47 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui.html.erb +31 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui_admin.html.erb +30 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui_auth.html.erb +50 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/layouts/rui/railsui_mailer.html.erb +503 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/about.html.erb +278 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/blog.html.erb +258 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/blog_category.html.erb +261 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/blog_show.html.erb +429 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/chat_new.html.erb +68 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/chat_show.html.erb +152 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/features.html.erb +356 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/help.html.erb +123 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/home.html.erb +252 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/pricing.html.erb +397 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/privacy.html.erb +140 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/signin.html.erb +38 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/signup.html.erb +48 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/terms.html.erb +182 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_account_dropdown.html.erb +46 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_email_action.html.erb +15 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_email_callout.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_email_spacer.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_error_messages.html.erb +10 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_faq.html.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_flash.html.erb +11 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_fonts.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_footer.html.erb +72 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_header.html.erb +15 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_meta.html.erb +90 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_nav.html.erb +3 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_railsui_head.html.erb +4 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_search.html.erb +32 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_sidebar.html.erb +7 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/_waves.html.erb +47 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/blog/_article.html.erb +39 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/blog/_pagination.html.erb +21 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_disclaimer.html.erb +4 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_form.html.erb +62 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_header.html.erb +47 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_history.html.erb +36 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_key_legend.html.erb +11 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_link.html.erb +17 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_message.html.erb +69 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/chat/_model_select.html.erb +55 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_cta_section.html.erb +16 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_feature_card.html.erb +23 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_feature_check_item.html.erb +6 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/common/_social_auth_buttons.html.erb +22 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/help/_categories.html.erb +82 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/help/_faq.html.erb +45 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/help/_quick_actions.html.erb +46 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/marketing/_career.html.erb +9 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/marketing/_nav.html.erb +57 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/marketing/_team_member_card.html.erb +16 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/_modal.html.erb +84 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/_nav_item.html.erb +14 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_billing.html.erb +120 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_data_controls.html.erb +69 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_general.html.erb +92 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_notifications.html.erb +102 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_personalization.html.erb +100 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_security.html.erb +98 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/settings/panels/_title.html.erb +5 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_actions.html.erb +39 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_header.html.erb +40 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_history.html.erb +36 -0
- data/lib/generators/railsui/install/templates/themes/corgie/views/rui/shared/sidebar/_link.html.erb +23 -0
- data/lib/generators/railsui/install/templates/themes/hound/stylesheets/railsui/forms.css +18 -4
- data/lib/generators/railsui/install/templates/themes/hound/stylesheets/railsui/theme.css +3 -2
- data/lib/generators/railsui/install/templates/themes/shepherd/stylesheets/railsui/forms.css +12 -2
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/_form.html.erb.tt +52 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/edit.html.erb.tt +25 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/index.html.erb.tt +12 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/new.html.erb.tt +22 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/partial.html.erb.tt +22 -0
- data/lib/generators/railsui/scaffold/templates/themes/corgie/views/show.html.erb.tt +24 -0
- data/lib/generators/railsui/scaffold/templates/themes/hound/views/_form.html.erb.tt +29 -24
- data/lib/generators/railsui/scaffold/templates/themes/shepherd/views/_form.html.erb.tt +28 -26
- data/lib/railsui/configuration.rb +22 -21
- data/lib/railsui/engine.rb +26 -20
- data/lib/railsui/form_builder.rb +307 -0
- data/lib/railsui/pages.rb +14 -3
- data/lib/railsui/theme_helper.rb +8 -8
- data/lib/railsui/theme_setup.rb +83 -49
- data/lib/railsui/themes.rb +3 -4
- data/lib/railsui/version.rb +1 -1
- data/lib/railsui.rb +9 -6
- data/lib/tasks/install.rake +1 -1
- data/lib/tasks/pages.rake +1 -1
- data/lib/tasks/stimulus.rake +1 -1
- metadata +287 -5
- data/.standard.yml +0 -3
- data/CHANGELOG.md +0 -9
- data/config/colors.yml +0 -50
data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/blog_show.html.erb
ADDED
@@ -0,0 +1,429 @@
|
|
1
|
+
<div class="bg-white dark:bg-neutral-900">
|
2
|
+
<%= render "rui/shared/marketing/nav" %>
|
3
|
+
</div>
|
4
|
+
|
5
|
+
<!-- Article Header -->
|
6
|
+
<div class="relative pt-16 bg-white dark:bg-neutral-900">
|
7
|
+
<div class="max-w-5xl px-4 mx-auto sm:px-6 lg:px-8">
|
8
|
+
<!-- Breadcrumb -->
|
9
|
+
<nav class="flex mb-8" aria-label="Breadcrumb">
|
10
|
+
<ol class="inline-flex items-center gap-2 md:gap-3">
|
11
|
+
<li class="inline-flex items-center">
|
12
|
+
<%= link_to root_path, class: "inline-flex items-center gap-3 text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 group" do %>
|
13
|
+
<%= icon "home", class:"size-5 stroke-current stroke-neutral-500 dark:stroke-neutral-400
|
14
|
+
dark:group-hover:stroke-neutral-300 group-hover:stroke-neutral-600" %>
|
15
|
+
<% end %>
|
16
|
+
</li>
|
17
|
+
<li>
|
18
|
+
<div class="flex items-center gap-3">
|
19
|
+
<%= icon "chevron-right", class:"size-4 stroke-current stroke-neutral-400 dark:stroke-neutral-500" %>
|
20
|
+
<%= link_to "Blog", rui_blog_path, class: "inline-flex items-center gap-3 text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 group" %>
|
21
|
+
</div>
|
22
|
+
</li>
|
23
|
+
<li>
|
24
|
+
<div class="flex items-center gap-3">
|
25
|
+
<%= icon "chevron-right", class:"size-4 stroke-current stroke-neutral-400 dark:stroke-neutral-500" %>
|
26
|
+
<span
|
27
|
+
class="text-sm font-medium text-neutral-700 hover:text-neutral-800 dark:text-neutral-400 dark:hover:text-neutral-300 truncate flex-1 md:w-full w-40">The Future of AI Assistants: What's Coming Next</span>
|
28
|
+
</div>
|
29
|
+
</li>
|
30
|
+
</ol>
|
31
|
+
</nav>
|
32
|
+
|
33
|
+
<!-- Article Meta -->
|
34
|
+
<div class="mb-8">
|
35
|
+
<div class="flex items-center mb-4 text-sm text-neutral-500">
|
36
|
+
<span class="px-3 py-1 text-xs font-medium rounded-full text-neutral-800 bg-neutral-100">Technology</span>
|
37
|
+
<span class="mx-2">•</span>
|
38
|
+
<time datetime="2024-01-15">January 15, 2024</time>
|
39
|
+
<span class="mx-2">•</span>
|
40
|
+
<span>10 min read</span>
|
41
|
+
</div>
|
42
|
+
|
43
|
+
<h1 class="my-6 md:display-3 display-5">
|
44
|
+
The Future of AI Assistants: What's Coming Next
|
45
|
+
</h1>
|
46
|
+
|
47
|
+
<div class="mb-10 prose-xl prose-neutral dark:prose-invert">
|
48
|
+
<p>
|
49
|
+
Explore the cutting-edge developments in AI technology and how they're shaping the next generation of
|
50
|
+
intelligent assistants. From improved reasoning to multimodal capabilities, discover what's on the horizon.
|
51
|
+
</p>
|
52
|
+
</div>
|
53
|
+
|
54
|
+
<!-- Author Info -->
|
55
|
+
<div class="flex items-center pb-8 mb-8 border-b border-neutral-200 dark:border-neutral-700/80 gap-6">
|
56
|
+
<%= image_tag demo_avatar_url(variant: :men, id: 31), alt: "John Rodgers", class: "object-cover rounded-full size-16" %>
|
57
|
+
<div class="flex-1">
|
58
|
+
<p class="text-lg font-medium text-neutral-900 dark:text-white">John Rodgers</p>
|
59
|
+
<p class="text-sm text-neutral-500 dark:text-neutral-400">AI Research Lead</p>
|
60
|
+
<p class="mt-1 text-xs text-neutral-500">PhD in Computer Science, Stanford University</p>
|
61
|
+
</div>
|
62
|
+
<div class="flex ml-auto gap-4">
|
63
|
+
<%= link_to "#", class: "text-neutral-400 hover:text-neutral-500" do %>
|
64
|
+
<span class="sr-only">X</span>
|
65
|
+
<%= icon "x", custom_path: "/social/x.svg", class: "size-5", variant: :solid %>
|
66
|
+
<% end %>
|
67
|
+
|
68
|
+
<%= link_to "#", class: "text-neutral-400 hover:text-neutral-500" do %>
|
69
|
+
<span class="sr-only">LinkedIn</span>
|
70
|
+
<%= icon "linkedin", custom_path: "/social/linkedin.svg", class: "size-5", variant: :solid %>
|
71
|
+
<% end %>
|
72
|
+
</div>
|
73
|
+
</div>
|
74
|
+
</div>
|
75
|
+
</div>
|
76
|
+
|
77
|
+
|
78
|
+
<!-- Featured Image -->
|
79
|
+
<div class="max-w-6xl px-4 mx-auto mb-12 sm:px-6 lg:px-8">
|
80
|
+
<div class="overflow-hidden rounded-3xl aspect-video shadow-xl shadow-neutral-300/50 dark:shadow-neutral-950/50">
|
81
|
+
<%= image_tag "railsui/blog-feature.jpg", class: "object-cover w-full h-full" %>
|
82
|
+
</div>
|
83
|
+
<p class="mt-4 text-sm text-center text-neutral-500">The future of AI technology continues to evolve rapidly</p>
|
84
|
+
</div>
|
85
|
+
|
86
|
+
<!-- Article Content -->
|
87
|
+
<div class="max-w-4xl px-4 mx-auto sm:px-6 lg:px-8">
|
88
|
+
<div class="blog-content">
|
89
|
+
<h2>The Current State of AI Assistants</h2>
|
90
|
+
|
91
|
+
<p>
|
92
|
+
Artificial Intelligence assistants have come a long way since their inception. Today's AI systems can engage in
|
93
|
+
natural conversations, understand context, and help with a wide variety of tasks. But we're just scratching the
|
94
|
+
surface of what's possible.
|
95
|
+
</p>
|
96
|
+
|
97
|
+
<p>
|
98
|
+
At Corgie AI, we've been working on the next generation of conversational AI that goes beyond simple
|
99
|
+
question-and-answer interactions. Our goal is to create AI that truly understands and assists with complex,
|
100
|
+
multi-step tasks.
|
101
|
+
</p>
|
102
|
+
|
103
|
+
<blockquote>
|
104
|
+
<p>"The future of AI isn't about replacing human intelligence, but augmenting it in ways that make us more
|
105
|
+
creative, productive, and capable."</p>
|
106
|
+
</blockquote>
|
107
|
+
|
108
|
+
<h2>Emerging Capabilities</h2>
|
109
|
+
|
110
|
+
<h3>Multimodal Understanding</h3>
|
111
|
+
|
112
|
+
<p>
|
113
|
+
One of the most exciting developments in AI is the ability to process and understand multiple types of input
|
114
|
+
simultaneously. This means AI assistants can:
|
115
|
+
</p>
|
116
|
+
|
117
|
+
<ul>
|
118
|
+
<li>Analyze images and provide detailed descriptions</li>
|
119
|
+
<li>Process documents and extract key information</li>
|
120
|
+
<li>Understand charts, graphs, and data visualizations</li>
|
121
|
+
<li>Work with audio and video content</li>
|
122
|
+
</ul>
|
123
|
+
|
124
|
+
<div
|
125
|
+
class="p-4 my-8 text-sm border-l-4 rounded-r-sm border-neutral-400 bg-neutral-50 not-prose dark:bg-neutral-700 dark:text-neutral-100">
|
126
|
+
<p>
|
127
|
+
<strong>Pro Tip:</strong> When working with multimodal AI, try combining different types of input for more
|
128
|
+
comprehensive analysis. For example, upload a chart and ask questions about the data it represents.
|
129
|
+
</p>
|
130
|
+
</div>
|
131
|
+
|
132
|
+
<h3>Advanced Reasoning</h3>
|
133
|
+
|
134
|
+
<p>
|
135
|
+
Future AI systems will demonstrate more sophisticated reasoning capabilities, including:
|
136
|
+
</p>
|
137
|
+
|
138
|
+
<ol>
|
139
|
+
<li><strong>Causal reasoning:</strong> Understanding cause-and-effect relationships</li>
|
140
|
+
<li><strong>Analogical thinking:</strong> Drawing parallels between different concepts</li>
|
141
|
+
<li><strong>Strategic planning:</strong> Breaking down complex goals into actionable steps</li>
|
142
|
+
<li><strong>Metacognition:</strong> Thinking about thinking and understanding limitations</li>
|
143
|
+
</ol>
|
144
|
+
|
145
|
+
<h2>Real-World Applications</h2>
|
146
|
+
|
147
|
+
<p>
|
148
|
+
These advances translate into practical benefits across numerous domains:
|
149
|
+
</p>
|
150
|
+
|
151
|
+
<h3>Healthcare</h3>
|
152
|
+
|
153
|
+
<p>
|
154
|
+
AI assistants will help healthcare professionals by analyzing medical images, suggesting treatment options, and
|
155
|
+
managing patient data more effectively. They'll also assist patients in understanding their conditions and
|
156
|
+
treatment plans.
|
157
|
+
</p>
|
158
|
+
|
159
|
+
<h3>Education</h3>
|
160
|
+
|
161
|
+
<p>
|
162
|
+
Personalized tutoring systems will adapt to individual learning styles, provide instant feedback, and create
|
163
|
+
customized learning paths. Students will have access to AI tutors available 24/7.
|
164
|
+
</p>
|
165
|
+
|
166
|
+
<h3>Creative Industries</h3>
|
167
|
+
|
168
|
+
<p>
|
169
|
+
AI will become a powerful creative partner, helping writers overcome writer's block, assisting designers with
|
170
|
+
ideation, and enabling musicians to explore new compositions.
|
171
|
+
</p>
|
172
|
+
|
173
|
+
<div class="pt-6 my-8 rounded-3xl bg-neutral-900 text-neutral-100 not-prose overflow-hidden relative">
|
174
|
+
<div class="inset-0 rounded-3xl h-full w-full bg-linear-to-r from-blue-600 to-pink-400 z-0 absolute opacity-20">
|
175
|
+
</div>
|
176
|
+
<div class="relative z-10">
|
177
|
+
<p class="text-white text-center font-medium text-sm pb-6 border-b border-neutral-700/60">Key Statistics
|
178
|
+
</p>
|
179
|
+
<div class="grid grid-cols-1 md:grid-cols-3 md:divide-x divide-neutral-700/80 items-start">
|
180
|
+
<div class="text-center p-4">
|
181
|
+
<div class="text-3xl font-bold text-neutral-100 mb-2">85%</div>
|
182
|
+
<div class="text-sm text-neutral-300">Improvement in speed</div>
|
183
|
+
</div>
|
184
|
+
<div class="text-center p-4">
|
185
|
+
<div class="text-3xl font-bold text-neutral-100 mb-2">12x</div>
|
186
|
+
<div class="text-sm text-neutral-300">Faster information processing</div>
|
187
|
+
</div>
|
188
|
+
<div class="text-center p-4">
|
189
|
+
<div class="text-3xl font-bold text-neutral-100 mb-2">94%</div>
|
190
|
+
<div class="text-sm text-neutral-300">User satisfaction rate</div>
|
191
|
+
</div>
|
192
|
+
</div>
|
193
|
+
</div>
|
194
|
+
</div>
|
195
|
+
|
196
|
+
<h2>Challenges and Considerations</h2>
|
197
|
+
|
198
|
+
<p>
|
199
|
+
While the future of AI assistants is bright, there are important challenges to address:
|
200
|
+
</p>
|
201
|
+
|
202
|
+
<h3>Privacy and Security</h3>
|
203
|
+
|
204
|
+
<p>
|
205
|
+
As AI systems become more capable and handle more sensitive information, ensuring robust privacy protection and
|
206
|
+
security measures becomes paramount. We must build systems that users can trust with their personal and
|
207
|
+
professional data.
|
208
|
+
</p>
|
209
|
+
|
210
|
+
<h3>Ethical AI Development</h3>
|
211
|
+
|
212
|
+
<p>
|
213
|
+
Developing AI responsibly means considering the societal impact, ensuring fairness across different groups, and
|
214
|
+
maintaining transparency in how AI systems make decisions.
|
215
|
+
</p>
|
216
|
+
|
217
|
+
<h3>Human-AI Collaboration</h3>
|
218
|
+
|
219
|
+
<p>
|
220
|
+
The goal isn't to replace human intelligence but to create systems that complement and enhance human
|
221
|
+
capabilities. Finding the right balance between automation and human oversight is crucial.
|
222
|
+
</p>
|
223
|
+
|
224
|
+
<h2>What's Next for Corgie AI</h2>
|
225
|
+
|
226
|
+
<p>
|
227
|
+
At Corgie AI, we're committed to pushing the boundaries of what's possible while maintaining our focus on
|
228
|
+
safety, reliability, and user benefit. Our roadmap includes:
|
229
|
+
</p>
|
230
|
+
|
231
|
+
<ul>
|
232
|
+
<li>Enhanced multimodal capabilities for richer interactions</li>
|
233
|
+
<li>Improved reasoning and problem-solving abilities</li>
|
234
|
+
<li>Better context understanding for longer conversations</li>
|
235
|
+
<li>Specialized tools for specific professional domains</li>
|
236
|
+
</ul>
|
237
|
+
|
238
|
+
<h2>Conclusion</h2>
|
239
|
+
|
240
|
+
<p>
|
241
|
+
The future of AI assistants is incredibly promising. As these systems become more capable, they'll transform how
|
242
|
+
we work, learn, and create. The key is ensuring that this transformation benefits everyone and enhances rather
|
243
|
+
than replaces human potential.
|
244
|
+
</p>
|
245
|
+
|
246
|
+
<p>
|
247
|
+
We're excited to be part of this journey and look forward to sharing more insights as we continue to develop the
|
248
|
+
next generation of AI assistance.
|
249
|
+
</p>
|
250
|
+
|
251
|
+
<div class="not-prose">
|
252
|
+
<div
|
253
|
+
class="p-6 my-8 rounded-3xl outline-1 outline-neutral-300/80 bg-neutral-50 shadow-xs dark:bg-neutral-700/80 dark:outline-neutral-600">
|
254
|
+
<h4 class="font-semibold text-xl">Try Corgie AI Today</h4>
|
255
|
+
|
256
|
+
<div class="prose prose-neutral mb-4 mt-2 dark:prose-invert">
|
257
|
+
<p>Experience the future of AI assistance with our advanced conversational AI system.</p>
|
258
|
+
</div>
|
259
|
+
|
260
|
+
<%= link_to rui_chat_new_path, class: "btn btn-primary group" do %>
|
261
|
+
Start Chatting
|
262
|
+
<%= icon "arrow-right", class: "size-3 stroke-current group-hover:translate-x-0.5 transition ease-in duration-200" %>
|
263
|
+
<% end %>
|
264
|
+
</div>
|
265
|
+
</div>
|
266
|
+
|
267
|
+
</div>
|
268
|
+
</div>
|
269
|
+
|
270
|
+
<!-- Article Footer -->
|
271
|
+
<div class="max-w-4xl px-4 py-12 mx-auto sm:px-6 lg:px-8">
|
272
|
+
|
273
|
+
<!-- Tags -->
|
274
|
+
<div class="mb-8">
|
275
|
+
<h3 class="mb-4 text-sm font-semibold tracking-wide uppercase text-neutral-500">Tags</h3>
|
276
|
+
<div class="flex flex-wrap gap-2">
|
277
|
+
<span
|
278
|
+
class="inline-flex items-center px-3 py-1 text-sm rounded-full text-neutral-800 bg-neutral-100 dark:bg-neutral-600 dark:text-neutral-100">#artificial-intelligence</span>
|
279
|
+
<span
|
280
|
+
class="inline-flex items-center px-3 py-1 text-sm rounded-full text-neutral-800 bg-neutral-100 dark:bg-neutral-600 dark:text-neutral-100">#machine-learning</span>
|
281
|
+
<span
|
282
|
+
class="inline-flex items-center px-3 py-1 text-sm rounded-full text-neutral-800 bg-neutral-100 dark:bg-neutral-600 dark:text-neutral-100">#conversational-ai</span>
|
283
|
+
<span
|
284
|
+
class="inline-flex items-center px-3 py-1 text-sm rounded-full text-neutral-800 bg-neutral-100 dark:bg-neutral-600 dark:text-neutral-100">#technology</span>
|
285
|
+
<span
|
286
|
+
class="inline-flex items-center px-3 py-1 text-sm rounded-full text-neutral-800 bg-neutral-100 dark:bg-neutral-600 dark:text-neutral-100">#future-tech</span>
|
287
|
+
</div>
|
288
|
+
</div>
|
289
|
+
|
290
|
+
<!-- Share buttons -->
|
291
|
+
<div class="pt-8 mb-8 border-t border-neutral-200 dark:border-neutral-700/80">
|
292
|
+
<h3 class="mb-4 text-sm font-semibold tracking-wide uppercase text-neutral-500">Share this article</h3>
|
293
|
+
<div class="flex gap-4">
|
294
|
+
<%= link_to "#", class: "btn btn-white" do %>
|
295
|
+
<span class="sr-only">X</span>
|
296
|
+
<%= icon "x", custom_path: "/social/x.svg", class: "size-5 fill-current fill-neutral-600 dark:fill-neutral-400", variant: :solid %>
|
297
|
+
<% end %>
|
298
|
+
|
299
|
+
<%= link_to "#", class: "btn btn-white" do %>
|
300
|
+
<span class="sr-only">LinkedIn</span>
|
301
|
+
<%= icon "linkedin", custom_path: "/social/linkedin.svg", class: "size-5 fill-current fill-neutral-600 dark:fill-neutral-400", variant: :solid %>
|
302
|
+
<% end %>
|
303
|
+
|
304
|
+
<%= link_to "#", class: "btn btn-white" do %>
|
305
|
+
<span class="sr-only">GitHub</span>
|
306
|
+
<%= icon "github", custom_path: "/social/github.svg", class: "size-5 fill-current fill-neutral-600 dark:fill-neutral-400", variant: :solid %>
|
307
|
+
<% end %>
|
308
|
+
|
309
|
+
<button type="button" class="btn btn-white" data-controller="railsui-clipboard" data-action="click->railsui-clipboard#copy">
|
310
|
+
<%= icon "link", class: "size-5 stroke-current stroke-neutral-600 dark:stroke-neutral-400" %>
|
311
|
+
<span class="sr-only">Copy Link</span>
|
312
|
+
<input type="hidden" value="<%= rui_blog_show_url %>">
|
313
|
+
</button>
|
314
|
+
</div>
|
315
|
+
</div>
|
316
|
+
|
317
|
+
<!-- Author bio -->
|
318
|
+
<div class="mb-10 pt-6">
|
319
|
+
<div class="flex items-start">
|
320
|
+
<%= image_tag demo_avatar_url(variant: :men, id: 31), alt: "John Rogers", class: "object-cover rounded-full size-16" %>
|
321
|
+
<div class="ml-4">
|
322
|
+
<h4 class="text-lg font-semibold text-neutral-900 dark:text-neutral-100">John Rogers</h4>
|
323
|
+
<p class="mb-2 text-sm text-neutral-600">AI Research Lead</p>
|
324
|
+
|
325
|
+
<div class="prose prose-neutral dark:prose-invert">
|
326
|
+
<p>John leads our AI research team and has over 10 years of experience in machine learning and natural
|
327
|
+
language processing. He holds a PhD from Stanford University and has published numerous papers on
|
328
|
+
conversational AI.</p>
|
329
|
+
</div>
|
330
|
+
<div class="flex mt-3 gap-4">
|
331
|
+
<%= link_to "#", class: "text-neutral-500 hover:text-neutral-500" do %>
|
332
|
+
<span class="sr-only">X</span>
|
333
|
+
<%= icon "x", custom_path: "/social/x.svg", class: "size-5", variant: :solid %>
|
334
|
+
<% end %>
|
335
|
+
|
336
|
+
<%= link_to "#", class: "text-neutral-500 hover:text-neutral-500" do %>
|
337
|
+
<span class="sr-only">LinkedIn</span>
|
338
|
+
<%= icon "linkedin", custom_path: "/social/linkedin.svg", class: "size-5", variant: :solid %>
|
339
|
+
<% end %>
|
340
|
+
|
341
|
+
<%= link_to "#", class: "text-neutral-500 hover:text-neutral-500" do %>
|
342
|
+
<span class="sr-only">GitHub</span>
|
343
|
+
<%= icon "github", custom_path: "/social/github.svg", class: "size-5", variant: :solid %>
|
344
|
+
<% end %>
|
345
|
+
</div>
|
346
|
+
</div>
|
347
|
+
</div>
|
348
|
+
</div>
|
349
|
+
</div>
|
350
|
+
|
351
|
+
<!-- Back to blog -->
|
352
|
+
<div class="max-w-4xl mx-auto px-6 mb-16 flex items-center gap-6">
|
353
|
+
<%= link_to rui_blog_path, class: "inline-flex items-center font-medium text-neutral-600 hover:text-neutral-700 gap-2 dark:text-neutral-100 dark:hover:text-neutral-200 group" do %>
|
354
|
+
<%= icon "arrow-left", class: "size-4 stroke-current group-hover:-translate-x-1 duration-200 ease-in-out" %>
|
355
|
+
Back to all articles
|
356
|
+
<% end %>
|
357
|
+
<div class="h-px bg-linear-to-r from-neutral-200 dark:from-neutral-700 flex-1"></div>
|
358
|
+
</div>
|
359
|
+
|
360
|
+
<!-- Related Articles -->
|
361
|
+
<div class="py-16 bg-neutral-50 dark:bg-neutral-800">
|
362
|
+
<div class="px-4 mx-auto max-w-7xl sm:px-6 lg:px-8">
|
363
|
+
<div class="mb-12 text-center">
|
364
|
+
<h2 class="h2">Related Articles</h2>
|
365
|
+
<div class="prose prose-neutral dark:prose-invert my-4 mx-auto text-center">
|
366
|
+
<p>Continue reading about AI and technology</p>
|
367
|
+
</div>
|
368
|
+
</div>
|
369
|
+
|
370
|
+
<div class="grid gap-8 md:grid-cols-2 lg:grid-cols-3">
|
371
|
+
|
372
|
+
<%
|
373
|
+
articles = [
|
374
|
+
{
|
375
|
+
path: rui_blog_show_path,
|
376
|
+
image_name: "railsui/blog1.jpg",
|
377
|
+
category_name: "Technology",
|
378
|
+
category_path: rui_blog_category_path,
|
379
|
+
title: "Understanding Neural Networks: A Beginner's Guide",
|
380
|
+
excerpt: "Dive into the fundamentals of neural networks and learn how they power modern AI systems like Corgie AI.",
|
381
|
+
avatar_path: demo_avatar_url(variant: :women, id: 3),
|
382
|
+
author: "Sarah Wilson",
|
383
|
+
published_at: "May 12, 2025",
|
384
|
+
total_minutes: "7"
|
385
|
+
},
|
386
|
+
{
|
387
|
+
path: rui_blog_show_path,
|
388
|
+
image_name: "railsui/blog2.jpg",
|
389
|
+
category_name: "Tutorials",
|
390
|
+
category_path: rui_blog_category_path,
|
391
|
+
title: "Getting Started with Corgie AI",
|
392
|
+
excerpt: "Learn how to use Corgie AI for your business needs with our step-by-step guide.",
|
393
|
+
avatar_path: demo_avatar_url(variant: :men, id: 49),
|
394
|
+
author: "Alex Chen",
|
395
|
+
published_at: "May 11, 2025",
|
396
|
+
total_minutes: "5"
|
397
|
+
},
|
398
|
+
{
|
399
|
+
path: rui_blog_show_path,
|
400
|
+
image_name: "railsui/blog3.jpg",
|
401
|
+
category_name: "Tutorials",
|
402
|
+
category_path: rui_blog_category_path,
|
403
|
+
title: "Getting Started with Corgie AI",
|
404
|
+
excerpt: "Learn how to use Corgie AI for your business needs with our step-by-step guide.",
|
405
|
+
avatar_path: demo_avatar_url(variant: :men, id: 62),
|
406
|
+
author: "John Slamith",
|
407
|
+
published_at: "May 11, 2025",
|
408
|
+
total_minutes: "5"
|
409
|
+
}
|
410
|
+
]
|
411
|
+
%>
|
412
|
+
|
413
|
+
<% articles.each do |article| %>
|
414
|
+
<%= render "rui/shared/blog/article",
|
415
|
+
path: article[:path],
|
416
|
+
image_name: article[:image_name],
|
417
|
+
category_name: article[:category_name],
|
418
|
+
category_path: article[:category_path],
|
419
|
+
title: article[:title],
|
420
|
+
excerpt: article[:excerpt],
|
421
|
+
avatar_path: article[:avatar_path],
|
422
|
+
author: article[:author],
|
423
|
+
published_at: article[:published_at],
|
424
|
+
total_minutes: article[:total_minutes]
|
425
|
+
%>
|
426
|
+
<% end %>
|
427
|
+
</div>
|
428
|
+
</div>
|
429
|
+
</div>
|
@@ -0,0 +1,68 @@
|
|
1
|
+
<div class="flex h-full" data-controller="sidebar">
|
2
|
+
|
3
|
+
<%= render "rui/shared/sidebar" %>
|
4
|
+
|
5
|
+
<div class="flex flex-col flex-1 min-w-0">
|
6
|
+
<header class="p-6 shrink-0 md:static sticky top-0">
|
7
|
+
<div class="flex items-center justify-between md:justify-end gap-6">
|
8
|
+
<aside class="md:hidden flex items-center justify-between gap-6 flex-1">
|
9
|
+
|
10
|
+
<%= link_to root_path, class: "block shrink-0" do %>
|
11
|
+
<%= icon "logo", custom_path: "/logo.svg", class: "size-6 shrink-0 fill-current dark:fill-neutral-100" %>
|
12
|
+
<% end %>
|
13
|
+
|
14
|
+
<div class="flex items-center gap-4">
|
15
|
+
<%= link_to rui_chat_new_path, class: "rounded-full size-8 focus:bg-neutral-200 flex items-center justify-center focus:ring-4 focus:ring-neutral-200/80 dark:focus:ring-neutral-700/90" do %>
|
16
|
+
<%= icon "pencil-square", class: "size-6 shrink-0" %>
|
17
|
+
<% end %>
|
18
|
+
|
19
|
+
<div data-controller="railsui-dropdown">
|
20
|
+
<button data-action="click->railsui-dropdown#toggle click@window->railsui-dropdown#hide" class="rounded-full size-8 focus:bg-neutral-200 flex items-center justify-center focus:ring-4 focus:ring-neutral-200/80
|
21
|
+
dark:focus:ring-neutral-700/90">
|
22
|
+
<%= icon "queue-list", class: "size-6 shrink-0" %>
|
23
|
+
</button>
|
24
|
+
|
25
|
+
<ul
|
26
|
+
class="hidden fixed inset-0 h-full w-full bg-neutral-100/80 backdrop-blur-lg z-10 pt-10 overflow-y-auto pb-32 dark:bg-neutral-900/90"
|
27
|
+
data-railsui-dropdown-target="menu"
|
28
|
+
data-transition-enter-active="transition ease-out duration-50"
|
29
|
+
data-transition-enter-from="transform opacity-0 scale-95"
|
30
|
+
data-transition-enter-to="transform opacity-100 scale-100"
|
31
|
+
data-transition-leave-active="transition ease-in duration-100"
|
32
|
+
data-transition-leave-from="transform opacity-100 scale-100"
|
33
|
+
data-transition-leave-to="transform opacity-0 scale-95"
|
34
|
+
>
|
35
|
+
<button data-action="click->railsui-dropdown#toggle" class="absolute top-4 right-4 z-40">
|
36
|
+
<%= icon "x-mark", class: "size-8 stroke-current stroke-neutral-600 dark:stroke-neutral-400" %>
|
37
|
+
</button>
|
38
|
+
<div class="overflow-y-auto">
|
39
|
+
<%= render "rui/shared/chat/history" %>
|
40
|
+
</div>
|
41
|
+
</ul>
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
</aside>
|
45
|
+
<%= render "rui/shared/account_dropdown" %>
|
46
|
+
</div>
|
47
|
+
</header>
|
48
|
+
|
49
|
+
<div class="flex flex-col justify-center flex-1 min-h-0">
|
50
|
+
<div class="flex flex-col justify-center flex-1">
|
51
|
+
<div class="flex justify-center mb-10">
|
52
|
+
<%= link_to root_path, class: "flex items-center gap-3" do %>
|
53
|
+
<%= icon "logo", custom_path: "/railsui/logo.svg", class: "size-7", variant: :solid %>
|
54
|
+
<span class="text-3xl font-semibold text-neutral-900 dark:text-white">Corgie</span>
|
55
|
+
<% end %>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<%= render "rui/shared/chat/form", hints: true %>
|
59
|
+
</div>
|
60
|
+
|
61
|
+
<div class="flex items-center justify-center w-full px-6 py-6 text-center">
|
62
|
+
<%= render "rui/shared/chat/disclaimer" %>
|
63
|
+
</div>
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
</div>
|
67
|
+
|
68
|
+
<%= render "rui/shared/search" %>
|
data/lib/generators/railsui/install/templates/themes/corgie/views/rui/pages/chat_show.html.erb
ADDED
@@ -0,0 +1,152 @@
|
|
1
|
+
<div class="flex h-full overflow-hidden" data-controller="sidebar">
|
2
|
+
|
3
|
+
<%= render "rui/shared/sidebar" %>
|
4
|
+
|
5
|
+
<div class="flex flex-col flex-1 min-w-0 overflow-auto">
|
6
|
+
|
7
|
+
<%= render "rui/shared/chat/header" %>
|
8
|
+
|
9
|
+
<div class="relative min-h-0 mt-4">
|
10
|
+
<div class="relative w-full max-w-2xl mx-auto space-y-6 md:px-0 px-6 md:pb-16 pb-32">
|
11
|
+
<div class="relative flex-1 pb-24 space-y-8">
|
12
|
+
<%= render "rui/shared/chat/message", user: true do %>
|
13
|
+
<p>Give me a basic tutorial on ruby on rails</p>
|
14
|
+
<% end %>
|
15
|
+
|
16
|
+
<%= render "rui/shared/chat/message" do %>
|
17
|
+
|
18
|
+
<%# FYI: I'd highly recommend using something Ruby-driven for markdown processing, like Redcarpet or Kramdown instead of a JS solution but it's important to note that these libraries require additional setup and configuration for either case. What you see here get's you started. %>
|
19
|
+
|
20
|
+
Here's a concise tutorial on getting started with [Ruby on Rails](https://rubyonrails.org), a popular web
|
21
|
+
development framework built on the Ruby programming language. This guide assumes you have basic knowledge of
|
22
|
+
programming and focuses on setting up a simple Rails application.
|
23
|
+
|
24
|
+
------
|
25
|
+
|
26
|
+
### Ruby on Rails Tutorial: Building a Simple Blog
|
27
|
+
|
28
|
+
## 1. Prerequisites
|
29
|
+
|
30
|
+
Before starting, ensure you have the following installed:
|
31
|
+
|
32
|
+
- **Ruby** (version 3.0 or later): Check with `ruby -v`.
|
33
|
+
- **Rails** (version 7.0 or later): Check with `rails -v`.
|
34
|
+
- **SQLite3**: Rails uses SQLite by default for development.
|
35
|
+
- **Node.js** and **Yarn**: For JavaScript and asset management.
|
36
|
+
Install Ruby and Rails if you haven't already:
|
37
|
+
|
38
|
+
```bash
|
39
|
+
# Install Ruby (use a version manager like rbenv or rvm)
|
40
|
+
$ gem install rails
|
41
|
+
```
|
42
|
+
|
43
|
+
Verify installation:
|
44
|
+
|
45
|
+
```bash
|
46
|
+
rails -v
|
47
|
+
# Should output something like: Rails 7.x.x
|
48
|
+
```
|
49
|
+
|
50
|
+
---
|
51
|
+
|
52
|
+
## 2. Create a New Rails Application
|
53
|
+
|
54
|
+
Run the following command to create a new Rails app called `blog`:
|
55
|
+
|
56
|
+
```bash
|
57
|
+
rails new blog
|
58
|
+
cd blog
|
59
|
+
```
|
60
|
+
|
61
|
+
This generates a directory called `blog` with all necessary files for a Rails app.
|
62
|
+
|
63
|
+
---
|
64
|
+
|
65
|
+
## 3. Start the Rails Server
|
66
|
+
|
67
|
+
Start the development server to confirm everything is set up:
|
68
|
+
|
69
|
+
```bash
|
70
|
+
rails server
|
71
|
+
# or
|
72
|
+
rails s
|
73
|
+
```
|
74
|
+
|
75
|
+
Open your browser and go to `http://localhost:3000`. You should see the Rails welcome page.
|
76
|
+
|
77
|
+
---
|
78
|
+
|
79
|
+
## 4. Create a Model, Controller, and Routes
|
80
|
+
|
81
|
+
Let’s create a simple blog with posts that have a `title` and `body`.
|
82
|
+
|
83
|
+
### Generate a Model
|
84
|
+
|
85
|
+
Run the following command to create a `Post` model with `title` (string) and `body` (text):
|
86
|
+
|
87
|
+
```bash
|
88
|
+
rails generate model Post title:string body:text
|
89
|
+
```
|
90
|
+
|
91
|
+
This creates:
|
92
|
+
|
93
|
+
- A `Post` model in `app/models/post.rb`.
|
94
|
+
- A migration file in `db/migrate/` to create the `posts` table.
|
95
|
+
|
96
|
+
Run the migration to create the table in the database:
|
97
|
+
|
98
|
+
```bash
|
99
|
+
rails db:migrate
|
100
|
+
```
|
101
|
+
|
102
|
+
### Generate a Controller
|
103
|
+
|
104
|
+
Create a controller to handle requests for posts:
|
105
|
+
|
106
|
+
```bash
|
107
|
+
rails generate controller Posts index show new create edit update destroy
|
108
|
+
```
|
109
|
+
|
110
|
+
This creates a `PostsController` in `app/controllers/posts_controller.rb` with actions for CRUD (Create, Read,
|
111
|
+
Update, Delete) operations.
|
112
|
+
|
113
|
+
### Set Up Routes
|
114
|
+
|
115
|
+
Edit `config/routes.rb` to define routes for the `Posts` resource:
|
116
|
+
|
117
|
+
```ruby
|
118
|
+
Rails.application.routes.draw do
|
119
|
+
resources :posts
|
120
|
+
root 'posts#index'
|
121
|
+
end
|
122
|
+
```
|
123
|
+
|
124
|
+
The `resources :posts` line creates RESTful routes for posts (e.g., `/posts`, `/posts/new`, `/posts/:id`). The
|
125
|
+
`root` line sets the homepage to the `index` action.
|
126
|
+
<% end %>
|
127
|
+
|
128
|
+
<%= render "rui/shared/chat/message", user: true do %>
|
129
|
+
<p>How do I approach front end more easily?</p>
|
130
|
+
<% end %>>
|
131
|
+
|
132
|
+
<%= render "rui/shared/chat/message" do %>
|
133
|
+
Front-end technologies like HTML, CSS, and JavaScript are essential for building the user interface of a web
|
134
|
+
application. To approach front-end development more easily, consider the following steps:
|
135
|
+
|
136
|
+
1. Use [Rails UI](https://github.com/heartcombo/rails_ui).
|
137
|
+
2. Build to market faster.
|
138
|
+
3. Profit 💰
|
139
|
+
<% end %>
|
140
|
+
</div>
|
141
|
+
<div class="sticky bottom-0 w-full pb-5">
|
142
|
+
<div class="relative z-50">
|
143
|
+
<%= render "rui/shared/chat/form", hints: false, menu_position: "up" %>
|
144
|
+
</div>
|
145
|
+
<!-- Cover content effect below chat input -->
|
146
|
+
<div class="absolute bottom-0 left-0 z-30 block w-full h-12 bg-neutral-50 dark:bg-neutral-900"></div>
|
147
|
+
</div>
|
148
|
+
</div>
|
149
|
+
</div>
|
150
|
+
</div>
|
151
|
+
|
152
|
+
<%= render "rui/shared/search" %>
|