diff --git a/Gemfile b/Gemfile index 838435450..57be3a38b 100644 --- a/Gemfile +++ b/Gemfile @@ -31,6 +31,7 @@ gem 'device_detector' gem 'devise' gem 'devise-i18n' gem 'down' +gem 'dsfr-view-components', '~> 2.0' gem 'ffaker' gem 'geocoder' gem 'google-api-client', '~> 0.53' diff --git a/Gemfile.lock b/Gemfile.lock index 2359802f3..9c3d98f7e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -202,6 +202,10 @@ GEM down (5.4.2) addressable (~> 2.8) drb (2.2.1) + dsfr-view-components (2.0.1) + html-attributes-utils (~> 1) + pagy (~> 6) + view_component (~> 3) erubi (1.13.0) et-orbi (1.2.11) tzinfo @@ -311,6 +315,8 @@ GEM activesupport (>= 5.2) hashdiff (1.1.2) hashery (2.1.2) + html-attributes-utils (1.0.2) + activesupport (>= 6.1.4.4) http-accept (1.7.0) http-cookie (1.0.8) domain_name (~> 0.5) @@ -420,6 +426,7 @@ GEM orm_adapter (0.5.0) os (1.1.4) ostruct (0.6.1) + pagy (6.5.0) parallel (1.26.3) paranoia (3.0.0) activerecord (>= 6, < 8.1) @@ -719,6 +726,7 @@ DEPENDENCIES devise devise-i18n down + dsfr-view-components (~> 2.0) factory_bot_rails ffaker foreman diff --git a/config/application.rb b/config/application.rb index 2e63cabe2..9fa6428cb 100644 --- a/config/application.rb +++ b/config/application.rb @@ -15,6 +15,7 @@ require "rails/test_unit/railtie" require 'view_component' require 'view_component/storybook' +require 'dsfr/components' require './lib/custom_exceptions_app_wrapper' # Require the gems listed in Gemfile, including any gems