diff --git a/app/controllers/admin/dashboards_controller.rb b/app/controllers/admin/dashboards_controller.rb
new file mode 100644
index 0000000..f00b4a7
--- /dev/null
+++ b/app/controllers/admin/dashboards_controller.rb
@@ -0,0 +1,4 @@
+class Admin::DashboardsController < Admin::ApplicationController
+ def show
+ end
+end
diff --git a/app/views/admin/allocation_categories/index.html.erb b/app/views/admin/allocation_categories/index.html.erb
index f1ed715..3c90e08 100644
--- a/app/views/admin/allocation_categories/index.html.erb
+++ b/app/views/admin/allocation_categories/index.html.erb
@@ -12,8 +12,6 @@
Allocation categories
- <%= link_to "← Dashboard", admin_scenarios_path,
- class: "rounded border border-line px-2.5 py-1.5 text-sm text-ink-soft hover:bg-surface-soft hover:text-ink" %>
<%= link_to "New category", new_admin_allocation_category_path,
data: { controller: "typed-link", action: "tabs:change@window->typed-link#update",
typed_link_base_path_value: new_admin_allocation_category_path,
diff --git a/app/views/admin/dashboards/show.html.erb b/app/views/admin/dashboards/show.html.erb
new file mode 100644
index 0000000..c8b636c
--- /dev/null
+++ b/app/views/admin/dashboards/show.html.erb
@@ -0,0 +1,24 @@
+<% content_for :title, "Dashboard" %>
+
+
+
+
+
+ <%= link_to admin_scenarios_path,
+ class: "block rounded-lg border border-line bg-surface p-5 hover:bg-surface-soft transition" do %>
+
Scenarios
+
View and manage scenarios across the organization.
+ <% end %>
+
+ <%= link_to admin_allocation_categories_path,
+ class: "block rounded-lg border border-line bg-surface p-5 hover:bg-surface-soft transition" do %>
+
Allocation categories
+
Manage the categories used in allocations.
+ <% end %>
+
+
diff --git a/app/views/admin/scenarios/index.html.erb b/app/views/admin/scenarios/index.html.erb
index 02fa66e..92b7394 100644
--- a/app/views/admin/scenarios/index.html.erb
+++ b/app/views/admin/scenarios/index.html.erb
@@ -7,8 +7,6 @@
Scenarios
- <%= link_to "Manage categories", admin_allocation_categories_path,
- class: "rounded border border-line px-2.5 py-1.5 text-sm text-ink-soft hover:bg-surface-soft hover:text-ink" %>
<%= form_with url: admin_scenarios_path, method: :get,
data: { controller: "debounced-form", action: "input->debounced-form#submit",
turbo_frame: "scenarios_table", turbo_action: "advance" } do |form| %>
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
index 56e3266..aafde84 100644
--- a/app/views/layouts/application.html.erb
+++ b/app/views/layouts/application.html.erb
@@ -43,7 +43,7 @@
<% if authenticated? %>
<%= link_to "Explore options", scenarios_path, class: "text-ink-soft hover:text-ink" %>
<% if Current.user&.admin_of?(Current.organization) %>
- <%= link_to "Admin Dashboard", admin_scenarios_path, class: "text-ink-soft hover:text-ink" %>
+ <%= link_to "Admin Dashboard", admin_dashboard_path, class: "text-ink-soft hover:text-ink" %>
<%= link_to "Members", organization_memberships_path, class: "text-ink-soft hover:text-ink" %>
<% end %>
<%= link_to "Profile", users_profile_path, class: "text-ink-soft hover:text-ink" %>
diff --git a/config/routes.rb b/config/routes.rb
index 489caee..88fc795 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -26,6 +26,7 @@
end
namespace :admin do
+ resource :dashboard, only: :show
resources :scenarios, only: :index
resources :allocation_categories, only: %i[ index new create edit update destroy ]
end