diff --git a/app/controllers/map_controller.rb b/app/controllers/map_controller.rb
index cf4540c4..bffc5461 100644
--- a/app/controllers/map_controller.rb
+++ b/app/controllers/map_controller.rb
@@ -2,6 +2,7 @@
class MapController < ApplicationController
before_action :authenticate_user!
+ layout 'map', only: :index
def index
@points = filtered_points
diff --git a/app/views/layouts/map.html.erb b/app/views/layouts/map.html.erb
new file mode 100644
index 00000000..c8fd7714
--- /dev/null
+++ b/app/views/layouts/map.html.erb
@@ -0,0 +1,49 @@
+
+
+
+ <%= full_title(yield(:title)) %>
+
+ <%= action_cable_meta_tag %>
+ <%= csrf_meta_tags %>
+ <%= csp_meta_tag %>
+
+
+
+
+ <%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
+ <%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
+ <%= javascript_importmap_tags %>
+ <%= javascript_include_tag "https://unpkg.com/protomaps-leaflet@5.0.0/dist/protomaps-leaflet.js" %>
+
+ <%= render 'application/favicon' %>
+ <%= Sentry.get_trace_propagation_meta.html_safe if Sentry.initialized? %>
+ <% if !DawarichSettings.self_hosted? %>
+
+ <% end %>
+
+
+
+
+
+
+ <%= render 'shared/navbar' %>
+
+
+
+
+
+
+ <%= render 'shared/flash' %>
+
+
+
+
+
+
+
+ <%= yield %>
+
+
+ <%= render 'map/onboarding_modal' %>
+
+
diff --git a/app/views/map/index.html.erb b/app/views/map/index.html.erb
index 3bd5fd5f..85686409 100644
--- a/app/views/map/index.html.erb
+++ b/app/views/map/index.html.erb
@@ -1,8 +1,8 @@
<% content_for :title, 'Map' %>
-
+
-
+
<%= form_with url: map_path(import_id: params[:import_id]), method: :get do |f| %>