<%=
react_component 'Squad',
- component_class: 'xl:col-span-7',
+ component_class: 'xl:col-span-7 p-4 bg-white border border-stone-300 rounded',
seasonUuid: @season.uuid,
sportKind: @season.league.sport_kind,
lineupUuid: @lineup.uuid,
diff --git a/app/views/controllers/fantasy_teams/status/index.html.erb b/app/views/controllers/fantasy_teams/status/index.html.erb
index affe4381..21a5946d 100644
--- a/app/views/controllers/fantasy_teams/status/index.html.erb
+++ b/app/views/controllers/fantasy_teams/status/index.html.erb
@@ -4,6 +4,8 @@
<%= react_component 'BestPlayers', weekUuid: @week.uuid, seasonUuid: @season.uuid, sportKind: @season.league.sport_kind %>
<%= react_component 'TransfersStatus', weekUuid: @week.uuid, seasonUuid: @season.uuid, sportKind: @season.league.sport_kind %>
<% else %>
-
<%= t('views.fantasy_teams.points.index.no_lineups') %>
+
+
<%= t('views.fantasy_teams.points.index.no_lineups') %>
+
<% end %>
<% end %>
diff --git a/app/views/controllers/profile/achievements/index.html.erb b/app/views/controllers/profile/achievements/index.html.erb
index be0d7e63..9f8bf0a7 100644
--- a/app/views/controllers/profile/achievements/index.html.erb
+++ b/app/views/controllers/profile/achievements/index.html.erb
@@ -1,4 +1,6 @@
<%= render PageWrappers::PageComponent.new do %>
-
<%= t('views.profile.achievements.index.title') %>
- <%= react_component 'Achievements' %>
+
+
<%= t('views.profile.achievements.index.title') %>
+ <%= react_component 'Achievements' %>
+
<% end %>
diff --git a/app/views/controllers/profiles/show.html.erb b/app/views/controllers/profiles/show.html.erb
index 666526f3..0e04551e 100644
--- a/app/views/controllers/profiles/show.html.erb
+++ b/app/views/controllers/profiles/show.html.erb
@@ -1,40 +1,42 @@
<%= render PageWrappers::PageComponent.new do %>
-
<%= t('views.profiles.show.title') %>
-
-
<%= t('views.profiles.show.email_title') %>
-
<%= Current.user.email %>
-
-
-
<%= t('views.profiles.show.identities_title') %>
- <% @identities.each do |identity| %>
-
-
- <%= identity[:provider].capitalize %> <%= t('views.profiles.show.identity_created') %> <%= identity[:created_at].strftime('%d.%m.%Y %H:%M') %> UTC
-
- <%= button_to 'X', identity_path(identity[:id]), class: 'btn-primary btn-small', method: :delete %>
-
- <% end %>
- <% if @need_identities.present? %>
-
- <% @need_identities.each do |provider| %>
- <% if provider == 'telegram' %>
-
+
+
<%= t('views.profiles.show.title') %>
+
+
<%= t('views.profiles.show.email_title') %>
+
<%= Current.user.email %>
+
+
+
<%= t('views.profiles.show.identities_title') %>
+ <% @identities.each do |identity| %>
+
+
+ <%= identity[:provider].capitalize %> <%= t('views.profiles.show.identity_created') %> <%= identity[:created_at].strftime('%d.%m.%Y %H:%M') %> UTC
+
+ <%= button_to 'X', identity_path(identity[:id]), class: 'btn-primary btn-small', method: :delete %>
+
+ <% end %>
+ <% if @need_identities.present? %>
+
+ <% @need_identities.each do |provider| %>
+ <% if provider == 'telegram' %>
+
+ <% end %>
<% end %>
- <% end %>
-
- <% end %>
-
-
-
<%= t('views.profiles.show.notifications_title') %>
- <%= react_component 'Notifications', notifications: @notifications, identities: @identities %>
+
+ <% end %>
+
+
+
<%= t('views.profiles.show.notifications_title') %>
+ <%= react_component 'Notifications', notifications: @notifications, identities: @identities %>
+
<% end %>
diff --git a/app/views/controllers/rules/index.html.erb b/app/views/controllers/rules/index.html.erb
index 86e9d595..cc021070 100644
--- a/app/views/controllers/rules/index.html.erb
+++ b/app/views/controllers/rules/index.html.erb
@@ -1,66 +1,68 @@
<%= render PageWrappers::PageComponent.new do %>
-
<%= t('views.rules.index.title') %>
-
-
-
<%= t('views.rules.index.basketball') %>
-
- <%=
- react_component 'Toggle',
- header: t('views.rules.index.squad'),
- children: render(
- partial: 'select_squad',
- locals: {
- sport: Sport.find_by(title: 'basketball'),
- positions: Sports::Position.where(sport: 'basketball').to_a
- }
- ).html_safe
- %>
- <%=
- react_component 'Toggle',
- header: t('views.rules.index.managing'),
- children: render(partial: 'managing_basketball').html_safe
- %>
- <%=
- react_component 'Toggle',
- header: t('views.rules.index.transfers'),
- children: render(partial: 'transfers').html_safe
- %>
- <%=
- react_component 'Toggle',
- header: t('views.rules.index.points'),
- children: render(partial: 'points_basketball').html_safe
- %>
+
+
<%= t('views.rules.index.title') %>
+
+
+
<%= t('views.rules.index.basketball') %>
+
+ <%=
+ react_component 'Toggle',
+ header: t('views.rules.index.squad'),
+ children: render(
+ partial: 'select_squad',
+ locals: {
+ sport: Sport.find_by(title: 'basketball'),
+ positions: Sports::Position.where(sport: 'basketball').to_a
+ }
+ ).html_safe
+ %>
+ <%=
+ react_component 'Toggle',
+ header: t('views.rules.index.managing'),
+ children: render(partial: 'managing_basketball').html_safe
+ %>
+ <%=
+ react_component 'Toggle',
+ header: t('views.rules.index.transfers'),
+ children: render(partial: 'transfers').html_safe
+ %>
+ <%=
+ react_component 'Toggle',
+ header: t('views.rules.index.points'),
+ children: render(partial: 'points_basketball').html_safe
+ %>
+
-
-
-
<%= t('views.rules.index.football') %>
-
- <%=
- react_component 'Toggle',
- header: t('views.rules.index.squad'),
- children: render(
- partial: 'select_squad',
- locals: {
- sport: Sport.find_by(title: 'football'),
- positions: Sports::Position.where(sport: 'football').to_a
- }
- ).html_safe
- %>
- <%=
- react_component 'Toggle',
- header: t('views.rules.index.managing'),
- children: render(partial: 'managing_football').html_safe
- %>
- <%=
- react_component 'Toggle',
- header: t('views.rules.index.transfers'),
- children: render(partial: 'transfers').html_safe
- %>
- <%=
- react_component 'Toggle',
- header: t('views.rules.index.points'),
- children: render(partial: 'points_football').html_safe
- %>
+
+
<%= t('views.rules.index.football') %>
+
+ <%=
+ react_component 'Toggle',
+ header: t('views.rules.index.squad'),
+ children: render(
+ partial: 'select_squad',
+ locals: {
+ sport: Sport.find_by(title: 'football'),
+ positions: Sports::Position.where(sport: 'football').to_a
+ }
+ ).html_safe
+ %>
+ <%=
+ react_component 'Toggle',
+ header: t('views.rules.index.managing'),
+ children: render(partial: 'managing_football').html_safe
+ %>
+ <%=
+ react_component 'Toggle',
+ header: t('views.rules.index.transfers'),
+ children: render(partial: 'transfers').html_safe
+ %>
+ <%=
+ react_component 'Toggle',
+ header: t('views.rules.index.points'),
+ children: render(partial: 'points_football').html_safe
+ %>
+
diff --git a/app/views/controllers/shared/_header.html.erb b/app/views/controllers/shared/_header.html.erb
deleted file mode 100644
index f7077b57..00000000
--- a/app/views/controllers/shared/_header.html.erb
+++ /dev/null
@@ -1,23 +0,0 @@
-
-
- <%= link_to root_path, class: 'text-2xl font-normal tracking-tighter' do %>
- fantasysports
- <% end %>
-
-
- <% I18n.available_locales.each do |locale| %>
- <%= link_to locale, change_locale(locale), aria: { label: t('components.page_wrappers.users_component.change_locale') } %>
- <% end %>
- <% if Current.user %>
- <%= link_to t('views.welcome.home'), home_path %>
- <%= link_to t('views.welcome.privacy'), privacy_path, data: { 'test-id' => 'logged-privacy-link' } %>
- <%= link_to t('components.page_wrappers.page_component.logout'), users_logout_path %>
- <% else %>
-
- <%= link_to t('views.welcome.privacy'), privacy_path, class: 'mr-4', data: { 'test-id' => 'guest-privacy-link' } %>
- <%= link_to t('components.page_wrappers.users_component.login'), users_login_path, class: 'mr-4' %>
- <%= link_to t('components.page_wrappers.users_component.sign_up'), users_sign_up_path %>
-
- <% end %>
-
-
diff --git a/app/views/controllers/users/confirmations/failed_complete.html.erb b/app/views/controllers/users/confirmations/failed_complete.html.erb
index d3e55608..661545df 100644
--- a/app/views/controllers/users/confirmations/failed_complete.html.erb
+++ b/app/views/controllers/users/confirmations/failed_complete.html.erb
@@ -1,6 +1,8 @@
<%= render PageWrappers::GuestComponent.new do %>
-
<%= t('views.users.confirmations.failed_complete.title') %>
-
<%= t('views.users.confirmations.failed_complete.description') %>
+
+
<%= t('views.users.confirmations.failed_complete.title') %>
+
<%= t('views.users.confirmations.failed_complete.description') %>
+
<% end %>
diff --git a/app/views/controllers/users/recovery/new.html.erb b/app/views/controllers/users/recovery/new.html.erb
index 5010840c..c1eb5a7e 100644
--- a/app/views/controllers/users/recovery/new.html.erb
+++ b/app/views/controllers/users/recovery/new.html.erb
@@ -1,6 +1,6 @@
<%= render PageWrappers::GuestComponent.new do %>
- <%= form_with model: @user, url: users_recovery_path(email: @user.email, restore_token: @user.restore_token), method: :post do |form| %>
+ <%= form_with model: @user, url: users_recovery_path(email: @user.email, restore_token: @user.restore_token), method: :post, class: 'p-4 bg-white rounded border border-stone-300' do |form| %>
<%= t('views.users.recovery.new.title') %>