sample_rails_tailwind/app/controllers/static_pages_controller.rb
songtianlun cafe820a64 feat: add tailwindcss integration and demo page
- Add tailwindcss-rails gem to Gemfile
- Create application.tailwind.css for Tailwind styles
- Update Procfile.dev for Tailwind CSS watch command
- Add demo action and view for showcasing features
- Update application layout to use Tailwind CSS classes
- Refactor footer and header for improved styling

This commit introduces Tailwind CSS for styling the application, enhancing the UI with utility-first CSS. A new demo page is also added to showcase the application features.
2025-01-16 18:17:08 +08:00

17 lines
149 B
Ruby

class StaticPagesController < ApplicationController
def home
end
def help
end
def about
end
def contact
end
def demo
end
end